Perintah | Keterangan | Contoh |
cat nama_file | Menampilkan isi file | cat readme.txt |
cd directory | Masuk ke direktory | cd home, cd /usr, cd pictures |
chmod mode files | Merubah access permission | chmod 777 readme.txt |
cp | Menyalin file | cp readme.txt /home/joko/ |
ls | Menampilkan isi folder | ls /home/heru |
df | Menampilkan penggunaan hardisk | df |
file filename | Menampilkan jenis file | file readme.txt |
info | Dokumentasi perintah | info cp |
pwd | Menampilkan direktori aktif | pwd |
rm | Menghapus file dan direktori | rm readme.txt, rm -r tes |
mkdir | Membuat direktori | mkdir tes |
rmdir | Menghapus direktori | rmdir tes |
wc | Menghitung baris, kata dan karakter | wc readme.txt |
which | Menunjukkan path suatu command | which cp, which mkdir |
Thursday, January 21, 2010
Contoh Shell Command
Label:
Linux
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment