Cat > file.txt


#1

I’m just curious about what cat > file.txt does.


#2

It is known as a redirect. That’s just pinning the results of cat (short for “concatenate “) to file.txt, assuming you provide something for cat to work with.

If possible, I’d recommend downloading VMware or a virtual machine and running linux and playing around with the terminal.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.