It may look like this:
# Users home directory
HDIR='/home/users/jsmith'
# users current directory
CDIR=`pwd`
There may be reasons that I only want to know about the command lines and ignore the comments. To do this I can use grep like this:
user$ grep -v \# my.conf
output:
> HDIR='/home/users/jsmith'
> CDIR=`pwd`
No comments:
Post a Comment