sbin

How do I kill all users session under Linux or UNIX operating system using command prompt?

{ 3 comments }

How do I block particular IP addresses or host with the iptables command under Linux?

{ 3 comments }

When I try to restart my BIND 9 server under Ubuntu Linux using service bind9 restart or service bind9 start command, I get the following error:
resolvconf: Error: /etc/resolv.conf must be a symlink

How do I fix this problem?

{ 4 comments }

How do I read a list of ip address (subnets) using a text file and block all of them using Linux iptables command?

{ 8 comments }

I‘ve installed keepalived IP failover software as described here. But how do I verify it is working or not?

{ 3 comments }

How do I display my current path settings under Linux / FreeBSD / OpenBSD / NetBSD / Apple OS X / UNIX like operating systems using bash or ksh or csh / tcsh shell?

{ 2 comments }

I‘m running the command yum update -y and getting the following error:

Loaded plugins: fastestmirror, priorities
Existing lock /var/run/yum.pid: another copy is running as pid 523.
Another app is currently holding the yum lock; waiting for it to exit…

The other application is: yum-updatesd-he
Memory : 14 M RSS ( 26 MB VSZ)
Started: Tue Feb 9 08:19:02 2010 – 14 day(s) 11:47:39 ago
State : Sleeping, pid: 523
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum-updatesd-he
Memory : 14 M RSS ( 26 MB VSZ)
Started: Tue Feb 9 08:19:02 2010 – 14 day(s) 11:47:41 ago
State : Sleeping, pid: 523

How do I fix this problem?

{ 10 comments }