Open main menu

CDOT Wiki β

Changes

Tutorial2: Unix / Linux File Management

No change in size, 08:23, 13 January 2021
Part 2: Creating Text Files Using The vi Text Editor
'''Perform the Following Steps:'''
# Issue the following Linux command to edit a text file called '''othertext.txt''' in the '''linux/practice''' directory:<br><span style="color:blue;font-weight:bold;font-family:courier;">vi textedit/practice/othertext.txt</span><br><br>'''NOTE:''' When using the '''Nano''' text editor, you are placed in '''COMMAND''' mode,<br>so you need to issue a command to switch to ''INPUT'' mode.<br><br>[[Image:vi-text-editor-a.png|right|250px200px|thumb|Enter the following text that appears in this diagram.]]
# Type the following key to enter ''INPUT'' mode: <span style="color:blue;font-weight:bold;font-family:courier;">i</span><br><br>
# Enter the line shown in the other diagram of the vi text editor on the right side.<br><br>
13,420
edits