Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Beginning Bash Scripting
Rating: 4.5 out of 5(375 ratings)
27,003 students

Beginning Bash Scripting

Learn Linux Bash Scripting
Created byPeter A
Last updated 8/2022
English

What you'll learn

  • Why Bash Scripting
  • Creating your own Bash Scripts
  • Bash scripting concepts
  • Cyber Security note

Course content

1 section7 lectures37m total length
  • Introduction5:14

    Learn the basics of bash scripting by creating and running shell scripts, making them executable, and understanding parameters, variables, lists, and conditionals across Linux and Mac OS.

  • First Script5:38
  • Variables5:52
  • Parameters5:18

    Discover how to pass parameters to a bash script using $1 and $2, store them in variables, and echo outputs, plus learn about $#, $0, and prompting for input.

  • Arrays5:43
  • If statements5:12
  • Cyber Security?4:19

    Running random scripts from the internet can give an attacker control via a reverse shell. Write your own bash scripts and understand Linux firewall ideas to protect your system.

Requirements

  • Have a Linux box at hand

Description

Bash is a Unix shell script language. A shell is the interactive prompt that appears when Linux boots up. It's also where users can enter commands to manage their systems. Linux administrators use bash scripting to speed up their work and make it more efficient. They can automate tasks, inspect and modify the system, and much more.

Bash enables Linux administrators to perform complex tasks quickly and easily. For example, network configuration files can be edited with ease using a text editor. Then those edits can be saved as a shell script for further modification or backup purposes. Bash also makes it easy to check system resources such as memory and storage space. Plus, it can be used for automated system maintenance such as stopping services, removing unwanted files.

Bash scripting makes it easy to keep your Linux system secure and up-to-date with security patches and software updates. Most of these updates involve fixing bugs or adding new features to the system's core applications and libraries. Administrators can run scheduled updates and check for problems along the way via a cron job or other program tools. In addition, all security patches are automatically applied via automated scripts without any user intervention required. As a result, your system stays secure regardless of who's handling your server's update process.

Bash is an essential part of any professional Linux environment management strategy. It's easy to learn and implement into any given administrative process set-up. Plus, bash scripting drastically increases system security by automating many crucial tasks related to updates and security monitoring. Ultimately, Bash makes your life easier when managing your Linux servers!

Who this course is for:

  • Beginner Linux System Administrators
  • Software Developers