当前位置: 首页 > news >正文

无锡网站建设企业学历提升的重要性

无锡网站建设企业,学历提升的重要性,免费域名注册可解析,wordpress用php哪个版本linux命令之alias 1.alias介绍 linux命令alias是用来将/bin目录下的命令进行别名设置,将一些较长的命令进行简化。 alias命令的作用只局限于该次登入的操作,相当于临时变量。 如果对当前用户永久生效,需修改~/.bashrc文件,使用…

linux命令之alias

1.alias介绍

linux命令alias是用来将/bin目录下的命令进行别名设置,将一些较长的命令进行简化。

alias命令的作用只局限于该次登入的操作,相当于临时变量。

如果对当前用户永久生效,需修改~/.bashrc文件,使用命令source .bashrc生效。

如果对全局用户生效,需修改/etc/profile或/etc/bashrc文件,使用命令source /etc/profile或source /etc/bashrc生效。

2.alias用法

alias [参数] key=value

alias参数
参数说明
-p以可重用的格式打印所有的已定义的别名

3.实例

3.1.alias帮助

命令:

help alias

[root@centos79-3 ~]# help alias
alias: alias [-p] [name[=value] ... ]Define or display aliases.Without arguments, `alias' prints the list of aliases in the reusableform `alias NAME=VALUE' on standard output.Otherwise, an alias is defined for each NAME whose VALUE is given.A trailing space in VALUE causes the next word to be checked foralias substitution when the alias is expanded.Options:-p	Print all defined aliases in a reusable formatExit Status:alias returns true unless a NAME is supplied for which no alias has beendefined.
[root@centos79-3 ~]# 

3.2.设置临时别名

命令:

alias cp='echo aaaaa'

[root@centos79-3 ~]# alias cp='echo aaaaa'
[root@centos79-3 ~]# alias cp
alias cp='echo aaaaa'
[root@centos79-3 ~]# 

3.3.打印所有已定义的别名

命令:

alias -p

[root@centos79-3 ~]# alias -p
alias cp='echo aaaaa'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
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'
[root@centos79-3 ~]# 

3.4.取消cp别名设置

命令:

unalias cp

[root@centos79-3 ~]# unalias cp
[root@centos79-3 ~]# alias cp
-bash: alias: cp: not found

3.5.取消所有别名设置

命令:

unalias -a

备注:

-a :取消所有命令别名

[root@centos79-3 ~]# unalias -a
[root@centos79-3 ~]# alias
[root@centos79-3 ~]# 

3.6.unalias帮助

命令:

help unalias

[root@centos79-3 ~]# help unalias
unalias: unalias [-a] name [name ...]Remove each NAME from the list of defined aliases.Options:-a	remove all alias definitions.Return success unless a NAME is not an existing alias.
[root@centos79-3 ~]# 

http://www.yayakq.cn/news/592574/

相关文章:

  • 国外服务器做网站wordpress可以装在子目录下
  • 美工怎么做网站效果图哪些网站用户体验好
  • 网站体验分享做网站花都区
  • 有免费制作单页的网站吗浙江省住房和城乡建设厅网站查询
  • 网站页面设计欣赏模板天津网站建设设计
  • 网站外包注意事项3d动画制作自学教程
  • 网站如何做单项链接汉中软件开发项目管理
  • 做的比较简约的网站网站建设案例欣赏
  • 网站建设方案封面武清做网站的
  • 电脑做网站空间公众号开发者密码重置
  • 网页设计欣赏英文seo网站页面诊断
  • 中山金舜家庭用品有限公司怎样网站地图大专软件技术好就业吗
  • 企业网站建设合同书盖章页马鞍山人才网
  • 品牌网站推广软件access建网站
  • 辽宁智能网站建设价位wordpress 多分类
  • 免费个人网站空间申请贵州省两学一做网站
  • 信息类网站怎么做网络销售平台有哪些软件
  • 网站设计培训成都哪家好建湖做网站
  • 网站推广易网宣wordpress用户自定义作者
  • 网站开发怎样验收行业网站建设哪家好
  • 含山县建设局网站下载百度我的订单
  • 网站模板怎么进建设网站计入什么科目
  • 织梦怎么设置网站首页网站百度关键词优化
  • 建立企业网站需要什么广告设计与制作包括哪些
  • 人才网站的seo怎么做威海住房和城乡建设厅网站
  • 凡科建站官网登录wordpress 淘宝客赚钱
  • aspcms网站打不开即时聊天app开发
  • 买个域名后怎么做网站中国logo设计制作网
  • 物流企业网站建设特色惠州淡水网站建设公司
  • 游戏官网做的好的网站西安英文旅游网站建设