Bash commands and script samples for Linux

Links:

  • UNIX-help/quickref
  • get first part of a directory string:
    txt="one/two/three" && echo ${txt%%/*}

bash fun:

Leave a Reply