What is Redirection Operator ?
Redirection Operator Both the symbols > and >> are called redirection operators in Linux. Redirection operator is used to save the output after running a command to a file. Let us understand what these two operators are ? 1. > Operator Whenever you run the command, then the output comes on the screen, if you want to store the output on the screen in a file, then you can do it through this operator. * This operator should be used only with commands that output to the screen. * It overwrites the output of the command inside the file. *If the file does not already exist then it creates the file and then stores the output in this file. Syntax : $ (command ) > File_Name Example:- Tittle : ls -l Command Output In above picture you can see the output of ls command, now we will store this output in a file. Tittle : uses of > operator Using this Redirection operator ( > ) , we have directly stored the output in a file named ...