Redirecting output in Linux
It is possible to redirect output of one command to another command in a command line interface. There are couple of options there. Single > sign will replace existing content of a file with new content. For example if file contains a list of files retrieved by ls command, that this list will be replaced if listing of a directory is done, and it is redirected to that file.
Appending data will not replace existing content, but it will add new content to the end existing content.
Comments
Post a Comment