Ubuntu 101 : บทที่ 1.10 การรวมคำสั่ง และ ตั้งค่าพื้นฐาน สำหรับมือใหม่

Ubuntu 101 : บทที่ 1.10 การรวมคำสั่ง และตั้งค่าพื้นฐาน


1 . Ctrl + Alt + T    คำสั่งเรียกหน้า Terminal อย่างรวดเร็ว

2. Copy + Paste ไม่ได้  กรณี ติด Permission

ให้เรียก Terminal  .... เข้าโฟลเดอร์นั้นๆ แล้ว ใช้คำสั่งเปลี่ยนสิทธิดังตัวอย่างด้านล่าง 

cd /media/your_external_drive
sudo chmod -R -v 777 *

หรือคำสั่ง

sudo chmod -R -v 777  /dev/<YOUR-Partition-name>

หมายเหตุ
-- คำสั่ง sudo ย่อมาจาก  "superuser do" เป็นคำสั่งที่ระบุ ว่าใช้สิทธิระดับ admin หรือ  superuser (root) ซึ่งจะมีสิทธิ สามารถเปลี่ยน permission ต่างๆ โดยปกติ ถ้าใช้คำสั่งนี้จะต้องกรอก password ของ admin ด้วย

-- คำสั่ง chmod คือ การเปลี่ยน Permission ของไฟล์หรือ โฟลเดอร์ หากไม่รู้ Folder อะไรให้เข้าจาก Explorer แล้วคลิกขวาเลือก เปิด Terminal เอาแล้ว ค่อยใช้คำสั่งข้างบนก็ได้ 

-- -R คือ Option ของ chmod มาจาก "recursive." คือให้ Apply ทั้ง folder และ sub folder
-- -v คือ Option ของ chmod มาจาก "verbose." คือ ให้แจ้งกลับมาด้่วยว่า ไฟล์ folder ไหนที่เปลี่ยนแปลงบ้าง
-- 777  หมายถึง สิทธิ Full control =   full read, write, and execute permissions สำหรับ owner, group, and others

3. การลงโปรแกรม ด้วยคำสั่ง
กรณี โปรแกรมนี้อยู๋ในความดูแลของ linux 
sudo apt-get install ชื่อแพ็กเกจ

กรณี โปรแกรมที่ไม่ได้อยู่ในความดูแลของ Linux เราต้อง add เข้าไปใน repository ก่อน
sudo add-apt-repository ppa:ชื่อrepository

กรณี ดาวน์โหลดมาติดตั้งเอง
ถ้าเป็น window จะมีทั้ง exe และ msi แต่สำหรับ Linux จะมี 2 ค่ายใหญ่ๆ คือ rpm (red hat) กับ deb(debiun)


เอา BackGround ออก และเปลี่ยนสี

เอาออก
gsettings set org.gnome.desktop.background picture-uri ''


ใส่
BackGround สี

gsettings set org.gnome.desktop.background primary-color 'rgb(37, 37, 37)'


เปลี่ยนจาก  file icon  ให้เป็น file list

gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'



ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

KoolMocyc : Forza 350 สเปกต่างๆ และการแก้ไข

Stable Diffusion 101 : Extension : AnimateDiff

KoolMocyc : Forza 350 : ปัญหาประจำตัว