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

    Shell - "Shell" is a program, which facilitates the interaction between the user and the operating system (kernel). There are many shell implementations available, like sh, Bash, C shell, Z …

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

    Shell equality operators (=, ==, -eq) Asked 11 years, 11 months ago Modified 3 years, 6 months ago Viewed 648k times

  3. What do $? $0 $1 $2 mean in a shell script? - Stack Overflow

    I often come across $?, $0, $1, $2, etc in shell scripting. I know that $? returns the exit status of the last command: echo "this will return 0" echo $? But what do the others do? …

  4. What is the purpose of "&&" in a shell command? - Stack Overflow

    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.

  5. How do I check which shell I am using? - Ask Ubuntu

    Feb 28, 2015 · 691 I read that terminal is nothing but shell, and Unix provides different flavors of shells: Bourne shell (sh) C shell (csh) TC shell (tcsh) Korn shell (ksh) Bourne Again shell …

  6. Assigning default values to shell variables with a single command …

    Jan 6, 2010 · Assigning default values to shell variables with a single command in bash Asked 15 years, 11 months ago Modified 8 months ago Viewed 978k times

  7. How to echo shell commands as they are executed - Stack Overflow

    May 18, 2010 · Special shell variables verbose If set, causes the words of each command to be printed, after history substitution (if any). Set by the -v command line option. echo If set, each …

  8. shell - How do I read user input into a variable in Bash ... - Stack ...

    Oct 19, 2022 · How do I read user input into a variable in Bash? fullname="" # Now, read user input into the variable `fullname`.

  9. When do we need curly braces around shell variables?

    When do we need curly braces around shell variables? Asked 13 years, 11 months ago Modified 9 months ago Viewed 427k times

  10. How to concatenate string variables in Bash - Stack Overflow

    Nov 15, 2010 · A bashism is a shell feature which is only supported in bash and certain other more advanced shells. It will not work under busybox sh or dash (which is /bin/sh on a lot of …