this post was submitted on 19 Apr 2025
948 points (87.9% liked)

linuxmemes

25031 readers
1214 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    (page 2) 50 comments
    sorted by: hot top controversial new old
    [–] hector@sh.itjust.works 20 points 1 month ago

    Linux is actually great if you need to implement graceful shutdown with signals -- I love it all around :)))

    [–] Rivalarrival@lemmy.today 5 points 1 month ago

    Unass my ram.

    [–] penfore@lemmy.world 64 points 1 month ago (4 children)

    I've never seen anything graceful in windows

    load more comments (3 replies)
    [–] yiyijiji@europe.pub 12 points 1 month ago

    and this how I deleted the file I edited the entire day: shutdown -h now. No go to bed NOW!

    [–] fossilesque@mander.xyz 9 points 1 month ago* (last edited 1 month ago)

    KILL KILL KILL

    [–] ExLisper@lemmy.curiana.net 8 points 1 month ago

    Personally, I find xkill quite graceful.

    [–] h4x0r@lemmy.dbzer0.com 25 points 1 month ago (1 children)
    $ kill -L
     1) SIGHUP	 2) SIGINT	 3) SIGQUIT	 4) SIGILL	 5) SIGTRAP
     6) SIGABRT	 7) SIGBUS	 8) SIGFPE	 9) SIGKILL	10) SIGUSR1
    11) SIGSEGV	12) SIGUSR2	13) SIGPIPE	14) SIGALRM	15) SIGTERM
    16) SIGSTKFLT	17) SIGCHLD	18) SIGCONT	19) SIGSTOP	20) SIGTSTP
    21) SIGTTIN	22) SIGTTOU	23) SIGURG	24) SIGXCPU	25) SIGXFSZ
    26) SIGVTALRM	27) SIGPROF	28) SIGWINCH	29) SIGIO	30) SIGPWR
    31) SIGSYS	34) SIGRTMIN	35) SIGRTMIN+1	36) SIGRTMIN+2	37) SIGRTMIN+3
    38) SIGRTMIN+4	39) SIGRTMIN+5	40) SIGRTMIN+6	41) SIGRTMIN+7	42) SIGRTMIN+8
    43) SIGRTMIN+9	44) SIGRTMIN+10	45) SIGRTMIN+11	46) SIGRTMIN+12	47) SIGRTMIN+13
    48) SIGRTMIN+14	49) SIGRTMIN+15	50) SIGRTMAX-14	51) SIGRTMAX-13	52) SIGRTMAX-12
    53) SIGRTMAX-11	54) SIGRTMAX-10	55) SIGRTMAX-9	56) SIGRTMAX-8	57) SIGRTMAX-7
    58) SIGRTMAX-6	59) SIGRTMAX-5	60) SIGRTMAX-4	61) SIGRTMAX-3	62) SIGRTMAX-2
    63) SIGRTMAX-1	64) SIGRTMAX
    
    [–] letsgo@lemm.ee 17 points 1 month ago (2 children)

    So does kill -4 just make the program a bit poorly?

    [–] el_bhm@lemm.ee 11 points 1 month ago (1 children)

    It starts playing Beastie Boys over PC speaker

    load more comments (1 replies)
    load more comments (1 replies)
    [–] Realitaetsverlust@lemmy.zip 89 points 1 month ago (2 children)

    Linux does give every application time to shut down correctly, but unlike windows, it won't wait for ages until every process is down. Linux WILL shut down in a certain timeframe, whereas windows waits for years if necessary. In my old job, we all had to use windows and I had times where I clicked shut down, turned off my monitor, grabbed my stuff, left and in the next morning, the PC was still on because Notepad refused to just close lmao.

    [–] SaharaMaleikuhm@feddit.org 5 points 1 month ago

    I should probably sigterm instead of sigkill, but it sounds far less cool

    [–] Wizard_Pope@lemmy.world 31 points 1 month ago (1 children)

    That is what infuriates me so much. Instead of just killing the process after 5 mins of waiting it just cancels the shutdown. Like fuck off with that shit.

    [–] InFerNo@lemmy.ml 21 points 1 month ago (5 children)

    Depending on the use case, that can be a good thing or a bad thing

    [–] meliaesc@lemmy.world 7 points 1 month ago (2 children)

    Shouldn’t be the default though.

    load more comments (2 replies)
    load more comments (4 replies)
    load more comments