About 2,290,000 results
Open links in new tab
  1. shell - Difference between sh and Bash - Stack Overflow

    Bash shell is the default shell in most Linux distributions and substitute for the Sh shell (the Sh shell will also run in the Bash shell). The Bash shell can execute the vast majority of Sh shell …

  2. bash - What is the purpose of "&&" in a shell command? - Stack …

    Oct 27, 2021 · $ command one && command two the intent is to execute the command that follows the && only if the first command is successful. This is idiomatic of Posix shells, and not …

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

    399 What is the difference between =, == and -eq in shell scripting? Is there any difference between the following?

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

  5. bash - How to change the default shell in Linux? - Stack Overflow

    How is it possible to change the default shell? The env command currently says: SHELL=/bin/tcsh and I want to change that to Bash.

  6. bash - What does " 2>&1 " mean? - Stack Overflow

    To combine stderr and stdout into the stdout stream, we append this to a command: 2>&1 For example, the following command shows the first few errors from compiling main.cpp: g++ …

  7. How do I make Bash my default shell on Ubuntu? - Super User

    Sep 25, 2009 · You can switch your system to using bash. On Ubuntu, /bin/sh is a symbolic link to dash. You can make it a symbolic link to bash instead.To change it, run sudo dpkg-reconfigure …

  8. How to invoke bash, run commands inside the new shell, and then …

    This must either be really simple or really complex, but I couldn't find anything about it... I am trying to open a new bash instance, then run a few commands inside it, and give the control …

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

  10. Are Bash and Linux shell the same? - Stack Overflow

    Jan 13, 2010 · No, they are not the same, and yes, linux shell programming books should have significant portions or be entirely about bash scripting. Ubuntu is a distribution of linux which …