There's just mainly one sed command that i've needed in order to fix enough to get the network up.
sed -i -e 's/oldstring/newstring/' filename That's generally been enough to get me through say bad IP addresses or gateway settings. -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Mark Post Sent: Tuesday, September 20, 2016 12:25 PM To: [email protected] Subject: Re: [LINUX-390] Best way to edit Linux files in z/VM 3270 >>> On 9/20/2016 at 03:01 PM, "Diep, David (OCTO-Contractor)" >>> <[email protected]> wrote: > Hi everyone, > > I've searched everywhere and I cannot find for editing Linux files > while logged in with 3270. Vi will just get me stuck. I looked at > 'ed', but I get stuck as well... any recommendations?? The ed command works fine, but you need to understand how to use it. It's ... different. I frequently use sed, but if you're at the point where the root file system is mounted, you should be able to use the terminal server access. This allows you to SSH to the terminal server, then connect to the target system and use the normal vi/vim editors. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
