Linux

Adding dates to your photos.

2009/10/12

#!/usr/bin/perl if ($#ARGV < 0 ) { print &#8221;$#ARGV \n&#8221;; print &#8221;Usage $ARGV[0] filename/dir\n&#8221;; exit -1; } @files = `find &#8221;$ARGV[0]&#8221; -iname …

Using column to format a directory listing

2009/10/09

<span style="color: #000000;">Using column to format a directory listing <span style="color: #000000;">$ (printf "PERMISSIONS LINKS OWNER GROUP SIZE MONTH DAY …

On screen display of a command

2009/10/08

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category delay: 2d On screen display of a command. $ date|osd_cat This is very useful if you need to show someone …

root shell auditing and syslog entry for all commands of shell

2009/10/08

A lot of times there is a need to log all the messages and the output of the shell to the file or syslog. Sometimes I need that for some user too. script command can be used to do this but then …

Get list of git repositories from command line.

2009/10/04

Earlier I had posted a small blog on teamgit. The problem still is that you have to manually go to the git.kernel.org page and get the list of the repo&#8217;s that you can download. How about a …

Play video in Fedora.

2009/10/03

Found <a href="http://www.fedoraforum.org/forum/showthread.php?t=28153">here.<div class="smallfont"> How to multimedia xmms, rythmbox, mplayer, video, etc. <hr …

Change user, assume environment, stay in current dir

2009/10/03

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category Change user, assume environment, stay in current dir $ su — user I&#8217;ve used this a number of …

vimrc file for vim users

2009/10/01

Example vimrc file below: let g:VIM_CUSTOM = &#8221;/home/amitag/.vim_custom/&#8221; […] &#8221; Don&#8217;t use vi compatibility; I want all the new features in Vim set …

Boot Linux Over HTTP With boot.kernel.org (BKO)

2009/10/01

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category […] This tutorial shows how you can <a …

phpMyEdit – Mysql table viewer, editor and php code generator.

2009/10/01

As a developer, whenever you want to write the php code to get the data from the MySQL database, sometimes it becomes tiresome and time taking. And what if you had to do it dynamically. Well I have …

Enter the cvs password in scripts without manual intervention, automatically

2009/10/01

One of the things I have been looking for sometime to do is enter the password for cvs in my scripts and finally here&#8217;s how to do it. echo &#8221;password&#8221; |cvs login

7-deadly-linux-commands

2009/09/26

You want to learn about Linux, start from learning what not to do. <a href="http://www.junauza.com/2008/11/7-deadly-linux-commands.html" target="_blank">Here is one for the …


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