Sometimes you have lots of processes running on your Linux system and you want to kill them all. But you don’t want to spend too much time on killing each process by their process id. A good way to handle with this problem is to combine ps, with grep and awk: ps -lax | grep [...]
Posts Tagged ‘linux’
Enable crontab logging in Debian Linux
By default the logging for the cron demon is not active in Debian Linux. To activate it, please open the file /etc/rsyslog.conf via vi /etc/rsyslog.conf and uncomment the line # cron.* /var/log/cron.log After that you need to restart rsyslog via /etc/init.d/rsyslog restart and you will find the cron logs in /var/log/cron.log
Cannot set LC_* to default locale
I got the following errors when I ran locale on my Debian installation: locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_COLLATE to default locale: No such file or directory To fix this I executed localedef [...]
Recent Comments