I/O & Perintah Dasar Linux Onno W. Purbo [email protected].
-
Upload
adrian-channer -
Category
Documents
-
view
222 -
download
2
Transcript of I/O & Perintah Dasar Linux Onno W. Purbo [email protected].
I/O & Perintah Dasar Linux
Onno W. [email protected]
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>