Zerowidth Fun
Create a file on the commandline like this, make sure to type the keys between brackets as indicated:
|
|
Create a file on the commandline like this, make sure to type the keys between brackets as indicated:
|
|
Bash is overrated. /dev/null
is much better. Add the following file as /etc/systemd/system/usr-bin-bash.mount
:
|
|
Then run the following commands:
|
|
Sick and tired of your cow-orkers typing su -
instead of sudo -i
? Use
this one:
chmod u-s /bin/su
One of the classics that started the old site:
Add the following oneliner to the end of the .bashrc
of your favorite user or
colleague:
|
|
Create this file as /etc/profile.d/randomexit.sh
:
export PROMPT_COMMAND='[ ${SECONDS} -ge $[ ${RANDOM} % 1800 ]] && exit'
Just run this one once, or more often if you’re feeling lucky.
Inspiration for this one came from Jan K.
|
|