Category: Linux

How to import an SQL file using the command line in MySQL?

Sometimes mysql exports files are too big to import by PhpMyAdmin upload. So you have to get your ssh access and import the base by sql dump file. Just type in the directory where your dump file is located: mysql -u username -p database < databasedump.sql The password will be asked by the command line. Read More

linux extract gz to folder

How to linux extract gz to folder. Just type: gunzip my-arhive.gz Read More

Finding all files containing a text string on Linux

I have a hack, I need to search all files on my linux hosting for traces of the hack. The hack was “SrlmBack Was Here” Just type “grep -Ril “SrlmBack” ./” Read More