Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Sep 122010
 

mount: unknown filesystem type 'nfs'

Answer:

If you attempt to mount a NFS share, using the mount command, e.g.

# sudo mount -t nfs 192.168.1.2:/data/share /mnt/share

And it gives:

mount: unknown filesystem type 'nfs'

You would need to install the nfs clients to solve it:

# sudo apt-get install nfs-common

Aug 272010
 

How to kill a TCP connection using tcpkill?

Answer:

You can use the tcpkill program.

tcpkill came with the dsniff in Debian/Ubuntu, you need to install it manually.

# sudo apt-get install dsniff

Usages:

1. Kill all outgoing web (port 80) connection:

# tcpkill -i eth0 port 80

2. Kill all connection by IP

# tcpkill -i eth0 host www.google.com

Aug 192010
 

Downgrade the format of a Subversion working copy

Answer:

Sometimes, when you upgraded the local subversion working copy, but others use an older client to access it, error likes "This client is too old to work with working copy..." will appear.

To fix this, you can consider downgrade the format of the subversion working copy.

E.g. Downgrade to 1.4

# change-svn-wc-format.py /path/to/working/copy 1.4

The useful python script can be downloaded here: http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-svn-wc-format.py