Archive for the ‘Shell’ Category
Creating bash shell scripts
- In a terminal window:
- Create a script file
- nano scriptname.sh
- Make it executable
- chmod 755 scriptname.sh
- Run it
- ./scriptname.sh
- Create a script file
- nano scriptname.sh
- Make it executable
- chmod 755 scriptname.sh
- Run it
- ./scriptname.sh