You can also use "sed" to edit the file in line mode...

Regards, Phil Tully
Chief Architect-z/VM & z/Linux
phil.tu...@adp.com
cell: 973-202-7427
1-800 377-0237,,5252697#



On 10/6/20, 1:19 PM, "Linux on 390 Port on behalf of Cohen, Sam" 
<LINUX-390@VM.MARIST.EDU on behalf of sam.co...@lrs.com> wrote:

     
    WARNING: Do not click links or open attachments unless you recognize the 
source of the email and know the contents are safe. 
    
    **********************************************************************
    If you can login to root at the 3270 console, you can issue an ifconfig (or 
an ip) command to change the address, then a route command to set the default 
route.
    
    Thanks,
    
    Sam
    (217) 862-9227 (office)
    (602) 327-2134 (cell)
    
    -----Original Message-----
    From: Linux on 390 Port <LINUX-390@VM.MARIST.EDU> On Behalf Of Frank M. 
Ramaekers
    Sent: Tuesday, October 6, 2020 08:07
    To: LINUX-390@VM.MARIST.EDU
    Subject: Modify ifcfg-encw0.0.nnnn at DR
    
    How can I change the IP address of a network adapter at D/R.  Since the IP 
address is unusable, I cannot ssh to the machine.   Attempting vi from the VM 
console is a mess.
    I have two lines to change:
    
    IPADDR="10.1.20.88"
    PREFIX="16"                (to 24)
    
    Ideas?
    
    Frank M. Ramaekers Jr.  | Systems Senior Administrator | CIS Mainframe 
Services Unisys | (512)-387-3949 | Francis.Ramaekers at Unisys.Com
    
    
[unisys_logo]<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fwww.unisys.com-252F-26amp-3Bdata-3D02-257C01-257CSam.Cohen-2540LRS.COM-257Cb47d4b43e5b44577185508d86a1b9945-257C62af9ccc42164ae2a1d306614c59c315-257C0-257C0-257C637376014080344907-26amp-3Bsdata-3DBRjwl4L3FC7rFwTTNF-252F7XHBA5BbuayEwPWUL9s-252B9vsY-253D-26amp-3Breserved-3D0&d=DwIFAg&c=xu_5lAfKHjInGFR3ndoZrw&r=YINhRQBnBpDTaiDeBIX-uouJy__emITEWU-E34BcxvU&m=DvHQ-j7khBwcKdlEprq2iYQHjTIFAI1MbwmFocD_P_g&s=BiZ9YZtVGKkiulONcKR60o-gmaJUr_kqQCySOgHcTdo&e=
 >
    
    THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is for use only by the intended recipient. If you received this in 
error, please contact the sender and delete the e-mail and its attachments from 
all devices.
    
