How do you edit a log file in Linux?

Thanh Hoan

New member
How do you edit a log file in Linux?
Answer
To modify the configuration files:
  1. Log on to the Linux machine as “root” with a SSH client such as PuTTy.
  2. Back up the configuration file you would like to edit in /var/tmp with the command “cp”. For example: # cp /etc/iscan/intscan.ini /var/tmp.
  3. Edit the file with vim: Open the file in vim with the command “vim”.
21 мар. 2019 г.
 

Tìm kiếm

Back
Top