About 2,560,000 results
Open links in new tab
  1. What is the $? (dollar question mark) variable in shell scripting?

    I'm trying to learn shell scripting, and I need to understand someone else's code. What is the $? variable hold? I can't Google search the answer because they block punctuation characters.

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

  3. Meaning of $? (dollar question mark) in shell scripts

    Aug 1, 2019 · What does echo $? mean in shell programming?true echo $? # echoes 0 false echo $? # echoes 1 From the manual: (acessible by calling man bash in your shell) ? Expands to …

  4. What is the meaning of $? in a shell script? - Unix & Linux Stack …

    Feb 20, 2011 · When going through one shell script, I saw the term "$?". What is the significance of this term?

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

    Oct 27, 2021 · What is the purpose of "&&" in a shell command? Asked 14 years, 10 months ago Modified 2 years, 5 months ago Viewed 683k times

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

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

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

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

  10. Newest 'shell' Questions - Stack Overflow

    I am building a shell as part of a school assignment, a limited version of bash. The whole program seems to function alright without any kind on leaks, but when I send invalid/nonexistent …