Bash Tips

Tips:

` # command substitution
\ # escape [backslash]. A quoting mechanism for single characters
/ # file path separator
: # true or do nothing
? # test operator
${} # parameter substitution
$? # exit status variable
$$ # process id variable
Example:
:${username=`whoami`}

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.