[Grey_LI]<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fwww.linkedin.com-252Fcompany-252Funisys-26amp-3Bdata-3D02-257C01-257CSam.Cohen-2540LRS.COM-257Cb47d4b43e5b44577185508d86a1b9945-257C62af9ccc42164ae2a1d306614c59c315-257C0-257C0-257C637376014080344907-26amp-3Bsdata-3DTE2KPDsWW1T26euoZdkdDFQS5cvKZrqVwC2c8aBOFW8-253D-26amp-3Breserved-3D0&d=DwIFAg&c=xu_5lAfKHjInGFR3ndoZrw&r=YINhRQBnBpDTaiDeBIX-uouJy__emITEWU-E34BcxvU&m=DvHQ-j7khBwcKdlEprq2iYQHjTIFAI1MbwmFocD_P_g&s=IxpVFpItVj7GV327tjMtb9Jiqu_npy6zeXzFrlcnpwc&e=
 >  [Grey_TW] 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Ftwitter.com-252Funisyscorp-26amp-3Bdata-3D02-257C01-257CSam.Cohen-2540LRS.COM-257Cb47d4b43e5b44577185508d86a1b9945-257C62af9ccc42164ae2a1d306614c59c315-257C0-257C0-257C637376014080344907-26amp-3Bsdata-3D9yXwjol9PQ33D4QONIxd8nYS-252BAAJN4eQlKDNYmgnIqA-253D-26amp-3Breserved-3D0&d=DwIFAg&c=xu_5lAfKHjInGFR3ndoZrw&r=YINhRQBnBpDTaiDeBIX-uouJy__emITEWU-E34BcxvU&m=DvHQ-j7khBwcKdlEprq2iYQHjTIFAI1MbwmFocD_P_g&s=afedMNK9oyCxxJyCOJojl3kEPiJ7kC8J2LZCskjBA2s&e=
 >  [Grey_GP] 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fplus.google.com-252F-252BUnisysCorp-252Fposts-26amp-3Bdata-3D02-257C01-257CSam.Cohen-2540LRS.COM-257Cb47d4b43e5b44577185508d86a1b9945-257C62af9ccc42164ae2a1d306614c59c315-257C0-257C0-257C637376014080344907-26amp-3Bsdata-3Djt0Foby-252BJcFntsGPePfyT9v3rDvSh7Bi33W-252FmJYE3xI-253D-26amp-3Breserved-3D0&d=DwIFAg&c=xu_5lAfKHjInGFR3ndoZrw&r=YINhRQBnBpDTaiDeBIX-uouJy__emITEWU-E34BcxvU&m=DvHQ-j7khBwcKdlEprq2iYQHjTIFAI1MbwmFocD_P_g&s=7WqeZLGHguwbuwICjK5W5Wa7x6r3WoCEtG0Hxy4Xc60&e=
 > [Grey_YT] 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fwww.youtube.com-252Ftheunisyschannel-26amp-3Bdata-3D02-257C01-257CSam.Cohen-2540LRS.COM-257Cb47d4b43e5b44577185508d86a1b9945-257C62af9ccc42164ae2a1d306614c59c315-257C0-257C0-257C637376014080354894-26amp-3Bsdata-3DG-252FS8-252B76FfqqRK0h5ZM0KYv-252FIKJqd4-252BQ7luE62ttm-252FTM-253D-26amp-3Breserved-3D0&d=DwIFAg&c=xu_5lAfKHjInGFR3ndoZrw&r=YINhRQBnBpDTaiDeBIX-uouJy__emITEWU-E34BcxvU&m=DvHQ-j7khBwcKdlEprq2iYQHjTIFAI1MbwmFocD_P_g&s=I23PAVjZKtluc84Gpkw4Uh943uzRI_DAQxe4kJa9kbE&e=
 > [Grey_FB] 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fwww.facebook.com-252Funisyscorp-26amp-3Bdata-3D02-257C01-257CSam.Cohen-2540LRS.COM-257Cb47d4b43e5b44577185508d86a1b9945-257C62af9ccc42164ae2a1d306614c59c315-257C0-257C0-257C637376014080354894-26amp-3Bsdata-3DaDnsEX-252B3-252Fgf0c8BhOYJcpTnfUyGRWVnK8MWtxIe8Wtg-253D-26amp-3Breserved-3D0&d=DwIFAg&c=xu_5lAfKHjInGFR3ndoZrw&r=YINhRQBnBpDTaiDeBIX-uouJy__emITEWU-E34BcxvU&m=DvHQ-j7khBwcKdlEprq2iYQHjTIFAI1MbwmFocD_P_g&s=5M1dtwJa2i-9NaJ81Yg1YzWsYe7f6547-loIEZHNIlI&e=
 > [Grey_Vimeo] 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fvimeo.com-252Funisys-26amp-3Bdata-3D02-257C01-257CSam.Cohen-2540LRS.COM-257Cb47d4b43e5b44577185508d86a1b9945-257C62af9ccc42164ae2a1d306614c59c315-257C0-257C0-257C637376014080354894-26amp-3Bsdata-3Dzw-252B1B1NpR4o9fXF5kdGhcsC-252FfMVKb14IRQLctOBoWz0-253D-26amp-3Breserved-3D0&d=DwIFAg&c=xu_5lAfKHjInGFR3ndoZrw&r=YINhRQBnBpDTaiDeBIX-uouJy__emITEWU-E34BcxvU&m=DvHQ-j7khBwcKdlEprq2iYQHjTIFAI1MbwmFocD_P_g&s=BwrzY6q6U9LfUpskp76idFC2y7CEOSTer3ZUnwR1kUQ&e=
 > [Grey_UB] 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fblogs.unisys.com-252F-26amp-3Bdata-3D02-257C01-257CSam.Cohen-2540LRS.COM-257Cb47d4b43e5b44577185508d86a1b9945-257C62af9ccc42164ae2a1d306614c59c315-257C0-257C0-257C637376014080354894-26amp-3Bsdata-3DJLZjRBDQ77imAEzOEOMDVDQFKWWb2ahCJ1cmb68VB3U-253D-26amp-3Breserved-3D0&d=DwIFAg&c=xu_5lAfKHjInGFR3ndoZrw&r=YINhRQBnBpDTaiDeBIX-uouJy__emITEWU-E34BcxvU&m=DvHQ-j7khBwcKdlEprq2iYQHjTIFAI1MbwmFocD_P_g&s=LzGKMAuxAlkG18GZSl5suqlXUOR6vKLBDypII3IHaVA&e=
 >
    
    ----------------------------------------------------------------------
    This message contains information which is privileged and confidential and 
is solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@globe.life.
    
    ----------------------------------------------------------------------
    For LINUX-390 subscribe / signoff / archive access instructions, send email 
to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
    
https://urldefense.proofpoint.com/v2/url?u=https-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fwww2.marist.edu-252Fhtbin-252Fwlvindex-253FLINUX-2D390-26amp-3Bdata-3D02-257C01-257CSam.Cohen-2540LRS.COM-257Cb47d4b43e5b44577185508d86a1b9945-257C62af9ccc42164ae2a1d306614c59c315-257C0-257C0-257C637376014080354894-26amp-3Bsdata-3D6VzLXE6CJ-252FUOgQ4huFyUdJzfzAQ0MjN8QvPtYr6imy8-253D-26amp-3Breserved-3D0&d=DwIFAg&c=xu_5lAfKHjInGFR3ndoZrw&r=YINhRQBnBpDTaiDeBIX-uouJy__emITEWU-E34BcxvU&m=DvHQ-j7khBwcKdlEprq2iYQHjTIFAI1MbwmFocD_P_g&s=Joymt18FAH_uatDJhFMFqdcTKQOWxM2pc_xpJlQQGQ4&e=
 
    
    ----------------------------------------------------------------------
    For LINUX-390 subscribe / signoff / archive access instructions,
    send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
visit
    
https://urldefense.proofpoint.com/v2/url?u=http-3A__www2.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAg&c=xu_5lAfKHjInGFR3ndoZrw&r=YINhRQBnBpDTaiDeBIX-uouJy__emITEWU-E34BcxvU&m=DvHQ-j7khBwcKdlEprq2iYQHjTIFAI1MbwmFocD_P_g&s=Gm2HQs65juMM7fNFhKBmJI-J26-MiDBCDSporjuYJTg&e=
 
    


----------------------------------------------------------------------
This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, notify the sender immediately by return email and delete the message 
and any attachments from your system.


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to