How do I open a log file from the command line?

Lê Như Ý

New member
How do I open a log file from the command line?
Answer
Open up a terminal window and issue the command
cd /var/log. Now issue the command ls and you will see the logs housed within this directory (Figure 1). Figure 1: A listing of log files found in /var/log/.
 

Tìm kiếm

Back
Top