Search Results

Search: Posts Made By: nikhilfake
4,737
Posted By nikhilfake
Actually, myserver is not the only word. It is in...
Actually, myserver is not the only word. It is in a line called


So I used
ping $(cat myfile | grep "Server-Name" | cut -d'=' -f2)
thanks guys!!!
4,737
Posted By nikhilfake
Eval command help
I have file called myfile which has the text "myserver" in it. I need to have a command to ping "myserver". How would I do that?

I tried


when I type at the terminal I get the output as ....
Showing results 1 to 2 of 2

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