duff – find duplicate files.

2013-03-19 1 min read Fedora

duff – description:

 

Description : Duff is a command-line utility for quickly finding d

AURA Console
AURA Console (Photo credit: jameswatts.solfenix)

uplicates in a
given set of files

 

and now time to execute :

 

find . -type f -print0|duff -e0|xargs -0

 

This will print a list of duplicate files. If you directly want to delete them then you can use them in a rm command directly like ::

Continue reading

dnsmasq not starting from NetworkManager with SELinux enabled.

2013-03-16 1 min read Fedora Learning Linux
OpenWrt - Dnsmasq
OpenWrt – Dnsmasq (Photo credit: magicfab)

 

Some time back I posted on dnsmasq starting from Network Manager and how to setup dnsmasq.

 

Now, couple of days back , I setup dnsmasq in NetworkManager but was astonished to see that there was no dnsmasq running. I checked with dig and saw that there was no response from localhost for dns queries. Checked “ps -eaf|grep dns” and found that there was no dnsmasq running. I knew that once you mention “dns=dnsmasq” in the NetworkManager then it should start up but that was not happening. And then I checked audit log, found that some permissions were denied by SELinux.

Continue reading

steam on Linux – for Fedora

2013-02-22 1 min read Fedora
The Fedora Project logo
The Fedora Project logo (Photo credit: Wikipedia)

 

I was trying to get steam on linux on my Fedora box. Headed over to steam website, but was astonished to find only Ubuntu client over there.  A little googling presented me with the developer website blog of valvesoftware.com. So, here is the link for you, just in case you are searching for the same:

Continue reading

viewvc – serve current directory in web interface.

2013-02-18 1 min read Fedora

Here is the description of viewvc:

ViewVC is a browser interface for CVS and Subversion version control
repositories. It generates templatized HTML to present navigable directory,
revision, and change log listings. It can display specific versions of files
as well as diffs between those versions. Basically, ViewVC provides the bulk
of the report-like functionality you expect out of your version control tool,
but much more prettily than the average textual command-line program output.

Continue reading

ssh reverse tunning..

2013-02-14 1 min read Fedora Learning Linux

If you want to access some local resources like the release website from the remote server when you are connecting to the remoter server using ssh over VPN, then possibly reverse ssh tunnelling is the best option. So, basically when you are connecting to the remote server, you tell the server your intent to do so and which local resource you want to connect to and on which port.So, here I want to connnet to google.com and tunnel the data to 192.168.131.921:9090 tthough the tunnel, then the command to use will be  ::

Continue reading
Older posts Newer posts