Download presentation
Presentation is loading. Please wait.
Published byJeremy Parsons Modified over 6 years ago
1
By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu
CREATING A BASH SCRIPT By Jonathan Rinfret
2
What are Bash Scripts? Bash scripts are a way for you to make your own commands in linux. For example you could create your own command that copies the name of a file and puts in a certain directory.
3
Creating a Simple Bash Script
Put the script under usr/bin folder Type this command which bash > (name of script).sh OR open a text editor with name of script Ex: vi (name of script).sh In the text editor input the following and then save the file. #!/bin/bash echo My First Bash Script
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.