Search Results

Search: Posts Made By: ryanique
3,587
Posted By ryanique
Hello...The code works...It turns out I was not...
Hello...The code works...It turns out I was not writing the changes to a new file...

Thanks for your help...really appreciate it.
3,587
Posted By ryanique
Thanks again for your patience...As I said i'm...
Thanks again for your patience...As I said i'm new to this...Let me see if i can explain it a little better...I have a file with a list of host with different hostnames...The function in the script I...
3,587
Posted By ryanique
No it did not work...Neither is this one...
No it did not work...Neither is this one working... Is there another command other than sed that can be used?

Thanks
3,587
Posted By ryanique
Thansk cfajohnson. I tried the code and it...
Thansk cfajohnson.

I tried the code and it did not work..I made a little change to it.. this is what i did..

sed '/host $Hostname/,/}/d' hosts.txt

is this correct?
3,587
Posted By ryanique
Shell Script question
Hello Experts,

I am new at this and need some help. I am looking for a delete command that allows me after I grep for the hostname to delete all the lines between two characters. for example I...
Showing results 1 to 5 of 5

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