小编Ano*_*ous的帖子

正确转义引号

我有以下命令:

python -c 'import crypt; print(crypt.crypt("$Password", crypt.mksalt(crypt.METHOD_SHA512)))'
Run Code Online (Sandbox Code Playgroud)

$Passwordshell变量在哪里。如何将其正确扩展为变量,而不是将其视为文字?

shell bash python quoting

3
推荐指数
1
解决办法
896
查看次数

标签 统计

bash ×1

python ×1

quoting ×1

shell ×1