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

    Shell equality operators (=, ==, -eq) Asked 12 years, 1 month ago Modified 3 years, 7 months ago Viewed 651k times

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

  3. What's is the difference between ">" and ">>" in shell command?

    Nov 27, 2013 · Could someone explain to me the difference between > and >> when using shell commands? Example: ps -aux > log ps -aux >> log It seems the result is the same either way.

  4. What are the special dollar sign shell variables? - Stack Overflow

    Sep 14, 2012 · $! is the PID of the most recent background command. $0 is the name of the shell or shell script. Most of the above can be found under Special Parameters in the Bash …

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

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

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

    Feb 28, 2015 · 693 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 …

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

  9. How do I get a console-like connection into a Docker container's …

    It allows you to get a shell (Bash, Fish, Z shell (executable zsh) (executable zsh), et.) into any container. It also works for stopped containers and images. Essentially, it's a replacement of …

  10. Running multiple commands in one line in shell - Stack Overflow

    Feb 27, 2011 · There is a variation of running multiple commands in one line in the shell where you want them to run simultaneously rather than one after the other. The OP was interested in …