创建alias命令,alias用作将较长的命令简化

语法

 alias   [-p] [name[=value] ...]
 unalias [-a] [name ... ]

选项

-p   打印当前值
-a   删除所有别名

alias如果提供了参数,则打印参数的别名设置
例:$ alias c
输出: alias c=‘clear’

alias如果没有给参数和选项,将打印所有别名列表。

如果您需要使用shell函数,value 不能包含任何位置参数($1等)。
name 不能是alias或unalias。
unalias可用于从定义的别名列表中删除每个名称

alias 持久化

使用您喜欢的文本编辑器创建一个名为〜/ .bash_aliases的文件,并在文件中键入别名命令。
.bash_aliases将在登录时运行(或者您可以使用..bash_aliases执行它)

展开多个别名

如果别名值的最后一个字符是空格或制表符,则还会检查别名后面一个命令的别名扩展。

示例:

创建一个清除屏幕的别名c:

$ alias c='clear'

创建一个别名ls,将改变的默认ls:

$ alias ls='ls --classify'
$ ls 
$ unalias ls  

ls的更多别名:

$ alias la='ls -lAXh --color=always'   #显示所有, 按扩展名排序 
$ alias ls-al='ls -al'   #别名中间使用'-'
$ alias l="ls -l"
$ alias la="ls -la"

使用别名cd到要分次目录:

 $ alias ..='cd ..' 
 $ alias ...='cd ../..'
 $ alias ....='cd ../../..' 

使用别名来修复丢失的空格错误:

 $ alias cd..='cd ..'

显示当前目录

$ alias .='echo $PWD'

通过使rm交互来防止意外删除:

 $ alias rm='rm -i'

缩短apt-get安装命令:

  alias canhaz='sudo apt-get install'

运行firefox并打开一个特定的网站:

 alias fftr='/home/simon/firefox/firefox https://ss64.com'

alias 命令实例:

linux命令:alias game='DRI_PRIME=1' game='DRI_PRIME=1' alias alias game='DRI_PRIME=1'rootopen.com
linux命令:alias game='DRI_PRIME=1' game='DRI_PRIME=1' alias alias game='DRI_PRIME=1'rootopen.com
2019-02-12 21:00:24

linux命令:alias vcb='xclip -i -selection clipboard -o | vim -' -' vim | -o clipboard -selection -i vcb='xclip alias alias vcb='xclip -i -selection clipboard -o | vim -'rootopen.com
linux命令:alias vcb='xclip -i -selection clipboard -o | vim -' -' vim | -o clipboard -selection -i vcb='xclip alias alias vcb='xclip -i -selection clipboard -o | vim -'rootopen.com
2018-12-22 21:28:10

linux命令:alias ls='ls -lhGpt --color=always' --color=always' -lhGpt ls='ls alias alias ls='ls -lhGpt --color=always'rootopen.com
linux命令:alias ls='ls -lhGpt --color=always' --color=always' -lhGpt ls='ls alias alias ls='ls -lhGpt --color=always'rootopen.com
2018-12-08 16:39:34

linux命令:alias mkdirr='function _mkdirr(){ mkdir $1 && cd $_;};_mkdirr' $_;};_mkdirr' cd && $1 mkdir _mkdirr(){ mkdirr='function alias alias mkdirr='function _mkdirr(){ mkdir $1 && cd $_;};_mkdirr'rootopen.com
linux命令:alias mkdirr='function _mkdirr(){ mkdir $1 && cd $_;};_mkdirr' $_;};_mkdirr' cd && $1 mkdir _mkdirr(){ mkdirr='function alias alias mkdirr='function _mkdirr(){ mkdir $1 && cd $_;};_mkdirr'rootopen.com
2018-11-17 13:01:16

linux命令:alias home='cd /home/tecmint/public_html' /home/tecmint/public_html' home='cd alias alias home='cd /home/tecmint/public_html'rootopen.com
linux命令:alias home='cd /home/tecmint/public_html' /home/tecmint/public_html' home='cd alias alias home='cd /home/tecmint/public_html'rootopen.com
2018-08-19 22:00:15

