PageList2
Search and Subscribe
แหล่งรวมความรู้ทางด้าน Unix (Sun Microsystems Inc),HP-UX,Linux รวมถึงการเขียน Shell Script
02:47
Tar ซิบและคลายซิบ Directory ใน Unix
Posted by K-Tech · 0 Comments in this post
tar -cvf dirName.tar dirName/ ซิบทั้ง Directory
ตัวอย่าง tar -cvf oracle_bin.tar oracle/
จะซิบ directory oracle ทั้งหมด
เราก็จะได้ไฟล์ oracle_bin.tar มาหนึ่งไฟล์
tar -tvf filename เรียกดูว่ามีชื่อไฟล์ไรบ้าง
ยกตัวอย่าง
tar -tvf oracle_bin.tar
เราก็จะเห็นว่า ไฟล์ทั้งหมดมีกี่ไฟล์ ที่อยู่ใน oracle_bin.tar
tar -xvf filename คลายซิบ
ยกตัวอย่างเช่น
tar -xvf oracle_bin.tar
ก็จะคลายซิบทั้ง directory
About this blogger theme
This blogspot theme one of the first templates I have created. This is free, supported and ready for download. If you have any questions feel free to leave your comment on my weblog. Hope you like it. Enjoy!
This blogspot theme one of the first templates I have created. This is free, supported and ready for download. If you have any questions feel free to leave your comment on my weblog. Hope you like it. Enjoy!
No comment yet
Tar ซิบและคลายซิบ Directory ใน Unix
Tar ซิบและคลายซิบ Directory ใน Unix

Add your comment below