Code Maven
  • Exercises
  • Slides
  • Books
  • Courses
  • Services
  • Type keyword:
  • Archive
  • About
  • Atom feed
Unix/Linux Shell - Bash
  1. Shell
    1. Bash shell substring
    2. Bash: get absolute path to current script
    3. Bash shell path relative to current script
    4. Bash: while loop - break - continue
    5. Functions in Linux shell (bash)
    6. Create temporary directory on Linux with Bash using mktemp
    7. Count number of lines in a file and divide it by number of seconds in a day using Bash
    8. Measure elapsed time in Linux shell using time and date
    9. Show number of files in several directory trees using Shell
    10. Show number of files in a directory tree using Shell
    11. Bash set -x to print statements as they are executed
    12. Bash set -e to stop script on failure
    13. ps does not show name of the shell script only -bash or bash - Linux

Unix/Linux Shell - Bash

  • bash

Next

  • Bash shell substring
  • Bash: get absolute path to current script
  • Bash shell path relative to current script
  • Bash: while loop - break - continue
  • Functions in Linux shell (bash)
  • Create temporary directory on Linux with Bash using mktemp
  • Count number of lines in a file and divide it by number of seconds in a day using Bash
  • Measure elapsed time in Linux shell using time and date
  • Show number of files in several directory trees using Shell
  • Show number of files in a directory tree using Shell
  • Bash set -x to print statements as they are executed
  • Bash set -e to stop script on failure
  • ps does not show name of the shell script only -bash or bash - Linux
  • Read file line-by-line

  • Bash scripting slides

Next


Gabor Szabo
Written by
Gabor Szabo

Published on 2019-05-24

If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub. Comment on this post

Author: Gabor Szabo

Gábor who writes the articles of the Code Maven site offers courses in in the subjects that are discussed on this web site.

Gábor helps companies set up test automation, CI/CD Continuous Integration and Continuous Delivery and other DevOps related systems. Gabor can help your team improve the development speed and reduce the risk of bugs.

He is also the author of a number of eBooks.

Contact Gabor if you'd like to hire his services.

If you would like to support his freely available work, you can do it via Patreon, GitHub, or PayPal.