Finding the PID of the process using a specific port?
I am installing hadoop on my Ubuntu system. When I start it, it reports that port 9000 is busy.
I am installing hadoop on my Ubuntu system. When I start it, it reports that port 9000 is busy.
Is it possible to check the progress of running cp process? Some processes respond to various KILL signals so that you can check what is their status. I know that I can run cp with parameter -v but what if forgot to do that, cp is running for a very long time and I want to know which file is being copied, or how many were already copied.
I want to rename files to change their extension, effectively looking to accomplish
In general, which characters in a regular expression need escaping?
Is there any way to exclude commands like rm -rf, svn revert from being getting stored in bash history? Actually I, by mistake, have issued them a number of times even though I have no intent to do, just because I am doing things quickly and it happened. Hence results in lost of lots of work I have did so far.
Let’s say you open a file on which you have write permission.
Meanwhile you change permissions and remove write permission while you still have the file open in some editor.
I’m trying to count the number of lines of output a certain program produces. The problem is, the program takes a long time to run, and I want to display the output to the user. Is there a way to count the number of lines the last command outputted?
I would like to have a trigger and when a particular file is accessed by some process, I would like to be notified (i.e. a script should be run). If I understand correctly, this could be achieved with inotify.
How does one disable IPv6 completely (for all interfaces, resp. for the whole machine?
I’m on CentOS 6.2, and have a file with the alternate access method character displayed as a dot.