Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to create a sh file to run terminal commands

you start with
#!/bin/bash
EnterYourCommand



and open a terminal in the same directory where the .sh file is and run "chmod +x FILENAME.sh"
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #create #sh #file #run #terminal #commands
ADD COMMENT
Topic
Name
4+2 =