How do you create a log file in Unix?

Man Ly

New member
How do you create a log file in Unix?
Answer
To write output of Bash Command to Log File, you may use right angle bracket symbol (>) or double right angle symbol (>>). Right angle braketsymbol (>) : is used to write output of a bash command to a disk file. If the file is not already present, it creates one with the name specified.
 

Tìm kiếm

Back
Top