Ubuntu hushlogin

2013-03-27 1 min read Uncategorized

In Ubuntu, if you do not like all the information that comes when you do a remote login, then you just need to do this:

 

touch ~/.hushlogin

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

Firefox troubleshooting

2013-03-11 1 min read Firefox

Here are few quick tips on getting to see what could be wrong with firefox.

Config entries – about:config

Support Information – about:support

Details on config entries – http://kb.mozillazine.org/About:config_entries

Reset firefox profile – https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems

Firefox profiles – https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

 

Continue reading

slow ssh connection

2013-02-26 1 min read Linux

If you are experiencing slow ssh connections, then possibly your system is trying to do reverse lookup of the IP address. If that is the case, then you can add the below to “hosts” line in /etc/nsswitch.conf file.

‘[NOTFOUND=return]’

The other cause for slow connections can be GSSAPI authentication. If that is the case, then the simplest solution is to add the following in your “~/.ssh/config” file:

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
Older posts Newer posts