About 1,120,000 results
Open links in new tab
  1. Shell scripting: -z and -n options with if - Unix & Linux Stack …

    Jan 16, 2014 · Shell scripting: -z and -n options with if Ask Question Asked 11 years, 9 months ago Modified 9 months ago

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

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

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

  4. What does -f mean in an if statement in a bash script?

    Jul 5, 2018 · -1 This answer is very misleading, following on from the question’s misleading title. -f has nothing to do with if; it is an option for the [ command, which just happens to be called …

  5. What does $# mean in shell? - Unix & Linux Stack Exchange

    What does $# mean in shell? I have code such as if [ $# -eq 0 ] then I want to understand what $# means, but Google search is very bad for searching these kinds of things.

  6. bash - What does <<< mean? - Unix & Linux Stack Exchange

    That's OK if your need for the values is contained, but you still don't have those variables in the current shell of your script. To remedy this confusing situation, use a here string:

  7. What is $* and $# in Linux? - Super User

    Dec 12, 2014 · What do the following environment variables in Linux mean? What is $* (dollar sign followed by an asterisk)? What is $# (dollar sign next to a hash mark/number …

  8. Precedence of the shell logical operators - Unix & Linux Stack …

    This has confused me a lot in trying to write shell script pipelines with different logic based on some test (e.g. exiting if a file doesn't exist vs continuing the pipeline).

  9. How to activate python virtualenv through shell script?

    Apr 30, 2020 · The same thing I am trying to achieve I have to run this command source .venv/bin/activate through a bash script which is not running, as I need the env should get …

  10. Shell script echo new line to file - Super User

    Shell script echo new line to file Ask Question Asked 14 years, 3 months ago Modified 12 years, 2 months ago