send mail using telnet from script

If you have no other option but to use telnet with authentication to send mail 🙂 ( echo “ehlo” sleep…

Continue Reading →

change the output format for time command

If you are doing some scripting and using ‘time’ command, then you know sometimes it becomes difficult to capture the…

Continue Reading →

bash refer parameters from the current command

In bash you can use !# to refer to any parameter from the current command, example: mv ak amit.!#:1.txt ls…

Continue Reading →