[Share Experiences] ll,tailf命令
Tofloor
poster avatar
huper
deepin
2023-06-30 19:26
Author

1、vim ~/.bashrc

2、在文件末尾添加

alias ll="ls -l"
alias tailf="tail -f"

3、. .bashrc (即时生效)

后续打开会自动生效

这两个在其他发行版里默认会有配置。

注:alias 是linux下给命令起别名的命令,也可以理解为基于现有命令自定义新命令的命令。

Reply Favorite View the author
All Replies
wlly-lzh
deepin
2023-06-30 19:59
#1

like

学到了

Reply View the author
阿尼樱奈奈
Moderator
2023-06-30 20:17
#2

applaud

Reply View the author
xuqi
deepin testing team
2023-06-30 21:23
#3
  • 不错~👍
Reply View the author
三好市民
deepin
2023-07-10 02:32
#4

收藏备用

Reply View the author