Posts tagged 'linux'
Grep files and copy / move selected files to another place recursively
Grep command allows us to filter the content from the input which matches the pattern. Here we are going to use combination of three commands including grep, to copy / move the files recursively to another directory which matches our pattern
Mount a device in linux
Devices can be easily mounted in linux using mount command. Lets check how to do it.
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.
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.
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.
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.