6 Cent OS commands you wont regret to learn


uname -p

your processor architecture, you can determine it by entering the command “uname -p” in a terminal, You should see  something like this:

i386, x86_64

cat /etc/issue

To find out your CentOS version just run, you should see something like this:
CentOS release 5.6 (Final)
Kernel \r on an \m

tac myfile.txt
To print a file in reverse order, Just a reverse of cat command.

wall hello everyone
Allows root or other users allowed to issue commands as root to send a message to everyones terminal.

head myfile.txt
To output the first part of files to the terminal, just a reverse of tail command.

source ~/.bash_profile
Reloads bash_profile / profile without starting a new shell session.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s