How do you execute a UNIX command?

Hoàng Minh An

New member
How do you execute a UNIX command?
Answer
How do I run .
sh file shell script in Linux?
  1. Open the Terminal application on Linux or Unix.
  2. Create a new script file with .sh extension using a text editor.
  3. Write the script file using nano script-name-here.sh.
  4. Set execute permission on your script using chmod command : chmod +x script-name-here.sh.
  5. To run your script :
 

Tìm kiếm

Back
Top