0
点赞
收藏
分享

微信扫一扫

SHELL内外置命令

  1. 内外置命令的定义
    内置命令:系统启动时就加载入内存,常驻内存,执行效率高,但是占资源
    外置命令:系统需要从硬盘中读取程序文件,再读入内存加载
  2. 外置命令会单独再开启个子shell
  3. 内置命令不会产生子进程去执行,内置命令和shell是一体的,不需要单独去读取某个文件,系统启动后,就执行在内存中了。
  4. 查看系统所有内置命令
    [root@test ~]# compgen -b
    .
    :
    [
    alias
    bg
    bind
    break
    builtin
    caller
    cd
    command
    compgen
    complete
    compopt
    continue
    declare
    dirs
    disown
    echo
    enable
    eval
    exec
    exit
    export
    false
    fc
    fg
    getopts
    hash
    help
    history
    jobs
    kill
    let
    local
    logout
    mapfile
    popd
    printf
    pushd
    pwd
    read
    readarray
    readonly
    return
    set
    shift
    shopt
    source
    suspend
    test
    times
    trap
    true
    type
    typeset
    ulimit
    umask
    unalias
    unset
    wait
举报

相关推荐

shell命令

Shell 命令脚本

HBase Shell命令

HBase shell命令

0 条评论