| Mar 01 |
Archive for the 'Linux' CategoryThe (hidden) power of ‘ping’PING
Ping is a Unix utility that sends ICMP ECHO to the server ( destination machine ) from the client ( originating machine ). It takes its name from a submarine sonar search – you send a short sound burst and listen for an echo – a ping – coming back. There is a myth that Ping is actually an acronym for the words ‘Packet INternet Groper’, but there is no proven evidence to support the statement.
|
| Nov 20 |
Archive for the 'Linux' CategoryVery Useful Linux/Unix CommandsWorking on a *nix system is no piece of cake. Especially when you are used to Graphic interface of ‘windows’. The world where mouse is the king. Here is a list of most used / most discussed / most important *nix commands. Mastering this will surely get your confidence level high in the black background and white characters’ world !! My experience says that for starters in UNiX / LiNuX , these commands are enough to get you in smoothly ! |
| Oct 28 |
Archive for the 'Linux' CategoryAWK ! A boon for CLI enthusiastsAWK is a general purpose programming language that is designed for processing text-based data, either in files or data streams, and was created at Bell Labs in the 1970s I noticed that Erik Wendelin wrote an article “awk is a beautiful tool.” In this article he said that it was best to introduce Awk with practical examples. I totally agree with Erik. Eric Pement’s Awk one-liner collection consists of five sections:
The first part of the article will explain the first two sections: “File spacing” and “Numbering and calculations.” The second part will explain “Text conversion and substitution”, and the last part “Selective printing/deleting of certain lines.” (more…) |
| Oct 16 |
Archive for the 'Linux' CategoryPagination in mysql CLIEver wonder how to scroll upwards in mysl resultset ? What if your terminal doesn’t allow scrollback or the scrollback buffer is somehow set to sreen lines ? How to use MORE or LESS unix commands in mysql which would allow to scroll using ‘return’ or ’spacebar’ Follow the steps given below:
This also works under the unix ’screen’ terminal emulation |
| Aug 18 |
Archive for the 'Linux' CategoryFork BombA fork bomb works by creating a large number of processes very quickly in order to saturate the available space in the list of processes kept by the computer’s operating system. If the process table becomes saturated, no new programs may be started until another terminates. WikiPage : http://en.wikipedia.org/wiki/Fork_bomb while(1) pcntl_fork(); Note: Process Control support in PHP is not enabled by default. You have to compile the CGI or CLI version of PHP with –enable-pcntl configuration option when compiling PHP to enable Process Control support. |
