Komentar

This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

SMS Gratis Indonesia

Tampilkan postingan dengan label Perintah copy pada linux. Tampilkan semua postingan
Tampilkan postingan dengan label Perintah copy pada linux. Tampilkan semua postingan

Sabtu, 04 Juli 2009

Perintah copy pada linux

Perintah copy pada linux
buat kalian yang pernah memegang dos mungkin hal ini hampir sama, hanya 

yang membedakan dari sisi bentuk perintahnya saja. tau khan copy itu 

apa? Copy adalah memperbanyak file dengan nama yang sama atau dengan 

nama yang berbeda.


Untuk perintah copy hanya dengan perintah cp

Bagaimana model basic nya?

#>cp fileasli.txtfilecopy.txt

simple khan..? nah misalnya kita ingin mengcopy file kita di folder 

/home/sany/Desktop/sany.rar dan mengcopy dengan nama sophie.rar

#>cp /home/sany/Desktop/sany.rar /home/sany/Desktop/sophie.rar

atau

/home/sany/Desktop #>cp sany.rar sophie.rar

Beda atas sama bawa adalah dimana lokasi saja.

#> -> merupakan lokasinya paling atas

/home/sany/Desktop #> -> Posisinya berada di Folder Desktop

Misalkan ingin mencopy file ke /home/sany/ pada file sany.rar yang ada 

di desktop bagaimana caranya ?

/home/sany/Desktop #> cp sany.rar /home/sany/sany.rar

atau

/home/sany/Desktop #> cp sany.rar ../sany.rar

atau
/home/sany/ #> cp Desktop/ . 

Catatan

Untuk titik merupakan simbol mau meletakkan file tersebut di folder 

dimana kita berada dengan format yang sama. Semoga saja hal ini dapat 

membantu.