相关疑难解决方法(0)

使用`sh`和`source`有什么区别?

sh和之间有什么区别source

source: source filename [arguments]
    Read and execute commands from FILENAME and return.  The pathnames
    in $PATH are used to find the directory containing FILENAME.  If any
    ARGUMENTS are supplied, they become the positional parameters when
    FILENAME is executed.
Run Code Online (Sandbox Code Playgroud)

并为man sh:

NAME
       bash - GNU Bourne-Again SHell

SYNOPSIS
       bash [options] [file]

COPYRIGHT
       Bash is Copyright (C) 1989-2004 by the Free Software Foundation, Inc.

DESCRIPTION
       Bash  is  an sh-compatible command language interpreter that executes commands read …
Run Code Online (Sandbox Code Playgroud)

unix linux bash shell

52
推荐指数
3
解决办法
3万
查看次数

标签 统计

bash ×1

linux ×1

shell ×1

unix ×1