About 2,850,000 results
Open links in new tab
  1. linux - What does $@ mean in a shell script? - Stack Overflow

    Apr 3, 2012 · What does a dollar sign followed by an at-sign (@) mean in a shell script? For example: umbrella_corp_options $@

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

    Closed 10 years ago. 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 …

  3. Difference between ${} and $() in a shell script - Super User

    $(command) is “command substitution”. As you seem to understand, it runs the command, captures its output, and inserts that into the command line that contains the $(…); e.g., $ ls -ld …

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

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

    More precisely, a double dash (--) is used in most Bash built-in commands and many other commands to signify the end of command options, after which only positional ("non-option") …

  6. shell - How can Bash execute a command in a different directory …

    The script affects the files that live inside the directory it is run within. Now, I also have a custom shell script that does some things in one directory, but I need to call that command mentioned …

  7. missing `]' 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. How do you run multiple programs in parallel from a bash script?

    Jun 13, 2016 · To run multiple programs in parallel: prog1 & prog2 & If you need your script to wait for the programs to finish, you can add: wait at the point where you want the script to wait …

  9. shell - What is the "eval" command in bash? - Unix & Linux Stack …

    What can you do with the eval command? Why is it useful? Is it some kind of a built-in function in bash? There is no man page for it..

  10. How do I get into a Docker container's shell? - Stack Overflow

    May 11, 2015 · docker debug <container or image> It allows you to get a shell (bash/fish/zsh) into any container. It also works for stopped containers and images. Essentially it's a replacement …