Kill all processes of a user
The following command will kill all processes belong to a single user on Linux. pkill -u username Credit: Linux – Kill all processes for a user
The following command will kill all processes belong to a single user on Linux. pkill -u username Credit: Linux – Kill all processes for a user
$ mplayer -ass -sub subtitle.ass file.avi
At work, a colleague is struggling to get his PC up and running for a few days now. To add an insult to injury, he also lost some of his Microsoft Outlook back up emails. Seeing what happened to him, it’s a good reminder that I shall back up my files and emails too. I use Mozilla Thunderbird (2.0.0.22), and I found a very nice tool to back up the emails (a.k.a profile). It’s called MozBackup. ...
You need to have root access to do that. So the first step to become root with the following command: ken@debian:~$ su<br /> Password:<br /> debian:/home/ken# visudo<br /> Now you can add a username to the list. For example: <br /> ken ALL=(ALL) ALL<br /> Save the file to complete the process. Credit: Ubuntu Forum
To insert time-stamp in a file, you can exit from edit mode and type: :r! date