Follow


-
Linux tip…

If you want to keep your cat from typing potentially dangerous stuff into your unattended keyboard, type the following at the CLI:

cat

(it actually works!)

Patsplaining…

CLI=commandline interface (the command prompt)

The cat command is the UNIX command that concatenates files. You type “cat <filename> <filename> etc...” and it puts them together one after the other into one, which is sent out to the standard output. The standard output is usually the terminal screen. It’s probably most often used by people to quickly dump the contents of a single file to the screen, “cat <filename>”.

If no file name is given, the default is to take input from standard input, which is usually the keyboard. So if you just type “cat”, it will take whatever you type on the keyboard and send it to the screen without processing it, which is kind of useless, except in this weird case. 😄

@Pat you (wrongly) presume that the cat can't do CTRL+C?

you WILL be hacked, your cat is not stupid. use a screen locker.

@octo

That won't work for me because my screen-lock password is jmndf, and my cat can easily guess that one. :smile:

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.