linux命令:alias alias alias rootopen.com
linux命令:alias alias alias rootopen.com
2018-07-17 22:42:56

linux命令:alias list ='ls -la' -la' ='ls list alias alias list ='ls -la'rootopen.com
linux命令:alias list ='ls -la' -la' ='ls list alias alias list ='ls -la'rootopen.com
2018-07-17 22:40:58

linux命令:alias home='cd /home/dave/public_html' /home/dave/public_html' home='cd alias alias home='cd /home/dave/public_html' rootopen.com
linux命令:alias home='cd /home/dave/public_html' /home/dave/public_html' home='cd alias alias home='cd /home/dave/public_html' rootopen.com
2018-07-17 22:39:23

linux命令:alias please='sudo $(fc -ln -1)' -1)' -ln $(fc please='sudo alias alias please='sudo $(fc -ln -1)'rootopen.com
linux命令:alias please='sudo $(fc -ln -1)' -1)' -ln $(fc please='sudo alias alias please='sudo $(fc -ln -1)'rootopen.com
2018-07-14 16:31:14

linux命令:alias scd='dirs -v; echo -n "select number: "; read newdir; cd -"$newdir"' -"$newdir"' cd newdir; read "; number: "select -n echo -v; scd='dirs alias alias scd='dirs -v; echo -n "select number: "; read newdir; cd -"$newdir"'rootopen.com
linux命令:alias scd='dirs -v; echo -n "select number: "; read newdir; cd -"$newdir"' -"$newdir"' cd newdir; read "; number: "select -n echo -v; scd='dirs alias alias scd='dirs -v; echo -n "select number: "; read newdir; cd -"$newdir"'rootopen.com
2018-01-14 23:01:48

linux命令:alias cr='find . 2>/dev/null -regex '\''.*\.\(c\|cpp\|pc\|h\|hpp\|cc\)$'\'' | xargs grep --color=always -ni -C2' -C2' -ni --color=always grep xargs | '\''.*\.\(c\|cpp\|pc\|h\|hpp\|cc\)$'\'' -regex 2>/dev/null . cr='find alias alias cr='find . 2>/dev/null -regex '\''.*\.\(c\|cpp\|pc\|h\|hpp\|cc\)$'\'' | xargs grep --color=always -ni -C2'rootopen.com
linux命令:alias cr='find . 2>/dev/null -regex '\''.*\.\(c\|cpp\|pc\|h\|hpp\|cc\)$'\'' | xargs grep --color=always -ni -C2' -C2' -ni --color=always grep xargs | '\''.*\.\(c\|cpp\|pc\|h\|hpp\|cc\)$'\'' -regex 2>/dev/null . cr='find alias alias cr='find . 2>/dev/null -regex '\''.*\.\(c\|cpp\|pc\|h\|hpp\|cc\)$'\'' | xargs grep --color=always -ni -C2'rootopen.com
2018-06-05 02:11:48

linux命令:alias counts=sort | uniq -c | sort -nr -nr sort | -c uniq | counts=sort alias alias counts=sort | uniq -c | sort -nrrootopen.com
linux命令:alias counts=sort | uniq -c | sort -nr -nr sort | -c uniq | counts=sort alias alias counts=sort | uniq -c | sort -nrrootopen.com
2018-01-04 16:07:48

linux命令:alias beep='echo -en "\007"' "\007"' -en beep='echo alias alias beep='echo -en "\007"'rootopen.com
linux命令:alias beep='echo -en "\007"' "\007"' -en beep='echo alias alias beep='echo -en "\007"'rootopen.com
2018-02-09 05:50:48

linux命令:alias cdc='cd `pwd -P`' -P`' `pwd cdc='cd alias alias cdc='cd `pwd -P`'rootopen.com
linux命令:alias cdc='cd `pwd -P`' -P`' `pwd cdc='cd alias alias cdc='cd `pwd -P`'rootopen.com
2018-03-07 10:22:48

