Today's article has you playing around with the cat command.

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
11,497
Reaction score
9,994
Credits
95,326
It's just a brief overview, showing some of the more common uses of the cat command. It's a surprisingly handy command that has been with us since the very earliest days of Unix.


Feedback is awesome.
 


If you're a fan of chaotic events. I recommend the following use of cat. ;)
Code:
[user@localhost ~]$ cat /dev/urandom
 
Only crit would be:
Code:
cat rnd-num.txt | less
Coz it may teach bad habits. But yes, cat is one of those essential commands any newcomer needs to know about (and tac for the lolz).
 
Only crit would be:
Code:
cat rnd-num.txt | less
Coz it may teach bad habits. But yes, cat is one of those essential commands any newcomer needs to know about (and tac for the lolz).
lol. It's like the difference between shorthand and longhand.
Code:
less rnd-num.txt
 
Linux has a cat, how do you feed the cat?
 
Linux has a cat, how do you feed the cat?

Is the cat named Ezio? (in joke)

I punched in 5 stars because I love cat and use it extensively.

I use

sudo nano -m

a lot to modify grub and other system files, and by running cat on them first, I can see easily what I want changed, formulate the text, copy, and then use

sudo nano -m <file-to-be-changed>

and then paste the text exactly where I want it.

Easier and faster for me than using sed or awk.

BTW are grep, sed and awk in the lineup for future articles?

Cheers and Avagudweegend all

Wizard
 
BTW are grep, sed and awk in the lineup for future articles?
I'd find an awk article useful coz my awk sucks because I find that using awk is really awkward...

Someone had to take that setup, heh.
 
I'd find an awk article useful coz my awk sucks because I find that using awk is really awkward...

Someone had to take that setup, heh.
I still have to spend some time with awk at one point, I got this book on my list.
 
BTW are grep, sed and awk in the lineup for future articles?

They are indeed on my list. Sometimes, there are things I'm not good at explaining - but I plan on making an attempt at sed and awk. I shouldn't have much of an issue explaining grep.
 

Members online


Latest posts

Top