close
[sean@localhost ~]$ alias
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias vi='vim'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
[sean@localhost ~]$
--
[sean@localhost ~]$ alias grep='grep --color'
[sean@localhost ~]$ cat /etc/passwd | grep sean
sean:x:501:501::/home/sean:/bin/bash
--
vi /etc/sean/.bashrc
# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions alias grep='grep --color' |
------
移除 alias 設定
unalias
暫時停用
\grep (用反斜線)
全站熱搜