If at some point we decide to use cookies, we will change the color of the checkmark icon you used to invoke this modal and you will be notified as su

Bash Cheatsheet - CheatSheet.Wtf

submited by
Style Pass
2021-05-27 14:00:11

If at some point we decide to use cookies, we will change the color of the checkmark icon you used to invoke this modal and you will be notified as such.

Bash (Bourne Again Shell) is a shell language build on-top of the orignal Bourne Shell which was distributed with V7 Unix in 1979 and became the standard for writing shell scripts. Today it is primary to most Linux distributions, MacOS and it has even recently been enabled to run on Windows through something called WSL (Windows Subsystem for Linux).

Testing files in scripts is easy and straight forward. This is where shell scripting starts to show its glory! In Bash you can do file testing for permissions, size, date, filetype or existence.

Job control allows you to selectively stop (suspend) the execution of processes and continue their execution at a later point in time.

You can use these key-combinations to send signals or control the output. Check your stty settings. Suspend and resume of output is usually disabled if you are using "modern" terminal emulations. The standard xterm supports Ctrl+S and Ctrl+Q by default.

Leave a Comment