Skip to content

learning bash scripting to be able to use the full power of the linux OS. This is a very fun and enjoyable subject.

Notifications You must be signed in to change notification settings

fabeklou/linkedin-learning_bash_scripting_courses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Learning bash scripting

This repository contains my solution for the challenges given in the courses that I take on linkeding learning conserning linux shell bash and bash scripting.

Details on the scripts

  • The first line of evry .sh file is a shebang that tells the OS the nature of the file and the program that should be used to run it (a scrpit to run with bash in our case).

    fab@ubuntu:~/bash_scripting$ ls
    bash_script.sh
    fab@ubuntu:~/bash_scripting$ cat bash_scripit.sh | head -n 1
    #!/usr/bin/env bash
  • Evry single script has a comprehensive documentation, please take some time to read the comments first.

  • Great now you can just run the script this way : ./script_name.sh

    fab@ubuntu:~/bash_scripting$ ls
    bash_script.sh echo_script.sh
    fab@ubuntu:~/bash_scripting$ cat echo_script.sh
    #!/usr/bin/env bash
    # This scrpit prints a message on the screen
    echo "Bash is fun and incredibly powerful!"
    fab@ubuntu:~/bash_scripting$ ./bash_script.sh
    Bash is fun and incredibly powerful!
  • All scripts have been tested with shellcheck. To install and use :

    fab@ubuntu:~/bash_scripting$ sudo apt update && sudo apt upgrade
    fab@ubuntu:~/bash_scripting$ sudo apt install shellcheck
    fab@ubuntu:~/bash_scripting$ ls
    bash_script.sh
    fab@ubuntu:~/bash_scripting$ shellcheck bash_script.sh

    to read more, go to the shellcheck github repos

Link to the courses

Here is the links to the linkedin learning courses :

About

learning bash scripting to be able to use the full power of the linux OS. This is a very fun and enjoyable subject.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages