If you don't write it down somewhere...

Saturday, September 22, 2007

Commands available for CentOS

Here is a list of commands for CentOS:

pup - pup runs the package updater for CentOS

yum - yum is the package installer.

    Usage:  yum [options]            clean | provides | search | check-update | groupinstall | groupupdate |
grouplist >

Options:
-c [config file] - specify the config file to use
-e [error level] - set the error logging level
-d [debug level] - set the debugging level
-y answer yes to all questions
-t be tolerant about errors in package commands
-R [time in minutes] - set the max amount of time to randomly run in.
-C run from cache only - do not update the cache
--installroot=[path] - set the install root (default '/')
--version - output the version of yum
-h, --help this screen
Examples:
Updating all your installed packages from repositories:
yum update

Installing packages:
yum

Packages you should always install

bzip2 - a freely available, patent free (see below), high-quality data compressor.

openssl - Library for encripting communications.

lynx - Text based browser for linux. Life saver.



RPM

/#rpm -ivh foo-1.0-2.i386.rpm


Running vmware tools:
/usr/bin/vmware-toolbox

Adding a user:

/usr/sbin/useradd luisgomes