Search Results

Search: Posts Made By: mmcclain
4,410
Posted By mmcclain
set -x; FIND='-name "*"';find /root/bin $FIND;...
set -x; FIND='-name "*"';find /root/bin $FIND; echo $FIND + set -x + FIND=-name "*" + find /root/bin -name '"*"' + echo -name '"*"' -name "*" touch '/root/bin/"foo"' + touch '/root/bin/"foo"' set...
4,410
Posted By mmcclain
quotes in shell variables
On my Debian system under bash the following command returns 24 files. find /root/bin/ -name '*' while the following returns none FIND="-name '*'"; find /root/bin/ $FIND Asking on the Debian...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy