Summary Book of RHEL134v9
Chapter 01: Improve Command-line Productivity Specify the Command Interpreter: #!/usr/bin/bash Here, #! notation is commonly referred to as she-bang or hash-bang , from the names of those two characters, sharp or hash and bang. Execute a Bash Shell Script: For running the shell script shell's need PATH environmental variable, If a script is not in a PATH directory, then run the script by using its absolute path name, which command for finding the absolute path name Alternatively, run a script in your current working directory by using the .directory prefix , such as ./scriptname . For example, which hello, echo $PATH Quote Special Characters The Special Characters are / backslash , ‘single qoute’ and “double quote” For Example, shows the backslash character (\) modifying the hash character so it is not interpreted as a comment: Use double quotation marks to suppress globbing (file name pattern matching) and shell expansion, but still allow command and ...