Cat > file.txt

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

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.

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