Here is how you can remove comments ( the ones starting with # ) from configuration files : This will remove all comments from Apache's configuration file.
Archive for the ‘one-liner’ Category
Remove comments from configuration files
Posted: 23rd April 2010 by Valkyrka in bash, one-liner, sed, shell1
If you need to get the IP of the gatway, simply use the following command :
This command will provide the MAC address of your network cards on your box : Here is a sample output :