Noor
09-08-2001, 04:27 AM
How I can remove the logs from my server by telnet?
Thank you.
Thank you.
![]() | View Full Version : logs too big Noor 09-08-2001, 04:27 AM How I can remove the logs from my server by telnet? Thank you. Tim Greer 09-08-2001, 09:13 AM What logs are you referring to? Anyway, in shell, just type in rm /path/to/log/file. If you don't want to be prompted, you can use "rm -f" in place of "rm" alone. If you don't know how to even delete files in shell, maybe you shouldn't try? Be careful. Also, to save room, but keep the log file(s), you can choose to compress them instead of deleting them and delete them when you need more room later. This can be done by typing "gzip filename". Palm 09-08-2001, 11:57 AM When you delete them recreate a filename with the same name, so it can store logs again. Noor 09-08-2001, 04:00 PM Ok Palm, But How I can delete them? :( Dylan 09-10-2001, 09:58 PM :o Tim_Greer answered your question. Also, you might have to restart your programs that use the logs in order for them to start generating again. Planet Z 09-10-2001, 10:15 PM Unleashing the utterly devastating and destructive power of rm upon the innocent mortals, Tim? Tim Greer 09-11-2001, 03:55 AM Originally posted by Planet Z Unleashing the utterly devastating and destructive power of rm upon the innocent mortals, Tim? Just what the F.. rm -rf / .. are you talking about!? :-) |