Backup and Restore Mysql database table

Dump and restore from .sql Dump mysqldump db_name table_name > table_name.sql Restore mysql -u <user_name> -p db_name mysql> source <full_path>/table_name.sql

Read more

No route to host (113)

In host machine iptables is running and is blocking the port 5901. Kill all the vncserver desktop in the host machine

Read more

httpd: unrecognized service

I’ve installed the Apache web server on Kali Linux and I’m able to start/stop it with: /usr/usr/local/apache2/bin/apachectl restart[start/stop] But if

Read more

linux memoery space command

# df -h will show you where your free space (if any) is, on your mounted partitions. # du -sh

Read more

Command for determining my public IP on linux PC

Finding external IP using external services The easiest way is to use an external service via a commandline browser or

Read more

How can I download an entire website?

wget –mirror -p –convert-links -P ./LOCAL-DIR WEBSITE-URL –mirror : turn on options suitable for mirroring. -p : download all files that are

Read more

Linux IP Commands

Display Current Config for all NIC’s: ifconfig Display Current Config for eth0: ifconfig eth0 Assign IP: ifconfig eth0 192.168.1.2 Ping:

Read more

Clear Memory Cache on Linux centos

By default, every Linux OS has an efficient memory management system used to clear the buffer cache periodically. You can

Read more