About 65 results
Open links in new tab
  1. 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.

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

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

  3. Shell 主要的作用是什么? - 知乎

    Shell就是命令行工具的胶水,没有任何语言能像Shell一样方便地将一大堆命令行工具组合起来。原则上来说,Shell做什么都可以,但显然它最适合的是自动化,因为只需要将你原来手动敲的命令都复制 …

  4. shell脚本在实际工作中用来解决什么问题? - 知乎

    4 Aug 2020 · shell是一个C语言编写的脚本语言,它是用户与linux的桥梁,用户输入命令交给shell来处理,shell将相应的操作传递给内核,内核把处理的结果输出给用户。 可参考如下流程示意图: 简单来 …

  5. シェルスクリプトの特殊変数「$?」について | teratail

    9 Oct 2017 · 件名の通りシェルスクリプトの特殊変数「$?」について質問があります。 「$?」は直前実行したコマンドの終了値(0は成功、1は失敗)という認識なのですが、 インターネットでは場合 …

  6. Shell命令和Linux命令有什么区别? - 知乎

    Shell脚本: 除了手动输入命令,用户还可以编写Shell脚本,这是包含一系列Shell命令的文本文件。 通过运行脚本,用户可以批量执行一系列命令,从而自动化和简化任务。 然后再来看看他们的区别: 1.

  7. linux shell哪种更常用,这些shell各有什么特长? - 知乎

    7 Apr 2015 · Bourne Shell的功能 Bourne Shell的默认Shell提示符是$符号,它是第一个使用此字符作为提示符的Shell。 它具有对输入输出重定向,Unicode,流重定向,批处理脚本等的内置支持。 尽管最 …

  8. Difference between Login Shell and Non-Login Shell?

    8 May 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 examples for uses of...

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

    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") arguments are …

  10. 如何通俗解释shell、kernel、bash、Terminal的关系? - 知乎

    通俗解释shell、kernel、bash、Terminal的关系1) Shell是光信号处理器,能把看到的东西传到大脑kernel,…