Delete old files under Linux OS:
Command:
$ find /var/log -mtime +60 -type f -exec rm -rf {} \;
Description:
Command will delete files from directory /var/log which were last modified at least 60 days ago.
Source:
LinuxQuestions
Thursday, October 29, 2009
Sunday, October 25, 2009
Debian Linux updating problem
While I tried to update my Debian machine I encountered key signature problem:
# apt-get update
...
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
Solution is easy:
# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE302B
# gpg --export --armour 9AA38DCD55BE302B | apt-key add -
# apt-get update
...
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
Solution is easy:
# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE302B
# gpg --export --armour 9AA38DCD55BE302B | apt-key add -
Tuesday, October 06, 2009
Linux network top tool
Linux network top-like tool which shows per-process network usage:
# apt-get install nethogs
# apt-get install nethogs
Linux network top tool
Linux network top-like tool which show per-process network usage:
apt-get install nethogs
apt-get install nethogs
Subscribe to:
Posts (Atom)