About 2,450,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 is the purpose of "&&" in a shell command? - Stack Overflow

    Oct 27, 2021 · The shell will try to create directory test and then, only if it was successful will try create file inside it. So you may interrupt a sequence of steps if one of them failed.

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

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

  6. How to highlight bash/shell commands in markdown?

    Here shell is an alias for bash. Chroma has something called Session. Pygments (doc) uses console, shell-session for bash sessions, pwsh-session, ps1con for power shell sessions and …

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

  8. How do I check if a directory exists or not in a Bash shell script?

    What command checks if a directory exists or not within a Bash shell script?

  9. shell - Redirect stderr and stdout in Bash - Stack Overflow

    I want to redirect both standard output and standard error of a process to a single file. How do I do that in Bash?

  10. How to represent multiple conditions in a shell if statement?

    Sep 30, 2010 · How to represent multiple conditions in a shell if statement? Asked 15 years, 3 months ago Modified 3 years, 11 months ago Viewed 1.2m times