Linux

Remove Invalid characters in Filename.

2010/01/10

Sometimes I end up having some invalid characters in filename like ? & and so on. So simple bash script to get rid of them: for i in `find . -type f` do echo $i mv $i `echo $i |tr ? _|tr = _ |tr …

Sendmail host map failure issue with sendmail.

2010/01/07

I was having this issue for long time with sendmail and not getting time to fix this. Finally today I found the solution. <span style="font-weight: …

Finding all the executables/binary in Linux rpm based distro.

2010/01/03

I have been thinking about this for quite sometime now, how to find all the executables on the linux system. One of the way is to do a &#8221;ls&#8221; on all the directories in the PATH …

Fedora 12 demonstrates sandbox for desktop applications

2010/01/03

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category Security-Enhanced Linux (SELinux) specialist and Red Hat developer Dan Walsh has souped up the security …

Some Rather Old But Still Funny Anti-UNIX Jokes (One Liners)

2009/12/28

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/12/unix-jokes1.jpg"><img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/unix-jokes1.jpg" …

Nifty Things to Do with GIMP

2009/12/26

Nifty Things to Do with GIMP Some of us are probably addicted to capturing moments in pictures. I can understand why. It’s one of those things that help us go back to the good old days, so to speak. …

query and downgrade selected packages based on version or repository

2009/12/24

If you have worked on rpm based distro then you know how difficult it is to downgrade packages. And unluckily I upgraded some packages to fc12 and was still on FC11. Completely my mistake while doing …

EncFS – Simple article to use Encrypted filesystem in Linux

2009/12/24

A nice article here EncFS is an easy-to-use, command-line tool for storing information in encrypted form. It’s not really a file-system, but it pretends to be one at the CLI. If you’ve been searching …

Initialization or clearing of log files

2009/12/22

Like all Unix file systems, open log files can cause a real problem when they get too large and need to be deleted. The problem is, if you delete an open file, the link is removed, but all of the …

7 Examples for Sed Hold and Pattern Buffer Operations

2009/12/22

<a href="http://www.flickr.com/photos/35237104750@N01/259102613"><img id="kwiclick-temp-0" title="txt e-book" …

Change information for the user on Linux machine.

2009/12/19

Today I have couple of hours to spare and thus thought might as well spend it on my blog. The finger command in *nix systems is used to display the information on the users. This information is taken …

Chrome – Chromium on Linux (repo)

2009/12/19

Fedora people put up a repo for the chrome web browser and it is quite frequently updated. All you need to do to install the browser is following: […] sudo vi /etc/yum.repos.d/chrome.repo …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it