
Explore the shell as the command line interface that lets users communicate with the operating system, run commands, and write scripts. Scripts execute sequentially to perform operations.
Explore the history and roles of shells in Linux, macOS, and Unix, from the Bourne shell to bash and ksh, and their status as default shells.
Explore the bash shell overview by examining built-in versus external commands, script basics, redirection and piping, loops, conditionals, variables, and name completion.
Learn to set up a vpn server on Digital Ocean, install an ssh client, connect to the server, and write your script while exploring execution methods, variables, redirections, and pipes.
Provision a DigitalOcean vps by creating a droplet, selecting a $5/month server, retrieving its ip address, and noting the temporary root password.
Install an ssh client and connect to the server via a command line. Log in with the provided credentials, add profiles, and change the password to secure access.
Create a first script in vi named hello.sh that echoes hello world, make it executable with chmod +x, and run it with ./hello.sh after adding a shebang.
Declare and use bash variables by assigning values without spaces and printing with a dollar sign; compare script scope to interactive shell and variables defined in scripts disappear after execution.
Each script runs in a new shell process, and the variable $$ reveals its process id, while you learn how local variables differ from global ones and export affects scope.
Explore redirection and pipes in bash, redirecting standard output and standard error to files, managing file descriptors, and chaining commands with pipes to process data efficiently.
Practice writing your first Bash script through exercise questions on running scripts, using the shebang line, script naming with .sh, and basic variable assignments.
Discover automation with cron, exit statuses, and bash scripting using functions, positional arguments, user input, if and case commands, while until and for loops, and numerical operations.
Master cron scheduling to automate script execution, understanding system vs user cron, crontab usage, and the five time fields—minute, hour, day of month, month, and weekday—plus practical examples.
Explore bash exit status using the special $? variable, showing 0 for success and non-zero for failures with ls and echo; create scripts with custom exit codes like exit 55.
Define and call bash functions with the reserved word function, a name, and braces; invoke them by name and read the return status. Use tomorrow's date as an example.
Explains reading user input in bash with prompts and silent input, and using positional arguments and function arguments with $# , $1 , and $2 to print values.
Explore bash scripting control flow with if and case statements, using test conditions inside square brackets, then and else logic, and fi; learn argument handling and basic file checks.
Learn how to use loop constructs in Bash: while, until, and for loops, with practical counter example and simple echoes that print and increment values.
Learn bash numerical operations, including integer addition with $((A + B)) and integer division behavior. Explore modulus for remainders and using bc with -l for exponentiation and controlled decimal scale.
Explore practical bash scripting concepts through exercise questions on cron basics, exit statuses, functions, positional parameters, and conditional statements to test and reinforce scripting skills.
Install a Subversion server, create a central repository, and use a command-line Subversion client to import, commit, list, and export scripts from any server, enabling centralized version control and collaboration.
Learn to parse Apache access logs, extract the IP and date, and store entries in a MySQL database via a Bash script.
Highlight the power of shell scripting and provide a practical overview to get you started, while inviting feedback to shape an upcoming advanced scripting course.
Discover how to access course discounts and join the newsletter in this bonus lecture, enriching your bash scripting 1-hour crash course with practical enrollment perks.
LEARN BASH SHELL SCRIPTING IN JUST 1 HOUR
Are you looking to further your career by learning do complex automation tasks using Bash Shell?
Are you a beginner wanting to learn bash scripting - FAST?
Do you want to master the fundamentals and core components of Shell Scripting, but don't want to waste 10 hours on a repetitive course, when you can learn the same in a short, to-the-point 1 hour course?
My Bash Shell Scripting for beginners course is all you need to acquire the real world job skills of Bash Shell Scripting - that will further your career fast!
This course is a step-by-step introduction on how to use Bash Shell to write programs, automate tasks and much more. All taught by an experienced System Administrator.
Writing your first script, variables, cron automation, loops and more - it's all covered step-by-step.
This course will give you a solid theoretical understanding of Bash Shell Scripting as well as the practical skills to use it proficiently at your job.
No experience required!
WHAT YOU WILL LEARN IN THE COURSE:
First you learn what the Bash shell is and how it developed to the stage it is in at the moment.
Then, as we install a VPS with DigitalOcean, you will get practical, and learn the basics of scripting in Bash, adding features like variables, redirections and pipes.
You will also learn how to automate tasks with cron jobs (scheduled tasks), and advanced features of Bash as a programming language (if...else, loops, functions and user input).
To put all pieces together, and maybe add few new ones, there are two case studies. One for installing subversion server for sharing scripts you have written, and another case study, which will extract information from web server(Apache) logs and put them into a database (mysql).
And every section will have an exercise video full of training questions, so you can test and improve your skills as we go along.
WHAT IS BASH SHELL SCRIPTING?
Bash shell is the most common command line interpreter for Linux operating system. It is a result of decades of development of various command line interpreters,each building up on its predecessor good features, and adding its own improvements.
In today’s world, scripting is gaining ground everywhere-from network devices to supercomputers. Once you master Bash for common administrative task, you can go ahead and learn Python or Perl more easily, because you have a solid foundation on what Linux can and can not do.
Although Bash is not a full-blown programming languages, with it’s loops, conditions, variables, chaining multiple commands together, shell scripts have grown to be much more than just command line expressions put together.
GUARANTEE
If within 30 days of buying the course you decide that it's not for you, please get a Udemy-backed refund. No questions asked — just press the refund button, and all of your money will be returned to your credit card.
ARE YOU READY TO WRITE YOUR FIRST SHELL SCRIPT AN HOUR FROM NOW?
Please press the "Take This Course" button and start learning 2 minutes from now!