Sometimes you may need to replace text in file. Here is a shell script to replace text in file.
Linux
Install KeepAlived in CentOS 7 from source
KeepAlived is a useful module for high server availability, load balancing & monitoring. Here are the steps to install KeepAlived in CentOS from source.
How to Save Grep Output to File in Linux
Sometimes you may need to write grep output to file. Here is how to save grep output to file in Linux.
How to List All Users in Ubuntu Linux
Sometimes you may need to list all users or view all user groups in Linux. Here is how to list all users in Linux.
How to Clean Up Disk Space in Linux
Very often you may need to cleanup disk space in Linux to make your system run faster. Here is how to free up disk space on your system.
How to List Open Ports in Ubuntu Linux
Sometimes you may need to view all open ports in Linux. Here is how to list open ports in Ubuntu Linux using ss, netstat and nmap commands.
How to Combine Two Files in Linux
Sometimes you may need to combine two files or concatenate contents of multiple files. Here is how to combine two files in Linux.
How to Verify Checksum in Linux
Sometimes you may need to verify checksum in Linux. Here are the steps to verify file checksum using md5, sha256 algorithms.
How to Check Commands Executed by User in Linux
Sometimes you may need to view command history for user or track user activity. Here is how to check commands executed by user in Linux.
How to View User Login History in Linux
Sometimes you may need to check user login activity in Linux. In this article, we will look at how to view user login history in Linux.