SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
0x2d@lemmy.ml to 196@lemmy.blahaj.zone · 3 年前

rule

lemmy.ml

message-square
42
link
fedilink
280

rule

lemmy.ml

0x2d@lemmy.ml to 196@lemmy.blahaj.zone · 3 年前
message-square
42
link
fedilink
alert-triangle
You must log in or register to comment.
  • ComradeSharkfucker@lemmy.ml
    link
    fedilink
    arrow-up
    43
    ·
    3 年前

    Super easy

    Sudo rm -rf /*

    • Diplomjodler@feddit.de
      link
      fedilink
      arrow-up
      29
      ·
      3 年前

      I thought that removes the French language pack?

      • Lampadaire_raclette@jlai.lu
        link
        fedilink
        arrow-up
        12
        ·
        3 年前

        Oui

      • Madeline@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        8
        ·
        3 年前

        yeah it probably does

      • letsgo@lemm.eeBanned from community
        link
        fedilink
        arrow-up
        5
        ·
        3 年前

        No, that’s rm -fr /*

    • verdare [he/him]@beehaw.org
      link
      fedilink
      arrow-up
      5
      ·
      3 年前

      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@lemmy.one
    link
    fedilink
    arrow-up
    29
    ·
    3 年前

    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@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 年前

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

      • HappyFrog@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        3
        ·
        3 年前

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

        • unalivejoy@lemm.ee
          link
          fedilink
          English
          arrow-up
          5
          ·
          3 年前

          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@compuverse.uk
          link
          fedilink
          arrow-up
          3
          ·
          3 年前

          You can type seppuku for that

    • SoonaPaana@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      3 年前

      Also please refresh my memory on how to find the process ID

      • I_like_cats@lemmy.one
        link
        fedilink
        arrow-up
        11
        ·
        3 年前

        You can do

        ps aux | grep -i <part of process name>
        

        and the PID is in the second column of the output. However for this use case I recommend a process manager like htop or btop

      • assaultpotato@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        3 年前

        I use ps -aux | grep $EXECUTABLE

      • Refurbished Refurbisher
        link
        fedilink
        arrow-up
        2
        ·
        3 年前

        htop or any process monitor will tell you.

      • gayhitler420@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        3 年前

        Pidof

      • Krzd@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 年前

        top for Ubuntu at least will show you the top processes, I think sorted by averaged CPU usage.

    • AnUnusualRelic@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 年前

      You probably want to get on the habit of using pkill instead of killall in case you’re ever on a different system. You could have a surprise.

  • steventhedev@lemmy.world
    link
    fedilink
    arrow-up
    28
    ·
    3 年前

    Uninterruptible sleep makes this harder than it looks

  • Dasnap@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    3 年前

    Kid named process:

    • Viking_Hippie@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      3 年前

      I remember that kid! She was friends with that boy named Sue, right? Both of them always hanging out with little Bobby tables?

  • NaibofTabr@infosec.pub
    link
    fedilink
    English
    arrow-up
    18
    ·
    3 年前

    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 ~@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      5
      ·
      3 年前

      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@lemm.ee
    link
    fedilink
    arrow-up
    14
    ·
    3 年前

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

    • FGoo@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 年前

      For me its Ctrl+Alt+Esc that does it, Ctrl+Meta+Esc just highlights where my mouse cursor is.

      • Zyratoxx@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        3 年前

        Could be a distro related difference ^^

    • navordar@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      3 年前

      Does it work on Wayland?

      • lengau@midwest.social
        link
        fedilink
        arrow-up
        3
        ·
        3 年前

        Yes, in Wayland it’s built into kwin.

      • Zyratoxx@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        3 年前

        It does work for me at least

  • dadarobot
    link
    fedilink
    arrow-up
    7
    ·
    3 年前

    pkill

    • Caboose12000@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 年前

      pkill

  • NegativeLookBehind@lemmy.worlddeleted by creator
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    2 年前

    deleted by creator

  • LordKitsuna@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    3 年前

    Just open htop, find the process you wish to kill. Press F9,9,enter.

    Done task killed

    • ProgrammingSocks@pawb.social
      link
      fedilink
      arrow-up
      4
      ·
      3 年前
      ps -e | grep app
      kill id
      
  • SuperDuper@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    3 年前

    !veryrealtechpics@lemmy.world

    • 0x2d@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      3 年前

      immediately subscribed lol

  • Kühe sind toll@feddit.de
    link
    fedilink
    arrow-up
    4
    ·
    3 年前

    pkill <pID>

    Or what I prefer:

    pkill -f <process/programm name>

  • SpunkyMcGoo@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 年前

    at least on GNOME you can just open the system monitor and use it like task manager

  • THCDenton@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 年前

    htop is how I usually send signals. TUIs are fun!

  • 737@lemmy.blahaj.zonedeleted by creator
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 年前

    deleted by creator

  • Toes♀@ani.socialBanned from community
    link
    fedilink
    arrow-up
    1
    ·
    3 年前

    sudo init 0

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.

  • 6 users / day
  • 458 users / week
  • 2.3K users / month
  • 5.34K users / 6 months
  • 175 local subscribers
  • 19.6K subscribers
  • 20K Posts
  • 228K Comments
  • Modlog
  • mods:
  • Moss@lemmy.blahaj.zone
  • greembow@lemmy.blahaj.zone
  • moss@lemmy.world
  • Queue@beehaw.org
  • funky-rodent [he/him]@lemmy.blahaj.zone
  • Peachy [they/she] @lemmy.blahaj.zone
  • threegnomes@lemmy.blahaj.zonedeleted by creator
  • greembow@lemmy.world
  • remotelove@lemmy.ca
  • Roflmasterbigpimp@feddit.de
  • A_Very_Big_Fan@lemm.ee
  • qaz@lemmy.blahaj.zone
  • A_Very_Big_Fan@lemmy.world
  • qaz
  • qaz@lemmy.world
  • qaz@sh.itjust.works
  • qaz@piefed.malplena.net
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org