Presentation is loading. Please wait.

Presentation is loading. Please wait.

By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu CREATING A BASH SCRIPT By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu.

Similar presentations


Presentation on theme: "By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu CREATING A BASH SCRIPT By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu."— Presentation transcript:

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


Download ppt "By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu CREATING A BASH SCRIPT By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu."

Similar presentations


Ads by Google