The other day I needed to create a RightScript shell script that would update a couple configuration files on a server that was being launched in the RackSpace Cloud via RightScale. I decided to use SED to find and replace content within the configuration files. The first pass at the script failed because what I thought were spaces ended up being tabs. Use the information below to represent a tab within a shell script when using sed.
Tags: bash, bash script, CentOS, group, Linux, rackspace, rightscale, rightscript, script, sed, shell script, space, sudoers, T, tab, wheel
Archive for June 10th, 2012 |
|
|
||||









Entries (RSS)