Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Bash Shell Scripting Tutorial for Beginners
Highest Rated
Rating: 4.5 out of 5(877 ratings)
9,144 students

Bash Shell Scripting Tutorial for Beginners

Learn Bash Shell Scripting to automate the frequently performed tasks
Created byYogesh Patel
Last updated 6/2018
English

What you'll learn

  • By the end of it you will be familiar with most of the common tasks we normally do on Bash scripting
  • You will be comfortable, efficient, and effective at the shell scripting
  • Automate the frequently performed tasks.

Course content

2 sections87 lectures10h 1m total length
  • Introduction7:57
  • ls command in Linux17:14
  • cd command in Linux11:26
  • cat command in Linux9:14
  • I/O Redirection8:50
  • mkdir Command6:14
  • rm and rmdir commands for linux12:29
  • cp command11:52
  • mv command11:33
  • less command7:14
  • touch command5:03
  • nano command6:53
  • sudo command8:05
  • top command8:04
  • kill command8:47
  • echo command7:50
  • file permissions, symbolic permissions and chmod12:27
  • directory permissions and chmod7:16
  • Octal and Numerical permissions (chmod)9:33
  • Introduction to Bash Scripting9:54
  • which and whatis command5:17
  • useradd command (Creating Users)7:02
  • userdel command (Removing Users)5:00
  • Basic Group Management (groups, groupadd, groupdel)6:34
  • .bashrc File7:13
  • Viewing Resources (du , df, free command)9:51
  • watch command3:42
  • Head and Tail Commands6:49
  • find command7:14
  • wc command4:20
  • cal command3:49
  • date command5:54
  • How to Run multiple Terminal Commands9:15

    Learn to run multiple terminal commands in Bash by using a semicolon to sequence commands, and logical operators like && and || to control execution based on success or failure.

  • apt-get command to Install Software12:28
  • ifconfig command8:29
  • tar command to Compress and Extract Files5:54
  • grep command10:50
  • netstat command12:33
  • How to Enable SSH in Ubuntu 16.04 LTS (Install openssh-server)5:04
  • How to Install PuTTY on Windows + SSH Connections Using PuTTY on Windows5:44
  • scp command - SCP to Securely Transfer Files/Folders in Linux10:14

Requirements

  • Some knowledge of the terminal commands would be helpful, but not required.
  • Linux machine / Linux virtual machine.

Description

Linux has a variety of different shells Like Bourne shell (sh), C shell (csh), Korn shell (ksh), TC shell (tcsh), Bourne Again shell (bash). Certainly the most popular shell is “bash”. Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh).  bash is not only an excellent command line shell, but a scripting language in itself. Shell scripting allows us to use the shell's abilities and to automate a lot of tasks that would otherwise require a lot of commands.

Bash scripting will help you automate routine tasks and save valuable time, whether you're a sys admin, Linux user or software developer. Shell script is much quicker than programming in any other languages.

The goal of this course is to provide you with a working knowledge of Bash scripting. We'll start with the basics, starting from creating our first Bash script and running it. Next you will learn about the bash environment, local variables, conditional statements, functions, loops, case statements, string operations, and coprocesses.


Who this course is for:

  • This course is designed for beginners, especially users who have never written bash script before
  • People thinking about a career as a Linux system administrator or engineer, but need the basics first.