Copy file from one server to another using scp on linux
If you have to copy any files from one server to another, you normally copy the same using FTP or wget. But some time wget function is disabled on server…
If you have to copy any files from one server to another, you normally copy the same using FTP or wget. But some time wget function is disabled on server…
How to use “grep” command in linux or macos to find text inside all files in a folder and including subdirectories Command for the same is grep -rl "string to…
By default apache write the access log and error log in the single file. Later it grow in sizes over days and then when you have to debug you find…
When you have access to the command line and you have the export large database, you will not be able to export from phpmyadmin. Hence mysql provide you handy method…
Many a times when you view the php version in the browser by displaying the phpinfo() information and the php version that is displayed when you see by typing the…
In Yii2, while you use gridview widget to display your table data, for performing any operation on the record by selecting the checkbox, gridview assign the value of the first…
The solution is very simple gunzip -r * This will extract all .gz file in the respective directory and sub directory and remove the .gz files as well. Vinod RamVinod…
Use “Command”+”Shift”+”.(dot)” to enable display of hidden files To hide just press the above three button again. Vinod RamVinod Ram has been in Software Industry since 2006 and has experience…
Untar files in Current Directory tar xvf whatevername_yougive.tar If you want to untar in specified directory tar xvf whatevername_yougive.tar -C /path/of/directory/to/un-archive Check how to compress or create tar file here…
The below command will create a tar archive file whatevername_yougive.tar for a directory /path/of/directory/to/archive in current working directory. See the example below. tar cvf whatevername_yougive.tar /path/of/directory/to/archive The options detail are…