this post was submitted on 21 Sep 2024
164 points (97.1% liked)

Asklemmy

43417 readers
1972 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] notfromhere@lemmy.ml 25 points 1 day ago (14 children)

Since nobody has said yet, I use screen pretty heavily. Want to run a long running task, starting it from your phone? Run screen to create a detachable session then the long running command. You can then safely close out of your terminal or detach with ctrl a, d and continue in your terminal doing something else. screen -r to get back to it.

[โ€“] papertowels@lemmy.one 7 points 1 day ago (4 children)

In a similar vein, nohup lets you send tasks to the background and seems to be everywhere.

[โ€“] pyr0ball@sh.itjust.works 3 points 14 hours ago (2 children)

You can't mention nohup without at least mentioning kill -9 or pkill to slay the monster you created you madman

[โ€“] olafurp@lemmy.world 1 points 44 minutes ago

Eyyy, don't hate, this is how I start all my work programs. That command is really nice and creates all work programs as children of a single terminal session for easy closing later.

[โ€“] papertowels@lemmy.one 2 points 14 hours ago (1 children)

Sometimes I'll just reboot the entire damn machine just to be safe ;)

[โ€“] Sorse@discuss.tchncs.de 2 points 12 hours ago

shutdown -r now

load more comments (1 replies)
load more comments (10 replies)