About 2,520,000 results
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 is the purpose of "&&" in a shell command? - Stack …

    Oct 27, 2021 · Furthermore, you also have || which is the logical or, and also ; which is just a separator which doesn't care what happend to the command before.

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

    529 = and == are for string comparisons -eq is for numeric comparisons -eq is in the same family as -lt, -le, -gt, -ge, and -ne == is specific to bash (not present in sh (Bourne shell), ...). Using …

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

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

    Modern shells such as Bash and Zsh have inherited this construct from Ksh, but it is not part of the POSIX specification. If you're in an environment where you have to be strictly POSIX …

  6. How to compare strings in Bash - Stack Overflow

    Feb 10, 2010 · How do I compare a variable to a string (and do something if they match)?

  7. 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?

  8. bash - Confusing use of && and - Unix & Linux Stack Exchange

    bash shell scripting control-flow Improve this question edited Nov 16, 2011 at 22:16 Gilles 'SO- stop being evil'

  9. What is 'bash' command in bash? - Ask Ubuntu

    Aug 1, 2020 · I just typed bash in Ubuntu's terminal and, it was like normal. But after that, I had to type exit twice. What is bash command in bash?

  10. sh - [: missing `]' in bash script - Stack Overflow

    Feb 9, 2016 · A bash function has no line numbers related to the FILE that contains the definition. NOW: The code is stored somewhere internally in the running instance of Bash - does it …