作者gecer (gecer)
看板Linux
标题Linux command line % 意思
时间Wed Nov 8 08:09:19 2023
我看到有的Linux command line 会带有 %
请问这是什麽意思?
-----
Sent from JPTT on my iPhone
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 220.143.217.29 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1699402161.A.EE0.html
1F:推 rickieyang: 就是 % 的意思。 (直接给指令吧…) 11/08 09:17
2F:→ twjasonpc: go ahead, I'm ready for input now 11/08 11:02
3F:→ a0193143: zsh吧,和bash的$是一样的,#代表现在是root 11/08 11:33
4F:→ obarisk: echo $PS1 11/08 19:33
5F:→ Yahweh: 那个叫做 shell prompt 都可以改 11/08 20:42
https://ibb.co/VprXkBB 类似像这样
※ 编辑: gecer (220.143.217.29 台湾), 11/10/2023 18:46:05
6F:推 Gold740716: 就 zsh 版的 $ ,像 bash 一般是 $ ,root 是 # 11/10 22:49
8F:→ MOONRAKER: 到底要多久才会screenshot 11/29 18:01