In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Alias
Alias prints a list of aliases in the form of "name=value" on standard output without arguments or using the-p option. When a parameter is provided, define an alias for each name given by its value. The trailing space in the value causes you to check whether the next word replaces the alias when you extend the alias. For each name in the parameter list for which no value is provided, the name and value of the alias are printed. Aliases return true unless you give a name for which no aliases are defined.
The scope of application of this command: RedHat, RHEL, Ubuntu, CentOS, Fedora.
1. Grammar
Alias [- p] [name [= value]...]
2. List of options
Option
Description
-p
List all aliases as "key=val"
3. Examples
Delete aliases that have been defined
[root@localhost ~] # alias / / View aliases have been defined and mytail no longer exists
Alias cp='cp-i'
Alias l.='ls-d. *-color=auto'
Alias ll='ls-l-color=auto'
Alias ls='ls-color=auto'
Alias mv='mv-i'
Alias rm='rm-i'
Alias which='alias | / usr/bin/which-tty-only-read-alias-show-dot-show-tilde'
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.