Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Bash Shell in Linux for Beginners
Rating: 4.5 out of 5(277 ratings)
3,778 students

Learn Bash Shell in Linux for Beginners

This course teaches beginning Linux shell scripting in the Bash shell
Last updated 4/2016
English

What you'll learn

  • Learn Using Scripts to Automate Tasks
  • Control the Execution of the Script

Course content

2 sections13 lectures1h 28m total length
  • Introduction4:09
  • Writing and Running a Hello World Script6:26
  • Removing the ./ Resolution6:15

    Move the script to /usr/local/bin to make it accessible from PATH using sudo if permissions block the move. Then run it as hello or hello.sh without dot slash.

  • Running Scripts in the Current Open Shell7:37
  • Intro to Variables8:17
  • Saving Shell State in .bashrc5:34

Requirements

  • Any Linux Based Operating System
  • Knowledge of any Command Line is Helpful, but Not Necessary

Description

This course teaches beginning Linux shell scripting in the Bash shell. The emphasis in the course is on the scripting language itself: using scripts to automate common tasks, and the logic within the language used to control the execution of the script.

The course is in two units, and contains over an hour of demos and discussion. This is the second part of the Linux course series from EDUMobile Academy.


In the first unit of the course, we’ll explore the shell environment itself, and cover such topics as:

- a simple hello world script
- making scripts executable
- why we run a script with a ./ and how to remove it
- running a script to act upon the currently running shell
- variables and how to use them
- the .bashrc file

The second unit covers scripting commands, particularly control flow. Topics include:

- exit status of shell commands
- the if statement and tests
- handling command line arguments
- random numbers
- loops (while, until, and for)
- the case statement

I hope you join me for this beginner’s guide to the bash scripting language!

Who this course is for:

  • Any Fresher Who Wants to Learn Basic Linux Shell Scripting in Bash Shell
  • Expert who Needs to Brush up Basic Bash Shell Skills