What Does Greater Than Sign Mean in Linux?
Contents

The single greater-than (>) can be replaced by double greater-than symbol (>>) if you would like the output to be appended to the file rather than to overwrite the file. It is also possible to write both stdout and the standard error stream to the same file.

What does less than sign do in Linux?

3 Answers. The less than and symbol ( < ) is opening the file up and attaching it to the standard input device handle of some application/program. But you haven’t given the shell any application to attach the input to.

What does greater than mean in Shell?

>> is used to append output to the end of the file. $ echo “world!” >> file.txt. Output: hello world!

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest