RedHat Linux for Beginners

About RedHat

Red Hat Linux, assembled by the company Red Hat, was a popular Linux based operating system until its discontinuation in 2004. Red Hat first published the software on November 3, 1994. It was the first Linux distribution to use the RPM Package Manager as its packaging format and over time has served as the starting point for several other distributions.

Commands

Files & Directories Create
[root@localhost root] #vi /home/myfile
[root@localhost root] #touch /home/myfile

[root@localhost root] #mkdir myfolder

Copy & Move Directories
[root@localhost root] #cp /home/file_name /root/file_name

Remove files
[root@localhost root] #rm -r -f /home/file_name

Clear The Terminal Screen
[root@localhost root] #clear

Show Files & Directories List
[root@localhost root] #ls
[root@localhost root] #ls -la

Show History
[root@localhost root] #history

To See Linux Drive Partition Situation
[root@localhost root] #df –h

To See Whole Hard Drive Partition Situation
[root@localhost root] #fdisk –l

System Shutdown & Reboot Machine
[root@localhost root] #shutdown –h 5
[root@localhost root] #shutdown now

[root@localhost root] #shutdown –r 5
[root@localhost root] #shutdown –r now

Create User & Give Password
[root@localhost root]] #useradd user_name
[root@localhost root] #passwd user_name
New passwd: ******
Retype passwd: ******


Remove User
[root@localhost root] #userdel user_name

Change Mode (Graphic & Text)
For Graphic Mode Press - ctrl+alt+f2
For Text Mode Press - ctrl+alt+f6


For more commands....... wait for next version..