i/o & perintah dasar linux onno w. purbo onno@indo.net.id

Post on 31-Mar-2015

232 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

I/O & Perintah Dasar Linux

Onno W. PurboOnno@indo.net.id

I/O & Perintah Dasar

Redirection Output Redirection Input Redirection

Output Redirection > >>

Input Redirection < <<

Pipeline |

Shell Bourne shell (sh) C shell (csh) Korn shell (ksh) Bourne Again shell (bash)

cat $ cat <nama_file> $ cat file1 file2 > file4

clear $ clear

cp $ cp [option] file /dir/path $ cp --help

cut $ cut [option] file

find $ find /path [option]

grep $ grep [option] “data” file

ln $ ln –s /path/to/source target

locate $ locate <something>

ls $ ls [option] /directory

mkdir $ mkdir <namadir>

mv $ mv file1 file2

rm $ rm <namafile>

rmdir $ rmdir <namadirektori>

tail $ tail [option] <namafile>

mount $ mount [option] /dev/device /mnt/point

ps $ ps [option]

kill $ kill <nomor-proses>

adduser $ adduser <nama-user>

passwd $ passwd <nama-user>

userdel $ userdel [-r] <nama-user>

top related