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 host rm -rfファイルの削除に使用したいのですがssh host rm -rf /disk/directory/*、結果表示を使用すると
ssh host rm -rf
ssh host rm -rf /disk/directory/*
ssh: No match.
何が問題ですか ?
ありがとう ...
glob パターン*は、に渡される前にローカル シェルによって展開されsshます。
*
ssh
に渡す必要がありますssh。引用符を使用:
ssh host "rm -rf /disk/directory/*"