Tips: Learning Basic Linux Commands | Command Line - The commands in the Linux operating system is case sensitive , use this command to distinguish between uppercase (capital ) and lowercase letters . This means writing the command ' ls ' with ' LS ' or ' ls ' or ' ls ' will be interpreted as a different command .

In the Unix operating system under a lot of combinations of commands that can be combined in a single command in a command means may consist of a few basic commands. If we trouble or confusion because many combinations of commands , options , or syntax is used , we can see his howto , readme , or in its manual page . For example, if we want to know what are the syntax - syntax that can be used in the command ' ls ' , we simply typing ' man ls ' or ' ls -help ' then it will be shown all the information about the command ' ls ' from the option - optionnya , syntax writing . The following are some of the commands in the Unix operating system , especially under Linux and compare it with the existing command in DOS ( Disk Operating System ) .
1 . The man <command> or <command> -help
function : to look at the manual pages of a command ( help)
man ls : see the manual page for the ls command
DOS : <command> / ? or help <command>
dir / ?
2 . ls <option>
function : to see the contents of a directory, for example :
ls - l : to see the files or directories within the current directory to include attributes
ls - la / etc : to see the files or directories in the / etc directory and its file hiddennya
DOS : dir
dir \ windows : to view the file or directory in the windows directory
Note: the operating system under Unix uses ' / ' to separate the parent directory to child directory , while in DOS using a ' \ '
3 . cd <option> <directory>
function : to change directory ( change directory ) , for example:
cd / home / amikom : to change directory to / home / amikom
cd .. : move to parent directory for from the active directory ( parent directory ) .
DOS : cd
The syntax is almost the same
Note: use ' cd ' without the directory name will go to the home directory , whereas the use of ' cd ' will go to the previous Active Directory .
4 . mkdir <nama_direktori>
function : to create a new directory
mkdir amikom : to create a new directory with the name of the current directory amikom
DOS : md <nama_direktori>
The syntax is almost the same
Note: the use of spaces in the directory name will be assumed to be some of the new directory name .
5 . rmdir <nama_direktori>
function : to remove an empty directory
rmdir amikom : to delete a directory with the name amikom
DOS : rd <nama_direktori>
The syntax is almost the same
Note: to delete the directory in question must be completely empty
6 . cp <target> <tujuan>
function : to copy a file or directory
so_ti cp / home : so_ti copy the files to the directory / home
try cp / home / copies : if the home directory does not exist copy the directory , then try the file to be copied in the home directory as well be renamed with the name of copies
DOS : copy
The syntax is almost the same
7 . mv <target> <tujuan>
function : to move a file or directory and rename his or
mv / home / so / etc : move a file or directory so didirektori / home to the / etc directory with the name so
mv amice STMIK : change ( rename ) files amik be STIMIK the current directory
DOS : move
Note: the DOS to rename the file can use the ' rename' or ' ren '
8 . rm <file>
function : to delete the file
dataku rm : delete my data files in the current directory
DOS : del or erase
same syntax
9 . pwd
function : to determine the path the current directory ( print working directory )
DOS : - (none )
10 . paint <nama_file>
function : to see the contents of a file or create a file
paint amikom : a look at amikom
cat > Data : create a new file with the name of the data ( to end use ^ D ( Ctrl + D ) ) * see a combination of command
DOS : type or copy con
to create a new file with the same DOS 'copy con ' while the 'type' only to see the contents of the file
11 . the find <option>
function : to search for files / directories
find /-name data.txt - print : search for directories throughout the data.txt file and display it on the layer
DOS : -
Note: to find the file or directory on a specific directory eg / home after ' find ' followed by a directory name eg ' find / home-name ... '
12 . pico or vi <nama_file> <nama_file>
functions : file editor / text editor .
pico amikom.txt : edit files amikom.txt
DOS : edit <nama_file>
Note: if the file name does not exist then it will be considered as a new file ( created as a file with that name .
13 . wHO or w
function : to see the current user
DOS : -
14 . <option> Ps * see management process
function to see what's going on / being executed by the system
DOS : -
15 . kill <signal> <pid>
function to stop or turn off the existing process
-9253 kill : to stop the process with the PID number 253
DOS : -
Note: for <signal> can use the signal numbers can also use the signal name
16. <nama_file> more
function : to see the contents of the file and see the output on the screen , when in one screen is not enough then it will be displayed in one screen
dos : more
ket : more when combined with other commands using the pipeline command output is displayed one screen at first when the output does not fill the screen ) * look at the combination of commands .
17. clear
function : to clean the screen of the display text
DOS : cls
18. reboot or CTRL + ALT + DEL
function : to re- boot the computer ( restart )
DOS : -
19. halt or shutdown or init 0 <option>
function : to turn off or shutdown the computer
DOS : -
Note: for the command prompt on Windows XP can use the shutdown
Command Line

