TurterDev.com
  • Welcome
  • พื้นฐานคำสั่ง Linux Command
    • Linux Command
    • Linux Command (ต่อ)
    • ใช้งาน VI และ VIM
    • Shell script
    • Vagrant
  • การเขียนโปรแกรมเชิงวัตถุ OOP
    • การเขียนโปรแกรมเชิงวัตถุ
      • เริ่มต้นเขียนโปรแกรมเชิงวัตถุด้วย Javascript
  • Git
    • คำสั่งสำหรับใช้งาน Git
    • Branch,Merge,Stash
    • Remote Repository
  • คำสั่งใช้งาน Docker
    • 🐳Docker
      • Docker Command
  • Kubernetes
    • Kubernetes (K8s)
      • Install Cilium on kubernetes (เปลี่ยนจาก Calico เป็น Cilium บน K8s)
      • Install Kubernetes on Ubuntu 24.04 LTS (Kube-VIP)
      • How to Install Kubernetes Cluster on CentOS 7
  • Etc
    • Kubernetes (K8s)
      • สรุปการพัฒนา Application แบบ The Twelve-Factor แบบสั้นๆง่ายๆ
  • Website
  • Facebook
  • Instagram
Powered by GitBook
On this page
  1. พื้นฐานคำสั่ง Linux Command

Linux Command (ต่อ)

คำสั่ง command ที่ควรรู้!

คำสั่ง เปลี่ยนเจ้าของ file หรือ directory : $ chown [option] <owner>:<group> <file>

$ chmod 777 helloworld.txt

คำสั่ง เปลี่ยนเจ้าของ file หรือ directory : $ chown [option] <owner>:<group> <file หรือ directory>

// เปลี่ยนเจ้าของ file
$ chown turterdev helloworld.txt

// เปลี่ยนเจ้าของ directory และ group
$ chown -R turterdev:turterdev project

คำสั่ง Zip file : $ tar [option] <ชื่อ file.tar.gz> <directory>

$ tar cvfz project.tar.gz project/

คำสั่ง unzip file : $ tar [option] <file.tar.gz>

$ tar -xf archive.tar.gz

PreviousLinux CommandNextใช้งาน VI และ VIM

Last updated 2 years ago