navaneethan
August 18th, 2009, 08:33 PM
hi all,
found='ls'
echo ${found:+"This directory is not empty"}
what will be the output when we enter into bash
please explain also
echo "Enter file name:\c"
read flname
fname=${flname:-emp.lst} // what it means
1.compare the above two
2.what willbe the output?
3.what is mean by "/c"
found='ls'
echo ${found:+"This directory is not empty"}
what will be the output when we enter into bash
please explain also
echo "Enter file name:\c"
read flname
fname=${flname:-emp.lst} // what it means
1.compare the above two
2.what willbe the output?
3.what is mean by "/c"