Quote:
Originally Posted by Infinite Recursion
Is it a particular line you are interested in? Are there other commented mounts that you want to exclude? What does your fstab look like?
To remove all # in the file you could do this:
cat fileA | sed 's/#//g' > fileB; mv fileB fileA
If you want a more specific line uncommented, need more info.
|
There are two lines that need to be uncommented and a few others that need to stay commented.
The two that need uncommenting look like this:
#/dev/sde1 /vmware/tol ext3 nosuid 0 0
#/dev/sdf1 /vmware/sas ext3 nosuid 0 0