[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to Edit Files in Linux

Posted on 2016-08-19
6
Medium Priority
?
159 Views
Last Modified: 2016-09-01
Hello Experts,

Can someone let me know how edit a file called NETMAP shown in the image. How to use the Linux machine is shown here

http://91sec.blogspot.co.uk/2014/03/my-cisco-iou-racks-from-flyxj-iouv3.html



netmap
Cheers

Carlton
0
Comment
Question by:Member_2_7966113
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
6 Comments
 
LVL 1

Author Comment

by:Member_2_7966113
ID: 41763214
ok. I understand that to access the NETMAP file is with issuing the command vi NETMAP. However, to make changes I need to be in 'write' mode. Can someone let me know how to enter write mode?

Cheers
0
 
LVL 1

Author Comment

by:Member_2_7966113
ID: 41763217
So, I'm presented with the following screen when I enter vi NETMAP. I want to edit the file so I type E but when I try to save the file with the command qw I get them message that I'm not in editor mode.

Any thoughts?

netmap
0
 
LVL 1

Author Comment

by:Member_2_7966113
ID: 41763221
I keep on getting the following error message:
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 1

Author Comment

by:Member_2_7966113
ID: 41763225
I keep on getting the error message:

E492: Not an editor command: qw
netmap3.png
0
 
LVL 40

Accepted Solution

by:
omarfarid earned 2000 total points
ID: 41763389
is the file NETMAP a text file? only text files can ve edited with vi. Please run below command a post out put:

file NETMAP

if you are in vi edit mode then to be able to save and exit you need to go to command mode. Press ESC button then you can type

:w NETMAP1
:q

The above will let you save to a new file called NATMAP1 the quit
0
 
LVL 1

Author Closing Comment

by:Member_2_7966113
ID: 41780379
That allowed me to edit and save. Thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question