Home » Tag Archives: commands

Tag Archives: commands

Linux find text in file

Debian Logo

If you need to find text in file or multiple files on a Linux system you can use grep (global regular expression print) in a very efficient way to do so.  Here are few examples that I commonly use. Find text in file into a directory Use this command to find the text you are looking for within the directory cd /path/to/directory/ ...

Read More »

Linux SCP command for secure file transfer

Debian Logo

Secure Copy or SCP is part of SSH. This are few examples of using SCP commands for those like me who just could not remember all the options. On almost all Linux machines we don’t want to add additional software that we don’t need, but we need to transfer data from one host to another. SSH’s scp command will come ...

Read More »

MySQL Backup and Restore

MySQL

Tutorial for MySQL backup and restore using command line for those of you who are doing it for the first time or have forgotten some parameter. First of all don’t forget that you need to have permissions to connect with the user you are going to use from the host you are executing this command. If it is from the ...

Read More »