MR.OMAR on January 4th, 2010

Another looping command that you can use in command prompt is while loop. Used to be my favourite while waiting for some process to finish – usage to monitor that on-going process, as I hate waiting without knowing whats going on – eg. how much records has been transferred etc. etc.

Read the rest of this entry »

Tags: , , , ,

MR.OMAR on January 4th, 2010

Sometime when using Telnet Terminal program from Windows or from some other servers, the Backspace key will display ^H instead of deleting the previous input. Don’t really know what exactly causing this, maybe due to the terminal setting of the client Telnet program or something else (would love to hear if you do know what cause this behaviour).

Read the rest of this entry »

Tags: , ,

MR.OMAR on January 4th, 2010

This used to be the trick to hide folders in unix last time (not sure whether it’s still been used nowadays). Sometimes even the GUI file manager can’t go into the folders due to this unprintable control character.

Read the rest of this entry »

Tags: , ,

MR.OMAR on January 4th, 2010

Another useful feature in vi editor is you can specify how many times you want the command to be executed and it’s applicable to almost all the commands.

Read the rest of this entry »

Tags: , , ,

MR.OMAR on January 4th, 2010

awk is quite useful when you need to filter your output. As a start I will demonstrate a simple usage of awk.

Read the rest of this entry »

Tags: , , ,

MR.OMAR on January 4th, 2010

Tested on Bash shell.

Sometimes we might require some looping process in our daily system admin job. Example below is just one of many usage that you can do with the for loop on shell prompt.
Read the rest of this entry »

Tags: , , ,

MR.OMAR on January 4th, 2010

Assuming you have some basic knowledge on vi editor and familiar with the basic operation of vi editor. It might come into one stage where you will start asking around on how to copy some text from one file into another file without exitting from the vi editor.
Read the rest of this entry »

Tags: , , ,

MR.OMAR on January 4th, 2010

Tar command is known for backup, and most commonly to tapes. Besides that it is also known to the open-source community as a way to package files and distribute as one single file for easier transfer method. In this small section we will try to show you the most out of tar command. We will not be covering the details usage or options available in tar command as the information is already available in the “man tar” output.

Read the rest of this entry »

Tags: , , ,

MR.OMAR on January 2nd, 2010

Welcome to How-To. A blog on anything that I know so far. Hope it can be useful to someone at least…