Related Articles
Open a Url onload of a Website or Pagee
You can able to load a webpage while accessing a particular Website using Javascript, see below for code. <script> function openWindow() { window.open(‘http://www.google.com‘,’a’,’height=300,width=600′); } </script> <body onload=”openWindow();”> </body>
Few linux commands which are helpful
To download a file wgett urloffile To see log file contents , run time file tail -f filename To return back from file ctrl+c To edit a file vi filename return back :q! or :wq! to insert in file use insert key
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 […]