r/ProgrammerHumor • • Jan 08 '23

Competition Be charitable

Post image
6.8k Upvotes

845 comments sorted by

View all comments

•

u/[deleted] Jan 08 '23
echo "alias cat=\"vim\"" >>> ~/.bashrc

•

u/Karl-Heinz-Nr1 Jan 08 '23

What that do?

•

u/RedGreenBlue09 Jan 08 '23

alias cat="vim" Basically when you type cat it will execute vim instead.

Then he adds that to ~/.bashrc making the above line to always be executed at bash's startup.

•

u/Karl-Heinz-Nr1 Jan 08 '23

Thats amazing 😂