Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想运行以下命令
ssh data@server.org "cd /home/data/ ; chmod o+rx directory_$DATE"
$DATE 是一个 bash 变量。有没有办法将其解释为变量?
ssh data@server.org "cd /home/data/ ; chmod o+rx directory_\$DATE"