PowerShell、CMD、Linux 命令换行
Linux cmd PowerShell About 320 words场景
运行docker
命令,该命令由多行组成。在Linux
中使用\
表示换行。
docker run \
--name nginx \
-p 80:80 \
nginx
PowerShell
PowerShell
中使用反引号表示换行。
echo hello `
world `
123
输出
PS C:\> echo hello `
>> world `
>> 123
hello
world
123
CMD
CMD
中使用^
表示换行。
echo hello ^
world ^
123
输出
C:\>echo hello ^
More? world ^
More? 123
hello world 123
Views: 2,953 · Posted: 2023-03-10
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓

Loading...