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.
Macまたは他のLinuxからsshを介してサーバーでnanoを使用する際に問題があります。ssh 経由で端末に「sleep 10」と書き込むと、動作します。「echo "sleep 10" > test.sh」とsh test.shを実行すると、機能します。nano を開いて「sleep 10」と書き込んで test.sh として保存し、「sh test.sh」を実行しても、10\r の無効な時間間隔と言って機能しません。
何か案は?
thx前進