Perintah-perintah direktori


1. mkdir-membuat direktori
  • penggunaan:mkdir (OPTION0 DIRECTORU
  • contoh :mkdir lhn
2. ls-list daftar direktori
  • penggunaan :ls (OPOION)...(FILE)...
  • contoh :ls,ls,ls lhn
3. cd-mengubah direktori 
  • penggunaan : cd (DIRCTORY)
  • contoh :cd lhn
4. pwd-cetak nama direktori saat ini
  • penggunan :pwd
5. vim-vi improved ,a programmes text edoitor
  • penggunaan :vim (OPTION) (file)
  • contoh :vim lhn .txt
6. cp-copy file dab direktori
  • penggunaan :cp (OPTION)...(SOURCE DEST)
  • contoh :cp sample .txt sample_copy .txt
  • cp sample_copy .txt target_dir
7. mv-memindah (mengganti nama) file
  • penggunaan :mv (OPTION).......(SOURCE DEST)
  • contoh :mv source .txt target_dir
  • mv old .txt new .txt
8. rm-menghapus file atau direktori
  • pengunan :rm (OPTION)...FILE
  • contoh :rm file 1.txt ,,rm rf some_dir
9. find-mencari
  • penggunaan :find (OPTION) (Path) (Pattern)
  • contoh :find file 1 .txt,,find name file 1 .txt
10.history-prints recentlt used commands
  • penggunan :history
11.cat-menyatukan file dan menampilkan dalam otput standar
  • penggunaan :cat (OPTION) (FILE)...
  • contoh :cat file 1 .txt file . txt
  • cat n file 1. txt
12. echo-menampilkan baris teks
  • penggunaan :echo (OPTION) (STRING)...
  • contoh :echo 1 love india
  • echo SHOME
13. grep-menampilkan garis yang sesuai pola
  • penggunaan :grep (OPTION) PATTERN (FILE)
  • contoh :grep 1 apple sample .txt
14. wc-menampilkan jum,lah baris,,kata dan byte sebuah file
  • penggunaan :wc (OPTION)...(FILE)...
  • contoh :wc file 1.txt
  • wc 1 file 1.txt
15.sort-menyortir 
  • penggunaan :sort (OPTION)...(file)...
  • contoh :sort file 1.txt
  • sort r file 1.txt
16.tar-mengarsipkan file
  • penggunaan :tar (OPTION) DEST SOURCE
  • contoh :tar cut/ home /archive.tar/ home/original
  • tar xvt /home/arvhive.tar
17.kill-mematikan suatu proses
  • penggunaan :kill (OPTION)
  • contoh :kill 9 2275
18. ps-menampilkn snap shot proses saat ini
  • penggunan :ps (OPTION)
  • contoh :ps,,ps,,cl
19. who-mengatahui siapa yang log in
  • penggunaan :who (OPTION)
  • contoh :who,,who b,,who q 
20. passwd-update password
  • penggunaan :passwd (OPTION)
  • contoh :passwd
21. su-mengganti USER ID atau menjadi super user 
  • peggunaan :su (OPTION) (LOG IN)
  • contoh :su remo,,su
22.chown-mengganti pemilik file atau grup
  • penggunaan :chown (OPTION)...OWNER (GROUP)
  • contoh :chown remo my file .txt
23. chmod-mengganti file permission
  • penggunaan :chmod (OPTION) (MODE) (FILE)
  • contoh :chmod 744 calculate . sh
24.zip-mengarsip file
  • penggunaan :zip (OPTION) (DEST SOURCE)
  • contoh :zip originlal zip original
25. unzip-membuka file yang di arsip zip
  • penggunaan :unzip file name
  • contoh:unzip original .zi
26. ssh- ssh client (remote log in program)
  • ssh is a program for logging into a remote machine and for executing commands on a remote machine
  • penggunaan :ssh (option) (user) e hostname
  • contoh :ssh x guest 10 .105 .11.20
27. scp-secure copy (remote file copy program)
  • scp copies files between hosts on s network
  • penggunan :scp (option) (user) e host :file 1 (user) e host 2:file )
  • contoh:scp file 1 .txt guest @ 10 .105.11.20 :desktop
28. fdisk-manipulator partisi
  • contoh :saldo fdisk
29.mount-mount a file system
  • penggunaan :mount type device dir
  • contoh :mount /dev/sda 5/media/target
30.umount-umount /media/target
  • penggunaan :umount (optiomn) dir device
  • contoh :umount/media/target
31.du-melihat penggunaan storage
  • penggunaan :du (OPTION)...(FILE)...
  • contoh :du
32.df-melihat jumlah penggunaan storage
  • penggunaan :du (OPTION)...(FILE)...
  • contoh : df
33.quota-melihat penggunaan dan batas disk
  • penggunaan :quotq (OPTION)
  • contoh :quota u
34. reboot-restart system
  • penggunaan :reboot (OPTION)
  • contoh :reboot
35.power off.-mematikan sistem
  • penggunaan :power off (OPTION)
  • contoh :power off
36.kate-kde editor
  • penggunaan :kate (option) (file (s) )
  • contoh :kate file 1.txt file 2 .txt
37. vim-vi improved a programmers text editor 
  • penggunaan :vim (OPTION) (file)
  • contoh :gedit
38. gedit-text editor untuk membuat dan edit file
  • penggunaan :gedit (OPTION) (FILE)...
  • contoh :gedit
39. bg-membuat proses yang di depan berjalan dibelakang 
  • penggunaan :type'ctrl +z' and then "bg"
40. fg-membuat proses back ground berjalan di depan 
  • penggunaan :fg (jobid)
41.jobs-menampilkan ID dan nama proses 
  • penggunaan :jobs
42. sed-stream editor untuk menyortir dan transformasi teks
  • penggunaan :sed (OPTION) (imput file)
  • contoh :sed 's /love/hate/g' love letter
43. awk-scan pola dan pengolahan bahasa
  • contoh :awk F: '{print $1}'sample_awk.txt
44. find-mencari dalam satu direktori
  • penggunaan :find (OPTION) (path) (pattern)
  • contoh :find nama file 1.txt
45. locate-mencari
  • penggunaan :locate (OPTION)...(FILE)...
  • contoh :locate file 1.txt

Komentar

Postingan populer dari blog ini