Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
( Diskusi + learn ) Command Line
#2
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
^^
what's the death? just CTRL+X in this world and CTRL+V in another world!
Reply


Messages In This Thread
RE: ( Diskusi + learn ) Command Line - by putra_bayangan - 06-14-2009, 10:24 AM
RE: ( Diskusi + learn ) Command Line - by hetz96 - 06-14-2009, 03:22 PM
RE: ( Diskusi + learn ) Command Line - by hetz96 - 06-14-2009, 03:56 PM
RE: ( Diskusi + learn ) Command Line - by N4is3N - 08-12-2009, 05:05 PM
RE: ( Diskusi + learn ) Command Line - by kemangi - 08-12-2009, 05:44 PM
RE: ( Diskusi + learn ) Command Line - by N4ck0 - 08-12-2009, 07:58 PM
RE: ( Diskusi + learn ) Command Line - by Bejamz - 08-12-2009, 08:11 PM
RE: ( Diskusi + learn ) Command Line - by N4ck0 - 08-12-2009, 09:40 PM
RE: ( Diskusi + learn ) Command Line - by ArRay - 08-12-2009, 10:55 PM
RE: ( Diskusi + learn ) Command Line - by arDhi^_ - 08-13-2009, 12:20 AM
RE: ( Diskusi + learn ) Command Line - by N4is3N - 08-13-2009, 01:18 PM
RE: ( Diskusi + learn ) Command Line - by N4is3N - 10-05-2009, 07:15 PM
RE: ( Diskusi + learn ) Command Line - by ArRay - 10-08-2009, 11:45 PM
RE: ( Diskusi + learn ) Command Line - by h1t4k3 - 09-30-2010, 10:06 PM
RE: ( Diskusi + learn ) Command Line - by aeryice - 02-10-2014, 06:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Command Dasar Backtrack justinisal 7 253 12-24-2012, 01:26 PM
Last Post: [H2]
  Command dasar Linux Dr.A 2 103 12-09-2011, 10:59 AM
Last Post: nesta
  Tips Mencari File Menggunakan Command Di Console abu adam 12 188 06-09-2011, 06:24 PM
Last Post: easy2study
  [ask] command ==> ln xnagacode 12 142 02-27-2011, 08:16 PM
Last Post: aandoni
  [ask]menambah command apt-add-repository di blankon meuligo xnagacode 3 35 11-24-2010, 10:47 AM
Last Post: xnagacode
  1000+ command line Suse Sidom 13 174 11-17-2010, 04:27 PM
Last Post: Racifa

Forum Jump:


Users browsing this thread: 1 Guest(s)