linux命令:alias rgrep="find . \( ! -name .svn -o -prune \) -type f -print0 | xargs -0 grep" grep" -0 xargs | -print0 f -type \) -prune -o .svn -name ! \( . rgrep="find alias alias rgrep="find . \( ! -name .svn -o -prune \) -type f -print0 | xargs -0 grep"rootopen.com
linux命令:alias rgrep="find . \( ! -name .svn -o -prune \) -type f -print0 | xargs -0 grep" grep" -0 xargs | -print0 f -type \) -prune -o .svn -name ! \( . rgrep="find alias alias rgrep="find . \( ! -name .svn -o -prune \) -type f -print0 | xargs -0 grep"rootopen.com
2018-01-10 21:40:48

linux命令:alias ::='cd ../../' ../../' ::='cd alias alias ::='cd ../../'rootopen.com
linux命令:alias ::='cd ../../' ../../' ::='cd alias alias ::='cd ../../'rootopen.com
2018-01-11 12:31:48

linux命令:alias pfind='ps aux | grep ' ' grep | aux pfind='ps alias alias pfind='ps aux | grep 'rootopen.com
linux命令:alias pfind='ps aux | grep ' ' grep | aux pfind='ps alias alias pfind='ps aux | grep 'rootopen.com
2018-04-16 07:48:48

linux命令:alias ip4grep "grep -E '([0-9]{1,3}\.){3}[0-9]{1,3}'" '([0-9]{1,3}\.){3}[0-9]{1,3}'" -E "grep ip4grep alias alias ip4grep "grep -E '([0-9]{1,3}\.){3}[0-9]{1,3}'"rootopen.com
linux命令:alias ip4grep "grep -E '([0-9]{1,3}\.){3}[0-9]{1,3}'" '([0-9]{1,3}\.){3}[0-9]{1,3}'" -E "grep ip4grep alias alias ip4grep "grep -E '([0-9]{1,3}\.){3}[0-9]{1,3}'"rootopen.com
2018-01-29 18:04:48

linux命令:alias ip4rev "echo \!* | sed 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\4.\3.\2.\1/'" 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\4.\3.\2.\1/'" sed | \!* "echo ip4rev alias alias ip4rev "echo \!* | sed 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\4.\3.\2.\1/'"rootopen.com
linux命令:alias ip4rev "echo \!* | sed 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\4.\3.\2.\1/'" 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\4.\3.\2.\1/'" sed | \!* "echo ip4rev alias alias ip4rev "echo \!* | sed 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\4.\3.\2.\1/'"rootopen.com
2018-01-10 19:16:48

linux命令:alias 'ps?'='ps ax | grep ' ' grep | ax 'ps?'='ps alias alias 'ps?'='ps ax | grep 'rootopen.com
linux命令:alias 'ps?'='ps ax | grep ' ' grep | ax 'ps?'='ps alias alias 'ps?'='ps ax | grep 'rootopen.com
2018-05-06 17:04:48

linux命令:alias s='screen -X screen'; s top; s vi; s man ls; ls; man s vi; s top; s screen'; -X s='screen alias alias s='screen -X screen'; s top; s vi; s man ls;rootopen.com
linux命令:alias s='screen -X screen'; s top; s vi; s man ls; ls; man s vi; s top; s screen'; -X s='screen alias alias s='screen -X screen'; s top; s vi; s man ls;rootopen.com
2018-01-07 22:13:48

linux命令:alias pi='`cat ~/.pi | grep ' ; alias addpi='echo "cd `pwd`" >> ~/.pi' ~/.pi' >> `pwd`" "cd addpi='echo alias ; ' grep | ~/.pi pi='`cat alias alias pi='`cat ~/.pi | grep ' ; alias addpi='echo "cd `pwd`" >> ~/.pi'rootopen.com
linux命令:alias pi='`cat ~/.pi | grep ' ; alias addpi='echo "cd `pwd`" >> ~/.pi' ~/.pi' >> `pwd`" "cd addpi='echo alias ; ' grep | ~/.pi pi='`cat alias alias pi='`cat ~/.pi | grep ' ; alias addpi='echo "cd `pwd`" >> ~/.pi'rootopen.com
2018-05-24 12:31:48

