Monthly Archives: November 2009

GNU/Linux Command – LSHAL

lshal — List HAL devices Summary: lshal is a utility for displaying devices in the Hardware Abstraction Layer(HAL) device database. This DB maintains the list of devices, that are connected to the system in real-time. Examples: [code] $ lshal -- ...

Tagged with: ,
Posted in Uncategorized

GNU/Linux Command – APT-GET

apt-get — Debian Package handling tool Summary: apt-get is a powerful package handling tool used in the Debian based Distributions. It has in-build capability to resolve the conflicts and dependencies. Examples: [code] # apt-get update -- Update ...

Tagged with: ,
Posted in Uncategorized

GNU/Linux Command – GREP

grep — (Global Regular Expression Print) Print lines matching a pattern Summary: `grep’ searches the input files for lines containing a match to a given pattern list. Grep has a no .of useful options, character classes and support regular express…

Tagged with: ,
Posted in Uncategorized

GNU/Linux Command – ULIMIT

ulimit – Control the resources available to processes Summary :ulimit, Bash Built-in Command, provides fine control over the amount of resources (Virtual Mem, Max no .of process, Core file size,..) available to any processes started by the shell. …

Tagged with: ,
Posted in Uncategorized

GNU/Linux Command – SORT

sort – Sort lines of text files Summary :Sort the file contents based on options given to it. By default the output is showed in the display. Examples : [code] $ sort -- Take the input from stdin, sort and output in stdout. $ sort myfile -o myoutp...

Tagged with: ,
Posted in Uncategorized

Unbelievable!!

Last month, I was traveling in a public transport bus from Chennai to Vaitheeswaran Kovil, very famous temple in Tamilnadu, for attending my brother-in-law marriage. During the journey, few foreigners also traveled in the same bus and I never had …

Tagged with:
Posted in Uncategorized

GNU/Linux Command – TAIL

tail – Output the last part of files. Summary : Print the last 10 lines of each FILE to stdout. With more than one FILE, precede each with a header giving the file name. Examples : [code] $ tail myfile -- Show only the last 10 Lines. $ tail f1 f2 ...

Tagged with: ,
Posted in Uncategorized

GNU/Linux Command – SHUTDOWN

shutdown — Bring the system down (Need Root privilege) Summary : Shutdown brings the system down in a proper and secure way. All logged-in users are notified that the system is going down, and login is blocked. All processes are first notified th…

Tagged with: ,
Posted in Uncategorized

GNU/Linux Command – HEAD

head – Output the 1st part of files. Summary : Print first 10 lines of each FILE to stdout. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read stdin. Examples : [code] $ head -- Read 10 ...

Tagged with: ,
Posted in Uncategorized

GNU/Linux Command – CSPLIT

csplit — Split the files into pieces based on a Context Summary: CSplit will read the input file and write into number of files as per the option given to it. By default, output file names will start with the prefix ‘xx’ and followed by the 2 suf…

Tagged with: ,
Posted in Uncategorized