To ensure that the command continues to execute even after the SSH session is closed

To ensure that the command continues to execute even after the SSH session is closed, you can use the nohup command or the screen/tmux utilities.

Using nohup

nohup bash <(wget -qO- check.unlock.media) &

The nohup command runs another command in the background and ignores the hangup signal, ensuring it continues running after the SSH session is closed. The & at the end puts the process in the background.

Using screen or tmux

You can also use screen or tmux to create a persistent terminal session:

  1. Start a screen or tmux session:
   screen

or

   tmux
  1. Run your command:
   bash <(wget -qO- check.unlock.media)
  1. Detach from the session: For screen, press Ctrl-a then d. For tmux, press Ctrl-b then d.

The command will continue to run in the background, and you can log out of the SSH session. You can later reattach to the session using screen -r or tmux attach.

No Comments

Send Comment Edit Comment


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
Previous
Next