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

查看所有标签

Introduction to Computation and Programming Using Python

Introduction to Computation and Programming Using Python

John V. Guttag / The MIT Press / 2013-7 / USD 25.00

This book introduces students with little or no prior programming experience to the art of computational problem solving using Python and various Python libraries, including PyLab. It provides student......一起来看看 《Introduction to Computation and Programming Using Python》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

html转js在线工具
html转js在线工具

html转js在线工具