Open links in new tab
  1. bash - What are the special dollar sign shell variables ... - Stack ...

    Sep 14, 2012 · In Bash, there appear to be several variables which hold special, consistently-meaning values. For instance, ./myprogram &; echo $! will return the PID of the process …

  2. 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 …

  3. bash - Shell equality operators (=, ==, -eq) - Stack Overflow

    It depends on the Test Construct around the operator. Your options are double parentheses, double brackets, single brackets, or test. If you use ((…)), you are testing arithmetic equality …

  4. Bash test: what does "=~" do? - Unix & Linux Stack Exchange

    Jan 27, 2017 · I realize you said “read the bash man pages” but at first, I thought you meant read the man pages within bash. At any rate, man bash returns a huge file, which is 4139 lines (72 …

  5. What does $# mean in bash? - Ask Ubuntu

    Jul 25, 2017 · Furthermore, when you use bash -c, behavior is different than if you run an executable shell script, because in the latter case the argument with index 0 is the shell …

  6. bash - What does $ ( ... ) mean in the shell? - Unix & Linux Stack …

    Sep 3, 2017 · For understanding bash code it is usually very helpful to set the -x option: set -x # within a script / function or when calling a script: bash -vx ./script.sh With loops this is a little …

  7. What's the difference between <<, <<< and < < in bash?

    Sep 27, 2015 · What's the difference between <<, <<< and < < in bash?Here document << is known as here-document structure. You let the program know what will be the ending text, and …

  8. How do I iterate over a range of numbers defined by variables in …

    Oct 4, 2008 · Related discusions: bash for loop: a range of numbers and unix.stackexchange.com - In bash, is it possible to use an integer variable in the loop control of a for loop?

  9. An "and" operator for an "if" statement in Bash - Stack Overflow

    An "and" operator for an "if" statement in Bash Asked 12 years, 11 months ago Modified 1 year, 3 months ago Viewed 986k times

  10. What do the -n and -a options do in a bash if statement?

    The switches -a and -n are not strictly part of a bash if statement in that the if command does not process these switches. What are primaries? I call them "switches", but the bash …