zhizhongzhiwai
V2EX  ›  问与答

怎么样合并一个 Linux shell 脚本和 command

  •  
  •   zhizhongzhiwai · Feb 6, 2017 · 2405 views
    This topic created in 3476 days ago, the information mentioned may be changed or developed.
    分别有一个 a.sh 和 a command
    在 a.sh 中会调用 a
    我想把 a.sh 和 a 合并成一个文件比方说叫 x 。
    当执行 x 的时候, 就完成了类似于在 a.sh 中调用 a 的效果。

    linux 下有这样的工具吗?
    1 replies    2017-02-06 17:17:06 +08:00
    xss
        1
    xss  
       Feb 6, 2017
    你需要 alias
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1098 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 23:43 · PVG 07:43 · LAX 16:43 · JFK 19:43
    ♥ Do have faith in what you're doing.