06-14-2009, 10:24 AM
16. grep -> mencari Teks dalam file
$ grep 'root' /etc/passwd
17. echo -> mencetak Teks ke Layar
$ echo 'halo hacker-newbie'
halo hacker-newbie
18. > -> memasukkan teks, overwrite
$ echo 'halo hacker-newbie' > hacker.txt //akan muncul hacker.txt di direktori aktif
19. >> -> Memasukkan teks, Append
$ echo 'buahahahahaa' >> hacker.txt
$ cat hacker.txt
halo hacker-newbie
buahahahahaa
20. nano -> editor file teks. ( editor kesukaan saya )
$ nano /etc/X11/xorg.conf
21. &,jobs -> menjalankan Perintah di Background
# shutdown -r +15 &
# jobs
[1]+ Running shutdown -r +15 &
22. ps -> Melihat proses yang berjalan
$ ps
18246 pts/1 00:00:00 bash
23. kill -> Menghentikan proses
# shutdown -r +15 &
# ps -ef | grep 'shutdown'
root 20473 20448 0 02:42 pts/2 00:00:00 shutdown -r +15
#kill 20473
24. ; -> Pemisah antar perintah
$ whoami; hostname; ls -l
25. | (pipe) -> komunikasi antar proses
$ cat /etc/passwd | grep root
26. whatis -> deskripsi singkat suatu perintah
$ whatis ls
27. man -> manual dari suatu perintah ( paling sering dipakai )
$ man ls
29. rpm [parameter] -> package red hat manager
# rpm -ivh nama_aplikasi.rpm
masih banyak lagi,,ayo kalau ada yang kurang,,tambahkan yaa..
terimakasih
^^
$ grep 'root' /etc/passwd
17. echo -> mencetak Teks ke Layar
$ echo 'halo hacker-newbie'
halo hacker-newbie
18. > -> memasukkan teks, overwrite
$ echo 'halo hacker-newbie' > hacker.txt //akan muncul hacker.txt di direktori aktif
19. >> -> Memasukkan teks, Append
$ echo 'buahahahahaa' >> hacker.txt
$ cat hacker.txt
halo hacker-newbie
buahahahahaa
20. nano -> editor file teks. ( editor kesukaan saya )
$ nano /etc/X11/xorg.conf
21. &,jobs -> menjalankan Perintah di Background
# shutdown -r +15 &
# jobs
[1]+ Running shutdown -r +15 &
22. ps -> Melihat proses yang berjalan
$ ps
18246 pts/1 00:00:00 bash
23. kill -> Menghentikan proses
# shutdown -r +15 &
# ps -ef | grep 'shutdown'
root 20473 20448 0 02:42 pts/2 00:00:00 shutdown -r +15
#kill 20473
24. ; -> Pemisah antar perintah
$ whoami; hostname; ls -l
25. | (pipe) -> komunikasi antar proses
$ cat /etc/passwd | grep root
26. whatis -> deskripsi singkat suatu perintah
$ whatis ls
27. man -> manual dari suatu perintah ( paling sering dipakai )
$ man ls
29. rpm [parameter] -> package red hat manager
# rpm -ivh nama_aplikasi.rpm
masih banyak lagi,,ayo kalau ada yang kurang,,tambahkan yaa..
terimakasih
^^
what's the death? just CTRL+X in this world and CTRL+V in another world!