linux命令:alias ll="ls -lh --color=auto" --color=auto" -lh ll="ls alias alias ll="ls -lh --color=auto"rootopen.com
linux命令:alias ll="ls -lh --color=auto" --color=auto" -lh ll="ls alias alias ll="ls -lh --color=auto"rootopen.com
2018-03-17 19:54:48

linux命令:alias rot13='perl -pe "y/A-Za-z/N-ZA-Mn-za-m/;"' "y/A-Za-z/N-ZA-Mn-za-m/;"' -pe rot13='perl alias alias rot13='perl -pe "y/A-Za-z/N-ZA-Mn-za-m/;"'rootopen.com
linux命令:alias rot13='perl -pe "y/A-Za-z/N-ZA-Mn-za-m/;"' "y/A-Za-z/N-ZA-Mn-za-m/;"' -pe rot13='perl alias alias rot13='perl -pe "y/A-Za-z/N-ZA-Mn-za-m/;"'rootopen.com
2018-04-09 01:23:48

linux命令:alias nsl 'netstat -f inet | grep -v CLOSE_WAIT | cut -c-6,21-94 | tail +2' +2' tail | -c-6,21-94 cut | CLOSE_WAIT -v grep | inet -f 'netstat nsl alias alias nsl 'netstat -f inet | grep -v CLOSE_WAIT | cut -c-6,21-94 | tail +2'rootopen.com
linux命令:alias nsl 'netstat -f inet | grep -v CLOSE_WAIT | cut -c-6,21-94 | tail +2' +2' tail | -c-6,21-94 cut | CLOSE_WAIT -v grep | inet -f 'netstat nsl alias alias nsl 'netstat -f inet | grep -v CLOSE_WAIT | cut -c-6,21-94 | tail +2'rootopen.com
2018-06-01 10:05:48

linux命令:alias grep 'gnu grep -i --color=auto' --color=auto' -i grep 'gnu grep alias alias grep 'gnu grep -i --color=auto'rootopen.com
linux命令:alias grep 'gnu grep -i --color=auto' --color=auto' -i grep 'gnu grep alias alias grep 'gnu grep -i --color=auto'rootopen.com
2018-04-23 17:08:48

linux命令:alias apt-get='sudo apt-get' apt-get' apt-get='sudo alias alias apt-get='sudo apt-get'rootopen.com
linux命令:alias apt-get='sudo apt-get' apt-get' apt-get='sudo alias alias apt-get='sudo apt-get'rootopen.com
2018-02-24 18:30:48

linux命令:alias dir="ls -al" -al" dir="ls alias alias dir="ls -al"rootopen.com
linux命令:alias dir="ls -al" -al" dir="ls alias alias dir="ls -al"rootopen.com
2017-12-28 08:06:48

linux命令:alias agi='sudo apt-get install' install' apt-get agi='sudo alias alias agi='sudo apt-get install'rootopen.com
linux命令:alias agi='sudo apt-get install' install' apt-get agi='sudo alias alias agi='sudo apt-get install'rootopen.com
2018-05-17 11:09:48

linux命令:alias acs='apt-cache search' search' acs='apt-cache alias alias acs='apt-cache search'rootopen.com
linux命令:alias acs='apt-cache search' search' acs='apt-cache alias alias acs='apt-cache search'rootopen.com
2018-02-28 10:43:48

