ls -l
cat ( ls -l ‘cat /etc/shells’)
tail (主要是用在查看密码文件,比如/etc/passwd) tail /etc/shell
set |grep UID(当前用户id)
set|grep USER (当前用户)
which ifconfig(查找ifconfig在那个shell中)
PS1 命令提示符前边的东西
\可以转义回车
$1 $2 shell的第一个变量和第二个变量
$0 名称
chmod 744 ()
$#位置参数的数量
unset
export DAY=FIR
CTRL+K光标到最后 —删除
history -c清除命令提示行
alias grep=’grep i’
.bashrc 存放别名文件的
alias ll=’ls -l ‘
unalias
时间:2012-04-15 08:27:19
Latest posts by Zhiming Zhang (see all)
- aws eks node 自动化扩展工具 Karpenter - 8月 10, 2022
- ReplicationController and ReplicaSet in Kubernetes - 12月 20, 2021
- public key fingerprint - 5月 27, 2021