-
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!)

Follow

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. 😄

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.