In the Unix operating system under a lot of combinations of commands that can be combined in a single command in a command means may consist of a few basic commands. If we trouble or confusion because many combinations of commands , options , or syntax is used , we can see his howto , readme , or in its manual page . For example, if we want to know what are the syntax - syntax that can be used in the command ' ls ' , we simply typing ' man ls ' or ' ls -help ' then it will be shown all the information about the command ' ls ' from the option - optionnya , syntax writing . The following are some of the commands in the Unix operating system , especially under Linux and compare it with the existing command in DOS ( Disk Operating System ) .
1 . The man <command> or <command> -help
function : to look at the manual pages of a command ( help)
man ls : see the manual page for the ls command
DOS : <command> / ? or help <command>
dir / ?
2 . ls <option>
function : to see the contents of a directory, for example :
ls - l : to see the files or directories within the current directory to include attributes
ls - la / etc : to see the files or directories in the / etc directory and its file hiddennya
DOS : dir
dir \ windows : to view the file or directory in the windows directory
Note: the operating system under Unix uses ' / ' to separate the parent directory to child directory , while in DOS using a ' \ '
3 . cd <option> <directory>
function : to change directory ( change directory ) , for example:
cd / home / amikom : to change directory to / home / amikom
cd .. : move to parent directory for from the active directory ( parent directory ) .
DOS : cd
The syntax is almost the same
Note: use ' cd ' without the directory name will go to the home directory , whereas the use of ' cd ' will go to the previous Active Directory .
4 . mkdir <nama_direktori>
function : to create a new directory
mkdir amikom : to create a new directory with the name of the current directory amikom
DOS : md <nama_direktori>
The syntax is almost the same
Note: the use of spaces in the directory name will be assumed to be some of the new directory name .
5 . rmdir <nama_direktori>
function : to remove an empty directory
rmdir amikom : to delete a directory with the name amikom
DOS : rd <nama_direktori>
The syntax is almost the same
Note: to delete the directory in question must be completely empty
6 . cp <target> <tujuan>
function : to copy a file or directory
so_ti cp / home : so_ti copy the files to the directory / home
try cp / home / copies : if the home directory does not exist copy the directory , then try the file to be copied in the home directory as well be renamed with the name of copies
DOS : copy
The syntax is almost the same
7 . mv <target> <tujuan>
function : to move a file or directory and rename his or
mv / home / so / etc : move a file or directory so didirektori / home to the / etc directory with the name so
mv amice STMIK : change ( rename ) files amik be STIMIK the current directory
DOS : move
Note: the DOS to rename the file can use the ' rename' or ' ren '
8 . rm <file>
function : to delete the file
dataku rm : delete my data files in the current directory
DOS : del or erase
same syntax
9 . pwd
function : to determine the path the current directory ( print working directory )
DOS : - (none )
10 . paint <nama_file>
function : to see the contents of a file or create a file
paint amikom : a look at amikom
cat > Data : create a new file with the name of the data ( to end use ^ D ( Ctrl + D ) ) * see a combination of command
DOS : type or copy con
to create a new file with the same DOS 'copy con ' while the 'type' only to see the contents of the file
11 . the find <option>
function : to search for files / directories
find /-name data.txt - print : search for directories throughout the data.txt file and display it on the layer
DOS : -
Note: to find the file or directory on a specific directory eg / home after ' find ' followed by a directory name eg ' find / home-name ... '
12 . pico or vi <nama_file> <nama_file>
functions : file editor / text editor .
pico amikom.txt : edit files amikom.txt
DOS : edit <nama_file>
Note: if the file name does not exist then it will be considered as a new file ( created as a file with that name .
13 . wHO or w
function : to see the current user
DOS : -
14 . <option> Ps * see management process
function to see what's going on / being executed by the system
DOS : -
15 . kill <signal> <pid>
function to stop or turn off the existing process
-9253 kill : to stop the process with the PID number 253
DOS : -
Note: for <signal> can use the signal numbers can also use the signal name
16. <nama_file> more
function : to see the contents of the file and see the output on the screen , when in one screen is not enough then it will be displayed in one screen
dos : more
ket : more when combined with other commands using the pipeline command output is displayed one screen at first when the output does not fill the screen ) * look at the combination of commands .
17. clear
function : to clean the screen of the display text
DOS : cls
18. reboot or CTRL + ALT + DEL
function : to re- boot the computer ( restart )
DOS : -
19. halt or shutdown or init 0 <option>
function : to turn off or shutdown the computer
DOS : -
Note: for the command prompt on Windows XP can use the shutdown
Command Line