Search Results

Search: Posts Made By: RSAM2007
2,687
Posted By RSAM2007
test if there are files in directory
Hi,

I am trying to test if there are files in a directory and if theres i want to get a list. Any ideas? Thanks in advance
8,040
Posted By RSAM2007
Try this: cat file1 | while read line do ...
Try this:
cat file1 | while read line
do
grep $line file2 >> file3

done
Showing results 1 to 2 of 2

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