277: Prepping for Linux Doomsday Commands

This week’s episode of Destination Linux, we’re going to discuss doomsday, how will it all end. It’s Linux related though we promise. We’re talking about Doomsday Commands you should never run! Then we’re going to discussing the latest release of Tails, the privacy advocate’s favorite amnesic distro. Plus we’ve also got our famous tips, tricks and software picks. All of this and so much more this week on Destination Linux. So whether you’re brand new to Linux and open source or a guru of sudo. This is the podcast for you.

Download DL 277

Sponsored by: do.co/tux2022
Sponsored by: bitwarden.com/tux

Hosts of Destination Linux:

Ryan (DasGeek) = dasgeekcommunity.com
Michael Tunnell = tuxdigital.com
Jill Bryant = jilllinuxgirl.com

Want to Support the Show?

Become a Patron = https://tuxdigital.com/contribute
Store = http://dlnstore.com

Community Feedback

You can comment on the forum thread below or fill out the contact form at https://tuxdigital.com/contribute

Chapters:

Leave a Comment

Notable Replies

  1. The server knows you’re piping.

    A server can tell you’re piping something directly into bash or sh and change the script it’s sending in realtime to something malicious because it knows you’re not looking at it first:

    Make executable just for your user:

    Good practice is only making a file executable for your user unless every user needs executable rights:

    chmod u+x /path/to/file # Make executable for just your user
    chmod +x /path/to/file # Make executable for all users
    

    Better terminal options to Disk Destroyer:

    dd may be the official “Disk Destroyer” but cat, tee, pv, tail, ect can all destroy (sorry) clone or write partitions usually better than dd. ‘dd’'s sort of been grandfathered in as THE standard but it’s options and defaults are antiquated and designed for old disks which makes it needlessly confusing and slower when stuff like buffer size really should be automated.

    Example using cat:

    lsblk # Triple check you're choosing a partition you don't mind destroying.
    sudo cat /dev/sdX > myclone.iso # Clone a drive
    sudo cat myclone.iso > /dev/sdX # Restore from clone (or write any iso)
    

    To get a progress bar, install pv and use it with it’s -p option, example:

    sudo apt install pv
    sudo pv -p ./ubuntu-22.04-desktop-amd64.iso > /dev/sdX
    # Example Output: [>>>>>>>        ]  50%
    

    Now you can accidentally wipe your main partition the modern way.

  2. A prank I enjoyed playing on my Windows buddies, was not that hard to fix, but it was fun to see them turn their heads.

    If you press CTRL+SHIFT+Arrow Up, when on the windows desktop, it would change the orientation of the display to upside-down. Most of my “victims” did not know to just to do it with Arrow Down to fix it, so they all try to go to Windows Display Settings to fix it.

  3. So what you’re saying is I should remove

    alias neofetch='curl -sSL https://github.com/dylanaraps/neofetch/raw/master/neofetch | /bin/bash'

    from my .bashrc?

  4. dude… lol

    just why.

    You may enjoy this one for putting your Github OTP in your clipboard for login:

    alias gitotp='oathtool -b --totp "$(curl -sS https://raw.githubusercontent.com/<YourAccount>/Public/master/HERES_MY_KEY)" | xclip -selection clipboard'
    
  5. Simple and fun pranks especially for someone using a dock, or a tower where they can’t see all their USB ports easily, plug a wireless mouse dongle in where they can’t see the dongle and wiggle their mouse in annoying ways. (This works best if you can see their screen)

Continue the discussion at forum.tuxdigital.com

4 more replies

Participants

Avatar for Akselmo Avatar for Ulfnic Avatar for MichaelTunnell Avatar for Strit Avatar for PatPlusLinux Avatar for ak2020 Avatar for SquirrellyDave