Empty file contents at command line on Linux system
I wanted to clear the content of a growing error log file, so found a command that did while leaving permissions in place.
Using the UNIX tail -f command to watch log files
When troubleshooting a problem in Apache it is a pain to open the log file, find an error, close the log file, and then open it again after you perform some action. This is why ‘tail’ is so handy. Simply use the command below to view the last 100 lines of a log file, and […]