Professional Documents
Culture Documents
1linux Command Basic
1linux Command Basic
[ak@localhost ~]$
ak=username
localhost=hostname /PCname
~ = user hime directory
$ = user level
expr == Calculator
===================================================================
File /Folder Directory command
===================
cd == Change Directory
#cd /root
#cd .. (one back directory)
#cd ~
#mkdir foldername
Run Level
=======
init 0 == Shutdown linux machine
init 6 == Reboot linux machine
#vi filename
Press I = Insert Key
You can type any key....
Press Esc Key
:q == Quit without Saveing
:q! == Force Quit without Saving
:wq == Save and Exit
:wq! == Force Save and Exit
#nano filename
cat == Display contents of file with single page
#cat filename