Sponsored Content
Full Discussion: Why cant?
Top Forums UNIX for Dummies Questions & Answers Why cant? Post 4871 by mod on Thursday 2nd of August 2001 05:17:46 AM
Old 08-02-2001
I think the best thing for you could be the if - command from livinfree, so just some comments in addition:

man test - would bring you the expressions you can use with if

-e ... file exists
-f ... file is a regular file
-d ... file is a directory
-h ... symbolic link
-b ... block device
-c ... character device
 
All times are GMT -4. The time now is 01:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy