[CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?
Tim Alberts
talberts at msiscales.comMon Mar 31 20:37:01 UTC 2008
- Previous message: [CentOS] Local Mirror of Extras and Dev
- Next message: [CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist? *> cat /home/talberts/.forward* cat: /home/talberts/.forward: No such file or directory *> test -f /home/talberts/.forward ;echo $?* 1 *> test -e /home/talberts/.forward ;echo $?* 1 -------------- next part -------------- A non-text attachment was scrubbed... Name: talberts.vcf Type: text/x-vcard Size: 337 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080331/1e64dfca/attachment.vcf>
- Previous message: [CentOS] Local Mirror of Extras and Dev
- Next message: [CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list