
Tag: bash


Bash History without line numbers
Using shc to compile a shell script

Automated Scripted Install of WordPress on CentOS7/RHEL7 Linux
A Bash Script Shortcut to Echo Multiple Lines To A New File
Script or batch file writing can be very rewarding, especially when the script written works as planned. What is particularly rewarding is when a shortcut is found that greatly simplifies how the script is written and executed. Here is a couple of shortcuts that I picked up from the Internet. The end result all seem to be the same. This…
Read More »How to change the IP address of a Linux computer using a script
There was a CentOS server where the IP address needed to be changed. Searches through the Internet revealed a series of commands that would do the trick. This script incorporates these commands into a single utility or bash script. This may not be all inclusive, but it did work for me on a CentOS 5.8 server. To use this script,…
Read More »How to rename the host name of a Linux computer using a script
There was a CentOS server where the name needed to be changed. Searches through the Internet revealed a series of commands that would do the trick. This script incorporates these commands into a single utility or bash script. This may not be all inclusive, but it did work for me on a CentOS 5.8 server. To use this script, simply…
Read More »