I want to read this log files, I'm new to putty. What commands should I give? Why this files are in different color?
You can use the cat
or less
command to read the log files, for example:
cat /var/log/pemig.log
# or
less /var/log/pemig.log
For more information about cat
and less
, you could read the manual:
man cat
man less
As for the colors, it's not Putty that does the coloring, it's dircolors
. You could run the dircolors -p
command, it will tell you what color maps to each known file type.