0 comments / August 29, 2015

How to search text in files by type - linux

"grep" command in linux can be used to search text in files. We can further tune this command to search text in certain file types only. Let see how to do it.

0 comments / August 12, 2015

How to stop,start and restart mysql in command line

we can stop,start or restart mysql by simply passing parameters to mysqld process. mysqld is the main program that does the most of the work in mysql.

0 comments / July 10, 2015

Curl post request in command line with example

curl is a command line tool which is used to transfer data. It supports almost all major protocols such as ftp, http, https etc. We can use this command to make POST request to a webpage, In fact we have more than one way to make a post request using curl command.

0 comments / January 29, 2015

Useful wget commands

wget is a very handful utility to download files over the internet. It can handle most of the scenarios like background download,multiple downloads,non interactive downloads etc.

0 comments / January 29, 2015

wget output to file

wget command useful to download files. Sometimes we needed to write wget output to file which can be verified later if there is any issues in downloading that file.

1 comments / February 14, 2014

How to take mysql database backup periodically

mysqldump is a database backup program used to create copy of database or collection databases. When you run mysqldump, it will prompt you for password, on valid password it will create backup copy of the database in given path.