Truncate command allows you to truncate file contents in Linux. Here is how to truncate file in Linux.
How to SSH using pem File in Ubuntu Terminal
You may need to connect to SSH server using pem file in Ubuntu. Here is how to SSH using pem file in Ubuntu terminal.
SCP command in Linux to copy file from one server to another
SCP utility allows you to securely copy files & folders between two locations. Here is the SCP command to copy file from one server to another.
How to Delete Empty Lines from Text File in Linux
Many times you may need to delete empty lines form text file in Linux. Here is how to remove empty lines in Linux using awk, sed and grep.
How to Install Supervisor in RHEL/CentOS/Fedora
Supervisor is a useful utility that allows you to manage processes and tasks in Linux. Here are the steps to install supervisor in Ubuntu.
How to Reset Root Password in Ubuntu
Sometimes you may need to reset root password in Ubuntu because you may have forgotten it. Here are the steps to reset root password in Ubuntu.
How to Sort CSV File in Python
Sometimes you may need to sort contents of CSV file in python. Here is how to sort CSV file in Python.
How to Read Binary File in Python
Sometimes you may need to read binary file line by line or read bytes from binary file. Here is how to read binary file in python.
How to Read User Input in Python
Sometimes you may need to take user input or read user input in Python. Here is how to accept user input in Python.
How to Empty List in Python
Sometimes you may need to delete list items, clear list in python or remove list elements. Here is how to empty list in python.