About 2,820,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. 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 …

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

    Shell equality operators (=, ==, -eq) Asked 11 years, 7 months ago Modified 3 years, 2 months ago Viewed 635k times

  4. shell - Difference between sh and Bash - Stack Overflow

    Dec 14, 2024 · 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, …

  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 set environment variables from .env file - Stack Overflow

    Apr 7, 2017 · 116 Let's say I have .env file contains lines like below: USERNAME=ABC PASSWORD=PASS Unlike the normal ones have export prefix so I cannot source the file …

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

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

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

  9. shell - How to check if a variable is set in Bash - Stack Overflow

    Aug 30, 2010 · How do I know if a variable is set in Bash? For example, how do I check if the user gave the first parameter to a function? function a { # if $1 is set ? }

  10. shell - How to assign the output of a Bash command to a variable ...

    For example, on ksh93, JOBMAX changes the number of background tasks that can be running at once; it's not hard to imagine a shell using NUM_PROCS for something similar.