Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
0x2d ( 0x2d@lemmy.ml )  to 196@lemmy.blahaj.zone · 3 years ago

rule

lemmy.ml

message-square
23
link
fedilink
166

rule

lemmy.ml

0x2d ( 0x2d@lemmy.ml )  to 196@lemmy.blahaj.zone · 3 years ago
message-square
23
link
fedilink
alert-triangle
You must log in or # to comment.
  • ComradeSharkfucker ( sharkfucker420@lemmy.ml ) 
    link
    fedilink
    arrow-up
    26
    ·
    3 years ago

    Super easy

    Sudo rm -rf /*

    • Diplomjodler ( Diplomjodler@feddit.de ) 
      link
      fedilink
      arrow-up
      18
      ·
      3 years ago

      I thought that removes the French language pack?

      • Lampadaire_raclette ( Lampadaire_raclette@jlai.lu ) 
        link
        fedilink
        arrow-up
        9
        ·
        3 years ago

        Oui

      • Madeline ( madeline@lemmy.blahaj.zone ) 
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 years ago

        yeah it probably does

      • letsgo ( letsgo@lemm.ee ) 
        link
        fedilink
        arrow-up
        3
        ·
        3 years ago

        No, that’s rm -fr /*

    • verdare [he/him] ( verdare@beehaw.org ) 
      link
      fedilink
      arrow-up
      5
      ·
      3 years ago

      Pedant time: That actually wouldn’t kill any process that’s already loaded in memory and running. Unless the process attempts to access something else from the filesystem and crashes.

  • I_like_cats ( I_like_cats@lemmy.one ) 
    link
    fedilink
    arrow-up
    19
    ·
    3 years ago

    It’s easy. Just open up a terminal and type

    kill $PID
    

    (Replace the $PID with the process id of the process) if you don’t know the process id you can do

    killall process_name
    

    If these don’t work you can add a -9 to banish them and give them no chance to resist

    • unalivejoy ( joyjoy@lemm.ee ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 years ago

      Similarly, $$ is the current PID, $PPID is the parent PID. (Bash)

      • HappyFrog ( HappyFrog@lemmy.blahaj.zone ) 
        link
        fedilink
        arrow-up
        2
        ·
        3 years ago

        So ‘kill -9 $$’ is just suicide?

        • unalivejoy ( joyjoy@lemm.ee ) 
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 years ago

          With suicide, you have a chance to get your affairs in order. kill -9 $$ is hiring an assassin to kill you and not tell you when it will happen. It happens suddenly without warning.

        • joulethief ( joulethief@compuverse.uk ) 
          link
          fedilink
          arrow-up
          3
          ·
          3 years ago

          You can type seppuku for that

  • NaibofTabr ( NaibofTabr@infosec.pub ) 
    link
    fedilink
    English
    arrow-up
    15
    ·
    3 years ago

    xkill (assuming GUI and not headless/remote)

    xkill lets you click on any X application, at which point it will close the X server connection. In most cases the client application will self-terminate at the loss of the X connection. It’s wonderfully straightforward.

    • maria ~ ( Smorty@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      5
      ·
      3 years ago

      True, xkill is super easy to use. Who needs a task manager, if you can just click on the program you want to close.

  • Zyratoxx ( zyratoxx@lemm.ee ) 
    link
    fedilink
    arrow-up
    11
    ·
    3 years ago

    KWin has this shortcut (Ctrl + Win + Esc) that turns your cursor into a skull that kills the windows you click on

    • navordar ( nawordar@lemmy.ml ) 
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      Does it work on Wayland?

      • Zyratoxx ( zyratoxx@lemm.ee ) 
        link
        fedilink
        arrow-up
        2
        ·
        3 years ago

        It does work for me at least

      • lengau ( lengau@midwest.social ) 
        link
        fedilink
        arrow-up
        2
        ·
        3 years ago

        Yes, in Wayland it’s built into kwin.

  • Kühe sind toll ( cows_are_underrated@feddit.de ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    pkill

    Or what I prefer:

    pkill -f

  • dadarobot ( dadarobot@lemmy.sdf.org ) 
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    pkill

  • Toes♀ ( Toes@ani.social ) Banned from community
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    sudo init 0

  • xeger ( xeger@beehaw.org ) 
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    I prefer matricide: sudo kill -9 1

  • maria ~ ( Smorty@lemmy.blahaj.zone ) 
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Uh, I’m not a cool terminal god, I just know how to use vim, so xkill is my way.

    • lengau ( lengau@midwest.social ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      I use the terminal on a daily basis. My job involves writing software for terminals.

      Ctrl+Meta+Esc in KDE is still how I kill a misbehaving graphical app.

196@lemmy.blahaj.zone

196@lemmy.blahaj.zone

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !196@lemmy.blahaj.zone

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

  • No bigotry (transphobia, racism, etc…)
  • No genocide denial
  • No support for authoritarian behaviour (incl. Tankies)
  • No namecalling
  • Accounts from lemmygrad.ml, threads.net, or hexbear.net are held to higher standards
  • Other things seen as cleary bad

Posting rules:

  • No AI generated content (DALL-E etc…)
  • No advertisements
  • No gore / violence
  • Mutual aid posts are not allowed

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn’t adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196’s:

  • !196@lemmy.world
  • !onehundredninetysix@lemmy.blahaj.zone
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 5 users / day
  • 373 users / week
  • 1.27K users / month
  • 2.88K users / 6 months
  • 671 local subscribers
  • 19.6K subscribers
  • 14.1K Posts
  • 76.4K Comments
  • Modlog
  • mods:
  • Moss ( moss@lemmy.blahaj.zone ) 
  • greembow ( greembow@lemmy.blahaj.zone ) 
  • Queue ( queue@beehaw.org ) 
  • funky-rodent [he/him] ( funky_rodent@lemmy.blahaj.zone ) 
  • Peachy [they/she]  ( PeachyMcPeachface@lemmy.blahaj.zone ) 
  • remotelove ( remotelove@lemmy.ca ) 
  • Roflmasterbigpimp ( Roflmasterbigpimp@feddit.de ) 
  • A_Very_Big_Fan ( A_Very_Big_Fan@lemm.ee ) 
  • qaz ( qaz@lemmy.blahaj.zone ) 
  • qaz ( qaz@lemmy.sdf.org ) 
  • qaz ( qaz@piefed.malplena.net ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code