Linux unalias命令

Linux 教程 · 2019-02-17 17:56:59

Linux unalias命令用于删除别名。

unalias为shell内建指令,可删除别名设置。

语法

unalias [-a][别名]

参数

  • -a  删除全部的别名。

实例

给命令设置别名

[root@w3cschool.cc ~]# alias lx=ls
[root@w3cschool.cc ~]# lx
anaconda-ks.cfg Desktop install.log install.log.syslog qte

删除别名

[root@w3cschool.cc ~]# alias lx //显示别名
alias lx='ls'
[root@w3cschool.cc ~]# unalias lx //删除别名
[root@w3cschool.cc ~]# lx
-bash: lx: command not found

点击查看所有 Linux 教程 文章: https://codercto.com/courses/l/14.html

查看所有标签

Programming the Mobile Web

Programming the Mobile Web

Maximiliano Firtman / O'Reilly Media / 2010-07-23 / $44.99

* Learn how to use your existing skills to move into mobile web development * Discover the new possibilities of mobile web development, and understand its limitations * Get detailed coverage of ......一起来看看 《Programming the Mobile Web》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器