Related Articles
Using For Loop Looping through Alphabets letters
Using For Loop Looping through letters is possible for($i = ‘S’; $i != ‘AC’; $i++) {echo $i.’ ‘;} Note: $i <= ‘AC’ it only works with $i != ‘AC’ Output : S T U V W X Y Z AA AB
Unzip using 7zip on Linux Centos
7z x filename.zip extract all zip archives 7z x *.zip to unzip on specific location or folder 7z x filename.zip foldername 7z x *.zip foldername Install 7zip on Linux Centos yum install p7zip Install 7zip on Linux Ubuntu sudo apt-get install p7zip a to archive $ 7za a myfiles.7z myfiles/
How to Get MySql Query Result as an Email
If you are working on a big mysql query and want to get the mysql query as email when it finishes use the below trick. Go to mysql command:Set pager directive: mysql> pager mail -s “subject” emailme@domain.comPAGER set to ‘mail’ -s “subject” emailme@domain.com The trick uses pager directive to redirect the query output result to […]

