Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the unalias command of linux to cancel the command alias

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you the use of linux unalias command to cancel the command alias, I believe that most people do not know much, so share this article for you to learn, I hope you will learn a lot after reading this article, let's go to learn the method!

The unalias command is used to cancel the command alias and is a built-in command for shell. If you need to cancel any of the command aliases, you can use the command alias as an argument option for the instruction. If you use the-an option, it cancels all existing command aliases.

Syntax format: unalias [parameter] [alias]

Common parameters:

Reference example

Set an alias first:

[root@linuxcool ~] # alias iTunes'[root@linuxcool ~] # iIGI Leader NetEase

Use the unalias command to cancel the command alias "I" that has been set:

[root@linuxcool ~] # unalias I

After the above command is executed, the system cancels the specified command alias. If you use the command alias again, the system prompts you with the following information:

[root@linuxcool ~] # i-bash: I: command not found above is all the contents of canceling command aliases using linux's unalias command. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report