scripts
Port php mysql scripts to php 7.0 from 5.x version
2018/04/23
Recently I got a script or series of scripts that were written for PHP 5.6x and hence used mysql_connect which as you know by now does not work with PHP 7.0. Since there were number of scripts, I …
send mail using telnet from script
2017/12/25
If you have no other option but to use telnet with authentication to send mail π
bash ansi codes to html for html reports from shell script
2017/02/20
How many times you have felt that there was some simple way to convert bash ansi escape sequences ( colors as well in terminal ) to html equivalent so that you can send the same as html report in …
ShellCheck β check basic POSIX shell script errors
2015/08/03
Here is description of the tool: […] To install dnf install ShellCheck And just run the tool on the script to get the common errors.
nall β schedule your tasks like a pro
2014/10/06
nall is a utility to run your scripts ( for whatever ) every defined period. Here is description: […] For installation : sudo yum install nall Once done, you can start from terminal as βnallβ …
fork a new process in perl
2011/01/27
I was doing something today and found that I require to fork a new process in perl. Now I had never done this earlier, so I did not know how to do this. First some background : I was doing some …
cdargs β bash cd command with bookmarks and browser.
2010/06/22
cdargs is a <a class="zem_slink freebase/en/bash" title="Bash" rel="homepage" href="http://tiswww.case.edu/php/chet/bash/bashtop.html">bash shell cd with …
Logwatch for Linux Systems.
2010/06/02
On my personal <a class="zem_slink freebase/en/client" title="Client (computing)" rel="wikipedia" …
vim β get names of the scripts and the details from the command line
2010/05/19
For the below commands either you can set the two variables in bold and then run the scripts or change the following in the commands and run the scripts. If you have html2text installed then you can …
Easier Reinstalls
2010/05/10
Easier Reinstalls I typically reinstall my computer operating system every six months. The reasons for this are that it cleans out the system and reinstalls require me to be in front of the computer …
vim search multiple files
2010/03/25
Searching some pattern in multiple files is something that is required very often. There are multiple ways to do it, like <a class="zem_slink freebase/en/grep" title="Grep" …
What is my ip?
2010/03/14
$ alias whatismyip="wget -q -O - <a href="http://whatismyip.com/automation/n09230945.asp"">http://whatismyip.com/automation/n09230945.asp" The preferred way for scripts …