Sometimes you may need to reboot or restart Linux server from command line. Here is how to restart Linux server command line.
How to Flush DNS Cache in Windows, Linux & Mac
Sometimes you may need to flush DNS cache on your system. Here is how to flush DNS cache in Windows, Linux & Mac.
How to Change Host Name in Debian/Ubuntu
Sometimes you may need to change hostname of your machine on network. Here is how to change host name in Debian/Ubuntu Linux.
How to Send GET & POST requests using python
Sometimes you may need to send GET & POST requests in Python. Here is how to send HTTP requests using Python.
How to Create Swap File in Linux
Swap file allows you to extend your server’s physical memory when it is full. Here is how to create swap file in Linux.
Sftp script to transfer files in Linux with password
SFTP allows you to securely transfer files in Linux. Here is is an SFTP script to transfer files in Linux with password.
How to Reverse String in Python
Sometimes you may need to reverse string in Python. Here are different ways to reverse string in Python.
How to Connect to PostgreSQL database using Python
Sometimes you may need to connect to PostgreSQL database and send SQL queries. Here is how to do it.
How to Remove Snap in Ubuntu
Sometimes you may need to remove snap or turn off snap in Linux. Here is how to remove snap in Ubuntu.
How to Select Random Records in MySQL
Learn 4 different ways to select random records in MySQL. Get random rows using Rand function, Inner Joins and using variables.