{"id":160036,"date":"2019-10-11T11:13:07","date_gmt":"2019-10-11T03:13:07","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=160036"},"modified":"2019-10-17T10:58:47","modified_gmt":"2019-10-17T02:58:47","slug":"linux-alias","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-alias.html","title":{"rendered":"Linux Alias \u547d\u4ee4\u7b80\u5355\u4ecb\u7ecd"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u60a8\u53ef\u4ee5\u901a\u8fc7\u4e3a\u6700\u5e38\u7528\u7684\u547d\u4ee4\u521b\u5efa\u522b\u540d\u6765\u8282\u7701\u4e00\u4e9b\u65f6\u95f4\u3002 \u522b\u540d\u5c31\u50cf\u81ea\u5b9a\u4e49\u5feb\u6377\u65b9\u5f0f\uff0c\u7528\u4e8e\u8868\u793a\u4f7f\u7528\u6216\u4e0d\u4f7f\u7528\u81ea\u5b9a\u4e49\u9009\u9879\u6267\u884c\u7684\u547d\u4ee4\uff08\u6216\u547d\u4ee4\u96c6\uff09\u3002 \u60a8\u53ef\u80fd\u5df2\u5728Linux\u7cfb\u7edf\u4e0a\u4f7f\u7528\u522b\u540d\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n Linux\u7528\u6237\u7ecf\u5e38\u9700\u8981\u53cd\u590d\u4f7f\u7528\u4e00\u4e2a\u547d\u4ee4\u3002 \u4e00\u6b21\u53c8\u4e00\u6b21\u5730\u952e\u5165\u6216\u590d\u5236\u76f8\u540c\u7684\u547d\u4ee4\u4f1a\u964d\u4f4e\u60a8\u7684\u5de5\u4f5c\u6548\u7387\uff0c\u5e76\u5206\u6563\u60a8\u7684\u5b9e\u9645\u64cd\u4f5c\u3002<\/p>\n \u60a8\u53ef\u4ee5\u901a\u8fc7\u4e3a\u6700\u5e38\u7528\u7684\u547d\u4ee4\u521b\u5efa\u522b\u540d\u6765\u8282\u7701\u4e00\u4e9b\u65f6\u95f4\u3002 \u522b\u540d\u5c31\u50cf\u81ea\u5b9a\u4e49\u5feb\u6377\u65b9\u5f0f\uff0c\u7528\u4e8e\u8868\u793a\u4f7f\u7528\u6216\u4e0d\u4f7f\u7528\u81ea\u5b9a\u4e49\u9009\u9879\u6267\u884c\u7684\u547d\u4ee4\uff08\u6216\u547d\u4ee4\u96c6\uff09\u3002 \u60a8\u53ef\u80fd\u5df2\u5728Linux\u7cfb\u7edf\u4e0a\u4f7f\u7528\u522b\u540d\u3002<\/p>\n \u5217\u51faLinux\u4e2d\u5f53\u524d\u5b9a\u4e49\u7684\u522b\u540d<\/strong><\/div>\n \u53ea\u9700\u6267\u884calias\u547d\u4ee4\uff0c\u5373\u53ef\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u770b\u5230\u5df2\u5b9a\u4e49\u522b\u540d\u7684\u5217\u8868\u3002<\/p>\n [linuxidc@localhost www.linuxidc.com]$ alias\r\nalias egrep='egrep --color=auto'\r\nalias fgrep='fgrep --color=auto'\r\nalias grep='grep --color=auto'\r\nalias l.='ls -d .* --color=auto'\r\nalias ll='ls -l --color=auto'\r\nalias ls='ls --color=auto'\r\nalias running_services='systemctl list-units\u00a0 --type=service\u00a0 --state=running'\r\nalias vi='vim'\r\nalias which='alias | \/usr\/bin\/which --tty-only --read-alias --show-dot --show-tilde'<\/pre>\n |