linux命令:alias mute="dcop kmix Mixer0 toggleMasterMute\(\) ; dcop kmix Mixer0 masterMute\(\) | sed -e 's/true/muted/' -e 's/false/unmuted/' " " 's/false/unmuted/' -e 's/true/muted/' -e sed | masterMute\(\) Mixer0 kmix dcop ; toggleMasterMute\(\) Mixer0 kmix mute="dcop alias alias mute="dcop kmix Mixer0 toggleMasterMute\(\) ; dcop kmix Mixer0 masterMute\(\) | sed -e 's/true/muted/' -e 's/false/unmuted/' "rootopen.com
linux命令:alias mute="dcop kmix Mixer0 toggleMasterMute\(\) ; dcop kmix Mixer0 masterMute\(\) | sed -e 's/true/muted/' -e 's/false/unmuted/' " " 's/false/unmuted/' -e 's/true/muted/' -e sed | masterMute\(\) Mixer0 kmix dcop ; toggleMasterMute\(\) Mixer0 kmix mute="dcop alias alias mute="dcop kmix Mixer0 toggleMasterMute\(\) ; dcop kmix Mixer0 masterMute\(\) | sed -e 's/true/muted/' -e 's/false/unmuted/' "rootopen.com
2018-02-16 09:17:48

linux命令:alias chop="tr -d '\r\n'" '\r\n'" -d chop="tr alias alias chop="tr -d '\r\n'"rootopen.com
linux命令:alias chop="tr -d '\r\n'" '\r\n'" -d chop="tr alias alias chop="tr -d '\r\n'"rootopen.com
2018-02-19 21:12:48

linux命令:alias pubip='GET http://www.whatismyip.com/automation/n09230945.asp && echo' echo' && http://www.whatismyip.com/automation/n09230945.asp pubip='GET alias alias pubip='GET http://www.whatismyip.com/automation/n09230945.asp && echo'rootopen.com
linux命令:alias pubip='GET http://www.whatismyip.com/automation/n09230945.asp && echo' echo' && http://www.whatismyip.com/automation/n09230945.asp pubip='GET alias alias pubip='GET http://www.whatismyip.com/automation/n09230945.asp && echo'rootopen.com
2018-05-02 07:40:48

