About 2,540,000 results
Open links in new tab
  1. Difference between ${} and $() in a shell script - Super User

    Difference between $ {} and $ () in a shell script Ask Question Asked 10 years, 4 months ago Modified 9 months ago

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

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

  3. Difference between Login Shell and Non-Login Shell?

    May 8, 2012 · I understand the basic difference between an interactive shell and a non-interactive shell. But what exactly differentiates a login shell from a non-login shell? Can you give …

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

  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. error in unix shell script - Unix & Linux Stack Exchange

    You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation and how do I …

  8. Check if a file exists with a wildcard in a shell script

    Oct 10, 2019 · If your shell has a nullglob option and it's turned on, a wildcard pattern that matches no files will be removed from the command line altogether. This will make ls see no …

  9. How to call one shell script from another shell script?

    I have two shell scripts, a.sh and b.sh. How can I call b.sh from within the shell script a.sh?

  10. shell - What does "--" (double dash / double hyphen) mean?

    In man bash we can read in Shell Builtin Commands section (online doc): Unless otherwise noted, each builtin command documented in this section as accepting options preceded by - accepts …