About 2,440,000 results
Open links in new tab
  1. bash - Shell equality operators (=, ==, -eq) - Stack Overflow

    If not quoted, it is a pattern match! (From the Bash man page: "Any part of the pattern may be quoted to force it to be matched as a string."). Here in Bash, the two statements yielding "yes" …

  2. bash - How do I remove a directory and all its contents? - Unix

    In bash all I know is that rmdir directoryname will remove the directory but only if it's empty. Is there a way to force remove subdirectories?

  3. bash - Every command fails with "command not found" after …

    -bash: sed: command not found -bash: git: command not found My bash_profile actually pulls in other .sh files (sources them) so I am not exactly sure which modification may have caused …

  4. What does 'set -e' mean in a Bash script? - Stack Overflow

    74 As per bash - The Set Builtin manual, if -e / errexit is set, the shell exits immediately if a pipeline consisting of a single simple command, a list or a compound command returns a non …

  5. bash - What does <<< mean? - Unix & Linux Stack Exchange

    Take a look at the Bash man page. This notation is part of what's called a here documents & here strings. It allows you the ability to generate multi-line data input as one continuous string. The …

  6. command line - Where is .bashrc? - Ask Ubuntu

    There is no .bashrc in /etc/ (there is a bash.bashrc, however). Do I create a .bashrc file in my user or home directory? Is there a better, more recent set of instructions for modifying the bash …

  7. How do I get the directory where a Bash script is located from …

    How do I get the path of the directory in which a Bash script is located, inside that script? I want to use a Bash script as a launcher for another application. I want to change the working directo...

  8. Bash doesn't read .bashrc unless manually started

    bash won't source .bashrc from an interactive terminal unless I manually run bash from a terminal: $ bash or manually source it: $ source ./.bashrc or running: $ st -e bash Here's some useful ou...

  9. How do I find the version of bash I am running? - Ask Ubuntu

    209 (learning bash) I was trying to check the bash version so I typed /bin/bash -v. That outputted a whole lot of text to the screen (contents of .bashrc, and other files sourced from it). Could I …

  10. How can I have a newline in a string in sh? - Stack Overflow

    World' Bash recognizes a number of other backslash escape sequences in the $'' string. Here is an excerpt from the Bash manual page: Words of the form $'string' are treated specially. The …