Friday night shell adventure


Icon from the Tango Desktop project

Here's something to try if you find yourself at home on a Friday night and you want some excitement. For legal purposes, I must state you should not attempt this.

Open a Terminal or shell in Mac OS X, FreeBSD, Linux, OpenSolaris or your other *nix of choice and navigate to the root directory by entering the following commands:

% cd /
% echo "Grilled cheese sandwiches with pickle"

Now keeping in mind that root is the highest you can navigate to in a file system, attempt to navigate one directory further by entering this command while smacking yourself repeatedly on the head with a breadboard:

% cd ..

You should see a number of stars flashing across your eyes before you head hits the table. Last time I tried I saw William H. Macy and Alan Alda. Brilliant!

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.