linux命令:alias rk='d=$(dcop|grep $PPID) && s=$(dcop $d konsole currentSession) && dcop $d $s renameSession' renameSession' $s $d dcop && currentSession) konsole $d s=$(dcop && $PPID) rk='d=$(dcop|grep alias alias rk='d=$(dcop|grep $PPID) && s=$(dcop $d konsole currentSession) && dcop $d $s renameSession'rootopen.com
linux命令:alias rk='d=$(dcop|grep $PPID) && s=$(dcop $d konsole currentSession) && dcop $d $s renameSession' renameSession' $s $d dcop && currentSession) konsole $d s=$(dcop && $PPID) rk='d=$(dcop|grep alias alias rk='d=$(dcop|grep $PPID) && s=$(dcop $d konsole currentSession) && dcop $d $s renameSession'rootopen.com
2018-01-14 15:19:48

linux命令:alias lrt='ls -lart' -lart' lrt='ls alias alias lrt='ls -lart'rootopen.com
linux命令:alias lrt='ls -lart' -lart' lrt='ls alias alias lrt='ls -lart'rootopen.com
2018-03-24 19:53:48

linux命令:alias ds='dig +noauthority +noadditional +noqr +nostats +noidentify +nocmd +noquestion +nocomments' +nocomments' +noquestion +nocmd +noidentify +nostats +noqr +noadditional +noauthority ds='dig alias alias ds='dig +noauthority +noadditional +noqr +nostats +noidentify +nocmd +noquestion +nocomments'rootopen.com
linux命令:alias ds='dig +noauthority +noadditional +noqr +nostats +noidentify +nocmd +noquestion +nocomments' +nocomments' +noquestion +nocmd +noidentify +nostats +noqr +noadditional +noauthority ds='dig alias alias ds='dig +noauthority +noadditional +noqr +nostats +noidentify +nocmd +noquestion +nocomments'rootopen.com
2018-03-14 19:34:48

linux命令:alias timestamp='date "+%Y%m%dT%H%M%S"' "+%Y%m%dT%H%M%S"' timestamp='date alias alias timestamp='date "+%Y%m%dT%H%M%S"'rootopen.com
linux命令:alias timestamp='date "+%Y%m%dT%H%M%S"' "+%Y%m%dT%H%M%S"' timestamp='date alias alias timestamp='date "+%Y%m%dT%H%M%S"'rootopen.com
2018-05-20 03:18:48

linux命令:alias mine='ps xco pid,command,%cpu,%mem,state' pid,command,%cpu,%mem,state' xco mine='ps alias alias mine='ps xco pid,command,%cpu,%mem,state'rootopen.com
linux命令:alias mine='ps xco pid,command,%cpu,%mem,state' pid,command,%cpu,%mem,state' xco mine='ps alias alias mine='ps xco pid,command,%cpu,%mem,state'rootopen.com
2017-12-27 05:24:48

linux命令:alias wordpress='mkdir wordpress && cd wordpress && wget http://wordpress.org/latest.tar.gz && tar -xvzf latest.tar.gz && mv wordpress/* . && rm -rf latest.tar.gz wordpress && cp wp-config-sample.php wp-config.php' wp-config.php' wp-config-sample.php cp && wordpress latest.tar.gz -rf rm && . wordpress/* mv && latest.tar.gz -xvzf tar && http://wordpress.org/latest.tar.gz wget && wordpress cd && wordpress wordpress='mkdir alias alias wordpress='mkdir wordpress && cd wordpress && wget http://wordpress.org/latest.tar.gz && tar -xvzf latest.tar.gz && mv wordpress/* . && rm -rf latest.tar.gz wordpress && cp wp-config-sample.php wp-config.php'rootopen.com
linux命令:alias wordpress='mkdir wordpress && cd wordpress && wget http://wordpress.org/latest.tar.gz && tar -xvzf latest.tar.gz && mv wordpress/* . && rm -rf latest.tar.gz wordpress && cp wp-config-sample.php wp-config.php' wp-config.php' wp-config-sample.php cp && wordpress latest.tar.gz -rf rm && . wordpress/* mv && latest.tar.gz -xvzf tar && http://wordpress.org/latest.tar.gz wget && wordpress cd && wordpress wordpress='mkdir alias alias wordpress='mkdir wordpress && cd wordpress && wget http://wordpress.org/latest.tar.gz && tar -xvzf latest.tar.gz && mv wordpress/* . && rm -rf latest.tar.gz wordpress && cp wp-config-sample.php wp-config.php'rootopen.com
2018-02-19 00:58:48

linux命令:alias trash="rm -fr ~/.local/share/Trash" ~/.local/share/Trash" -fr trash="rm alias alias trash="rm -fr ~/.local/share/Trash"rootopen.com
linux命令:alias trash="rm -fr ~/.local/share/Trash" ~/.local/share/Trash" -fr trash="rm alias alias trash="rm -fr ~/.local/share/Trash"rootopen.com
2018-05-03 22:27:48

linux命令:alias calc 'echo "scale=4;\!*"|bc -l'; alias xcalc 'echo "\!*"|bc -l' -l' "\!*"|bc 'echo xcalc alias -l'; "scale=4;\!*"|bc 'echo calc alias alias calc 'echo "scale=4;\!*"|bc -l'; alias xcalc 'echo "\!*"|bc -l'rootopen.com
linux命令:alias calc 'echo "scale=4;\!*"|bc -l'; alias xcalc 'echo "\!*"|bc -l' -l' "\!*"|bc 'echo xcalc alias -l'; "scale=4;\!*"|bc 'echo calc alias alias calc 'echo "scale=4;\!*"|bc -l'; alias xcalc 'echo "\!*"|bc -l'rootopen.com
2018-05-11 08:15:48

linux命令:alias vb='vim ~/.bashrc; source ~/.bashrc' ~/.bashrc' source ~/.bashrc; vb='vim alias alias vb='vim ~/.bashrc; source ~/.bashrc'rootopen.com
linux命令:alias vb='vim ~/.bashrc; source ~/.bashrc' ~/.bashrc' source ~/.bashrc; vb='vim alias alias vb='vim ~/.bashrc; source ~/.bashrc'rootopen.com
2018-04-01 10:49:48

linux命令:alias lh='ls -a | egrep "^\."' "^\."' egrep | -a lh='ls alias alias lh='ls -a | egrep "^\."'rootopen.com
linux命令:alias lh='ls -a | egrep "^\."' "^\."' egrep | -a lh='ls alias alias lh='ls -a | egrep "^\."'rootopen.com
2018-05-03 18:04:48

linux命令:alias path='echo $PATH | tr ":" "\n"' "\n"' ":" tr | $PATH path='echo alias alias path='echo $PATH | tr ":" "\n"'rootopen.com
linux命令:alias path='echo $PATH | tr ":" "\n"' "\n"' ":" tr | $PATH path='echo alias alias path='echo $PATH | tr ":" "\n"'rootopen.com
2018-04-05 12:50:48

linux命令:alias lvim="vim -c \"normal '0\"" '0\"" \"normal -c lvim="vim alias alias lvim="vim -c \"normal '0\""rootopen.com
linux命令:alias lvim="vim -c \"normal '0\"" '0\"" \"normal -c lvim="vim alias alias lvim="vim -c \"normal '0\""rootopen.com
2017-12-30 15:11:48

linux命令:alias ..='cd ..' ..' ..='cd alias alias ..='cd ..'rootopen.com
linux命令:alias ..='cd ..' ..' ..='cd alias alias ..='cd ..'rootopen.com
2018-02-22 09:59:48

linux命令:alias pst='pstree -Alpha' -Alpha' pst='pstree alias alias pst='pstree -Alpha'rootopen.com
linux命令:alias pst='pstree -Alpha' -Alpha' pst='pstree alias alias pst='pstree -Alpha'rootopen.com
2018-02-18 17:41:48

linux命令:alias opened='p4 opened | awk -F# "{print \$1}"' \$1}"' "{print -F# awk | opened opened='p4 alias alias opened='p4 opened | awk -F# "{print \$1}"'rootopen.com
linux命令:alias opened='p4 opened | awk -F# "{print \$1}"' \$1}"' "{print -F# awk | opened opened='p4 alias alias opened='p4 opened | awk -F# "{print \$1}"'rootopen.com
2018-01-20 23:22:48

linux命令:alias mux='clear && cd ~/Music/ && ls && echo -n "File> " && read msi && mplayer ~/Music/$msi' ~/Music/$msi' mplayer && msi read && " "File> -n echo && ls && ~/Music/ cd && mux='clear alias alias mux='clear && cd ~/Music/ && ls && echo -n "File> " && read msi && mplayer ~/Music/$msi'rootopen.com
linux命令:alias mux='clear && cd ~/Music/ && ls && echo -n "File> " && read msi && mplayer ~/Music/$msi' ~/Music/$msi' mplayer && msi read && " "File> -n echo && ls && ~/Music/ cd && mux='clear alias alias mux='clear && cd ~/Music/ && ls && echo -n "File> " && read msi && mplayer ~/Music/$msi'rootopen.com
2017-12-31 08:48:48

linux命令:alias myip='curl -s www.wieistmeineip.de | egrep -o "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"' "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"' -o egrep | www.wieistmeineip.de -s myip='curl alias alias myip='curl -s www.wieistmeineip.de | egrep -o "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"'rootopen.com
linux命令:alias myip='curl -s www.wieistmeineip.de | egrep -o "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"' "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"' -o egrep | www.wieistmeineip.de -s myip='curl alias alias myip='curl -s www.wieistmeineip.de | egrep -o "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"'rootopen.com
2018-04-29 01:10:48

Linux的Bash命令行(A-Z排序)