linux command alias 别名

简介: linux command alias 别名

Linux Command Alias 别名

alias命令别名用法:

# save fingers!
alias l='ls'
# long listing of ls
alias ll='ls -l'
# colors and file types
alias lf='ls -CF'   
# sort by filename extension
alias lx='ls -lXB'              
# sort by size
alias lk='ls -lSr'              
# show hidden files
alias la='ls -A'               
# sort by date
alias lt='ls -ltr'              
# other aliases
# launch webpages from terminal
alias bbc='firefox http://www.bbc.co.uk/ &'
alias sd='firefox http://slashdot.org/ &'
alias www='firefox'
# ssh to common destinations by just typing their name
# log in to 'declan'
alias declan='ssh declan'
# log in to work using a non-standard port (222)
alias work='ssh work.example.com -p 222'
# log in to work and tunnel the internal proxy to localhost:80
alias workweb='ssh work.example.com -p 222 -L 80:proxy.example.com:8080'
相关文章
|
关系型数据库 MySQL Shell
【Linux命令】-bash: mysql: command not found
【Linux命令】-bash: mysql: command not found
512 0
|
Ubuntu Linux 数据库
Linux:报错“command not found: yum”及yum和apt-get的区别
Linux:报错“command not found: yum”及yum和apt-get的区别
2607 0
Linux:报错“command not found: yum”及yum和apt-get的区别
|
监控 网络协议 Ubuntu
【权限维持】Linux&Rootkit后门&Strace监控&Alias别名&Cron定时任务
【权限维持】Linux&Rootkit后门&Strace监控&Alias别名&Cron定时任务
791 1
|
存储 Linux Shell
如何在 Linux 中创建别名和使用 Alias 命令?
如何在 Linux 中创建别名和使用 Alias 命令?
908 1
如何在 Linux 中创建别名和使用 Alias 命令?
Linux02---命令基础 Linux命令基础, ls命令入门,ls命令参数和选项,命令行是一种以纯字符操作系统的方式,command命令本身,options命令的细节行为,parameter命令的
Linux02---命令基础 Linux命令基础, ls命令入门,ls命令参数和选项,命令行是一种以纯字符操作系统的方式,command命令本身,options命令的细节行为,parameter命令的
|
Linux Docker 容器
Linux系统之alias别名的基本使用
Linux系统之alias别名的基本使用
1008 1
Linux系统之alias别名的基本使用
|
存储 安全 Shell
【Shell 命令集合 系统设置 】⭐Linux 创建命令别名 alias命令 使用指南
【Shell 命令集合 系统设置 】⭐Linux 创建命令别名 alias命令 使用指南
711 0
|
数据挖掘 Linux 测试技术
Linux中输入所有命令都提示“command not found”,bashrc环境变量异常的解决方案
Linux中输入所有命令都提示“command not found”,bashrc环境变量异常的解决方案
|
Linux Shell
mac/linux提示bash: telnet: command not found
mac/linux提示bash: telnet: command not found
|
Linux
Linux命令(95)之alias
Linux命令(95)之alias
582 0