การเขียนเชลล์สคริปท์ (Shell Scripting)

การเขียนเชลล์สคริปท์ (Shell Scripting)

การเขียนเชลล์สคริปท์ (Shell Scripting) เริ่มต้นเขียนเชลล์สคริปต์ Hello World สร้างไฟล์ Shell Script ด้วยคำสั่ง vi firstscript.sh #  1 # My first shell script (Hello World)  2 #!/bin/bash 3 clear 4 echo “Hello World ! ” 5...
shell script (เชลล์ สคริปต์) คืออะไร

shell script (เชลล์ สคริปต์) คืออะไร

shell script (เชลล์ สคริปต์) คือ โปรแกรมหน่ึงบนระบบ unix/linux ซึ่ง shell script ทำหน้าที่เป็นส่วนติดต่อผู้ใช้ (interface) ระหว่างผู้ใช้กับระบบปฏิบัติการunix/linux (เคอร์เนล)ซึ่ง Shell ไม่ได้เป็นส่วนหน่ึงของเคอร์เนล แต่ใช้เคอร์เนลในการประมวลผล...
คำสั่ง Linux เบื้องต้น | Linux Command Line

คำสั่ง Linux เบื้องต้น | Linux Command Line

คำสั่ง Linux เบื้องต้น | Linux Command Line สำหรับการสั่งงาน Linux ผ่าน command line (CLI) จะมีรูปแบบการใชค้า สั่งดังน้ี command [-option] [parameter] command คือ คำสั่ง-option เป็น การระบุถึงตัวเลือก (Option)...
วิธีตั้งค่าเครือข่าย บน linux | Setting Network Linux Command Line (set ip linux

วิธีตั้งค่าเครือข่าย บน linux | Setting Network Linux Command Line (set ip linux

วิธีตั้งค่าเครือข่าย บน linux | Setting Network Linux (set ip linux) Centos5/Centos6/Centos7 / Ubuntu , Debian , RedHat ด้วยคำสั่ง Command Line ให้ใช้คำสั่ง  vi /etc/sysconfig/network-scripts/กดปุ่มTab 2ครั้ง เพื่อแสดงรายการInterface และให้เข้าไปที่ไฟล์แรกที่แสดง...
sudo คืออะไร ?

sudo คืออะไร ?

sudo (ซูโด)คือ คำสั่งอนุญาตให้ผู้ใช้ที่ได้รับอนุญาตให้รันคำสั่งเป็นผู้ใช้ superuser (sudo)หรือผู้ใช้อื่นตามที่ระบุไว้ในนโยบายความปลอดภัย ผู้ใช้ที่พูดถึง ID ผู้ใช้จริง (ไม่ได้มีประสิทธิภาพ) ถูกใช้เพื่อกำหนดชื่อผู้ใช้ด้วย ที่จะสอบถามนโยบายความปลอดภัย...