Search Results

Search: Posts Made By: mph999
2,068
Posted By mph999
For part 1 ... TESTVAR=$(find . -name...
For part 1 ...

TESTVAR=$(find . -name log_20070911* |wc -l)
echo $TESTVAR
1

If you enclose a command in $( ) then the output of that command is used, in this case, assigned to the...
Showing results 1 to 1 of 1

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