Search Results

Search: Posts Made By: krisyet
58,125
Posted By krisyet
I need to run some command on the out put of each...
I need to run some command on the out put of each machine
like ping
58,125
Posted By krisyet
foreach in shell scripting
I need to read list of machines from a file using foreach loop.
I am trying the follwing, but its not reading the list

foreach i (`cat file.lst | awk '{print $1}'`)
ls -l | grep $i...
Showing results 1 to 2 of 2

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