Skip to content

Instantly share code, notes, and snippets.

@seqizz
Last active June 26, 2024 09:19
Show Gist options
  • Save seqizz/5684248298dd9e813a1b to your computer and use it in GitHub Desktop.
Save seqizz/5684248298dd9e813a1b to your computer and use it in GitHub Desktop.
Things to do to get fired (Linux version)
  • Set id:6:initdefault in /etc/inittab file
  • Write a script for system to randomly delete a single file without telling you every time you made a typographical error (wrong command).
  • chattr +i /etc/passwd or shadow, actually saw this on a server
  • add export PROMPT_COMMAND="cd" to profile file
  • chmod -x $(which chmod) or chmod -x $(readelf --header /bin/ls | grep interpreter | awk '{print $4}' | sed 's/]//')
  • export EDITOR=$(which rm)

Sources as far as I remember: reddit, suicidelinux, HN

obsoleted ones:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment