ssh localhost "nohup sleep 10 > /dev/null 2>&1 &" > /dev/null 2>&1
nohupして出力が返ってこないようにすれば良い。
ssh先のサーバーにスクリプト作っておいてそのスクリプト叩くとかがいいですかね
Go to list of users who liked
More than 5 years have passed since last update.
ssh localhost "nohup sleep 10 > /dev/null 2>&1 &" > /dev/null 2>&1
nohupして出力が返ってこないようにすれば良い。
ssh先のサーバーにスクリプト作っておいてそのスクリプト叩くとかがいいですかね
Register as a new user and use Qiita more conveniently
Go to list of users who liked