RHCSA創建用戶命令別名

當前用戶永久生效的命令別名 (1)寫一個命令別名爲hello,實現的功能爲每輸入一次hello命令,就有hello,everyone寫入file.txt [[email protected] ~]# alias hello=‘echo hello everyone >> /file.txt’ [[email protected] ~]# hello [[email protected] ~]# c
相關文章
相關標籤/搜索