Command-Command Basic For Linux

Jumat, 23 Desember 2011

Linux Operating Systems are increasingly used by many people because it is open source.
But the operating system can not be separated from the name of the command and the console.
Here are the basic Linux command-command that needs to be studied so that we can use Linux as well.


paint
 
Example: $ cat filename
Function: Displays the contents of a file on the screen.

CD
Function: Used to move the directory as cd in windows functionality.

chmod
Examples: $ chmod 777 filename / directory name
Function: Used to add and subtract permit users to access files or directories.



chown
Function: Used to change the owner of a file or directory.

cp
Example: $ cp <namafile1> <namafile2>
To copy a file or copy. For example to copy file1 to file2.

find
Example: $ find. -name *. doc-print
Function: To find the location of a file.

grep
Example: $ grep <teks> <file>
Function: Used to search for files containing text with the criteria that you specify


gzip
Example: $ gzip <namafile>
Function: Used to compress a file

kill
Example: $ kill <sinyal> <pid>
Function: Used to stop the running processes.

ls
Function: Used to display the contents of a directory as the dir command in windows.

lsmod
Function: Used to look at existing modules

rmmod
Function: Used to remove the existing modules

mkdir
Example: $ mkdir <data>
Function: Used to Create a new directory such as md command in DOS.

mv
Function: Used to move files from one location to another.

pwd
Function: Used to display the name of the directory where your if it is currently located.


passwd
Function: Used to change the root password.

ps aux
Function: Used to view the processes currently running.

rm
Function: Used to delete a file, but by default rm command does not remove the directory.

rmdir
Function: Used to delete an empty directory.

rpm
Function: Used to install the rpm file

su
Function: Used to temporarily login as another user.

start
Function: A command to run the service.

stop
Function: A command to stop the service.

shutdown
Function: A command to shut down the system.

tar
Example: $ tar <aksi> <option> <file or direktori>
Function: Save and extract files from media such as tape drives or hard disk.

unzip
Example: $ unzip <namafile>
Function: Used to extract or decipher the files compressed with zip.

WHO
Function: Used to display anyone being logged.
 

0 komentar:

 
© Copyright 2010-2011 materials informatics All Rights Reserved.
Template Design by Moch Ramdhan | Published by Ramdhan Templates | Powered by Blogger.com.