Search Results

Search: Posts Made By: maris_markur
7,087
Posted By krishmaths
You may see the manual page for test man...
You may see the manual page for test

man test

The flag -f may be of use in this context.

if [ -f $directory/$filename ];then
#action
fi
Showing results 1 to 1 of 1

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