約 2,400,000 件の結果
リンクを新しいタブで開く
  1. What does $# mean in bash? - Ask Ubuntu

    2017年7月25日 · Furthermore, when you use bash -c, behavior is different than if you run an executable shell script, because in the latter case the argument with index 0 is the shell …

  2. shell - Bash regex =~ operator - Stack Overflow

    2013年10月18日 · What is the operator =~ called? I'm not sure it has a name. The bash documentation just calls it the =~ operator. Is it only used to compare the right side against the …

  3. bash - What is the purpose of "&&" in a shell command? - Stack …

    2021年10月27日 · Furthermore, you also have || which is the logical or, and also ; which is just a separator which doesn't care what happend to the command before.

  4. Bash test: what does "=~" do? - Unix & Linux Stack Exchange

    2017年1月27日 · I realize you said “read the bash man pages” but at first, I thought you meant read the man pages within bash. At any rate, man bash returns a huge file, which is 4139 lines …

  5. What does 'set -e' mean in a Bash script? - Stack Overflow

    By default, Bash does not do this. This default behavior is exactly what you want if you are using Bash on the command line you don't want a typo to log you out! But in a script, you really want …

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

    533 = and == are for string comparisons -eq is for numeric comparisons -eq is in the same family as -lt, -le, -gt, -ge, and -ne == is specific to bash (not present in sh (Bourne shell), ...). Using …

  7. arguments - What is $@ in Bash? - Stack Overflow

    2010年10月10日 · I reckon that the handle $@ in a shell script is an array of all arguments given to the script. Is this true? I ask because I normally use search engines to gather information, but …

  8. What does the -e do in a bash shebang? - Unix & Linux Stack …

    All the bash command line switches are documented in man bash. -e Exit immediately if a pipeline (which may consist of a single simple command), a subshell command enclosed in …

  9. How to compare strings in Bash - Stack Overflow

    2010年2月10日 · Bash always seemed backward with numeric evaluations using an operator consisting of a string (-eq) and string comparisons using a numeric operator "==" or "=" just you …

  10. shell - What does "-ne" mean in bash? - Stack Overflow

    2013年7月17日 · It doesn't mean anything "in bash". [ runs a command called test. -ne is an argument to the test command, not to bash, and you can find its documentation in man test.