Tugas Sistem Operasi II
LAPORAN RESMI
- Buatlah summary Percobaan 1 sampai dengan percobaan 15 dalam bentuk table seperti di bawah ini :
Perintah
|
Deskripsi
|
Format
|
id | Perintah yang dapat dilakukan untuk menampilkan user id dan group id real dan efektif. | $ id [OPTION] [USERNAME ]$ id -a $ id -z $ id -g $ id -G $ id -n $ id -r $ id -v $ id –help $ id –version |
date
cal 9 2002
| Perintah untuk melihat tanggal waktu pada sistem.perintah untuk melihat kalender dalam satu tahun. | $ date [option] [format]$ date -d $ date -F $ date -r $ date -R $ date -rfc-339 $ date -s $ date -u $ date – -help $ date – -version |
hostname
uname
uname -a
| perintah untuk melihat identitas mesin atau nama mesinperintah untuk melihat jenis mesin. perintah untuk melihat identitas mesin lebih lengkap | $ hostname [option]$ hostname -a $ hostname -b $ hostname -d $ hostname -F $ hostname -f $ hostname -A $ hostname -h $ hostname -i $ hostname -I $ hostname -s $ hostname -V $ hostname -v $ hostname -y |
w
who
whoami
| perintah mengetahui siapa saja yang sedang aktif dan lengkap.perintah untuk mengetahui user yang sedang aktif. Perintah untuk mengetahui user sedang aktif sebagai siapa? | $ w -h$ w user $ w -u $ w -s $ w -F $ w -v $ w -o $ who -a $ who -b $ who -t $ who -H $ who –ips $ who -l $ who -lookup $ who -m $ who -p $ who -q $ who -r $ who -s |
chfn
| Perintah dasar untuk mengubah informasi finger | $ chfn <user> |
finger
finger <usr>
| Perintah untuk melihat informasi finger.Perintah untuk melihat informasi finger user yang didiketahui. | $ finger [option]$ finger -s$ finger -l $ finger -p $ finger -m |
man ls
man man
man -k file
| Perintah untuk mengetahui history atau penggunaan dari perintah lsperintah dasar untuk mengetahui history atau penggunaan dari perintah man itu sendiri. Perintah untuk melihat format perintah dari file. | $ man [option]$ man -ls $ man -a $ man -t $ man -l $ man -k $ man -f |
clear
| Perintah untuk menghapus layar terminal. | $ clear |
Apropos date
apropos mail
apropos telnet
| Perintah untuk melihat file apa saja yang sudah di update.Untuk mencari perintah yang berhubungan dengan mail untuk melihat protokol dari mesin. | $ apropos [option]$ apropos -d $ apropos -r $ apropos -w $ apropos -e $ apropos -a $ apropos -l $ apropos -s $ apropos -m $ apropos -M $ apropos -L $ apropos -C $ apropos -h $ apropos -V |
whatis
| Perintah untuk menampilkan perintah berdasarkan deskripsi | $ whatis [option]$ whatis -v $ whatis -r $ whatis -w $ whatis -l $ whatis -s $ whatis -m $ whatis -M $ whatis -L $ whatis -C $ whatis -h $ whatis -V |
ls
| Menampilkan isi directory. | $ ls [option]$ ls -a $ ls -A $ ls -b $ ls -B $ ls -| $ ls -| sampai z $ ls -Z |
file
| Perintah untuk melihat tipe file | $ file [option]$ file -b $ ls -C $ ls -c $ ls -e $ ls -F $ ls -f $ ls -h $ ls -i $ ls -k $ ls -L dsb. |
cp
| Perintah untuk mengkopy file atau direktory | $ cp [option]$ cp -a $ cp -b $ cp -d $ cp -H $ cp -p $ cp -V |
cat
| Perintah untuk melihat isi file | $ cat -A$ cat -b $ cat -e $ cat -E $ cat -n $ cat -s $ cat -t $ cat -T $ cat -u |
mv
| Perintah untuk me-rename file atau direktory | $ mv -b$ mv -F $ mv -i $ mv -n $ mv -s $ mv -t $ mv -T $ mv -u $ mv -v |
rm
| Perintah untuk menghapus file | $ rm [option] [file]$ rm -f$ rm -i $ rm -I $ rm -r $ rm -v |
grep
| Perintah untuk mencari kata atau kalimat dalam file | $ grep [option] PATTERN [file]$ grep – |
- Analisa Latihan
3. Kesimpulan
Dalam Linux, aplikasi interface dengan comment line adalah penemuan yang hebat. Karena dengan menggunakan aplikasi comment line dalam terminal ini, banyak yang bisa dilakukan dengan ringkas dan cepat. Ditambah di Linux terdapat library jika kita belum bisa mengenal dengan jenis dan macam-macam comment.
Komentar
Posting Komentar