which whereis locate find alias file ls cat echotar bzip2 gzip history mv cp rm --------------------------------------------------------------------------------------------------------------------------------------------------linux下的查找命令which,whereis…
一. alias 命令:系统设置命令别名 用法:alias [-p] [name[=value] ... ] 注意‘=’和字符串之间不能包含空格 显示当前设置的别名:alias 或 alias –p [root@localhost ~]# alias alias cp='cp -i' alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' alias grep='grep --color=auto' alias l…
linux bash的执行顺序如下所示: 先 alias --> function --> builtin --> program 后 验证过程: 1,在bash shell中有内置命令 test ,可以通过 type test 查看如下所示: test is a shell builtin 执行 test 时,看不到任何输出,唯一的响应是,新命令提示符被打印了: $ test $ $ which test /usr/bin/test 2,备份 /usr/bin/test ,将可执行的 …
The alias cmd list your current aliases. For example : alias Use alias to shorten a long cmd in current shell session: alias [name=['command']] Use unalias to remove the alias , or use "\"(back-slash) before command to disable alias. Your ~/.bas…