会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Nihaorz
博客园
首页
新随笔
联系
订阅
管理
2023年5月11日
shell echo 命令中转义单引号
摘要: 使用 '\'' 代替要转义的单引号,如下所示 [root@localhost ~]# echo 'alias ll='\''ls -l'\''' > text.txt [root@localhost ~]# cat text.txt alias ll='ls -l' [root@localhost
阅读全文
posted @ 2023-05-11 15:42 Nihaorz
阅读(141)
评论(0)
推荐(0)
公告