Month: July 2007

Dynamic/Static/Strong/Weak Types

A dynamically typed language is a language where the type of a variable can be altered at any time. (It…

Command to make a CD/DVD ISO Image in Linux with dd

This command can be used to create an image of a CD/DVD/HDD. You can also use some GUI tool like…

Fetch columns of Output using Awk

One can use awk to get a specific column from a command output… First column of the command date|awk ‘{print…

Get the First Line of Command Output in Shell

Get just the first line of the output of a command… <command>|head -n1 ls -1|head -n1

Remove File Extension using sed

Get just the file title without the extension in a variable. file_name=1 file_title=`echo1|sed ‘s/\..\{3\}$//’`