Open main menu

CDOT Wiki β

Changes

Tutorial2: Unix / Linux File Management

No change in size, 07: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;">nano textedit/practice/othertext.txt</span><br><br>'''NOTE:''' When using the '''Nano''' text editor, you are placed in '''COMMAND''' mode, so you need to issue a command to switch to ''INPUT'' mode.<br><br>[[Image:vi-text-editor-1a.png|right|400px|thumb|Enter the following text that appears in this diagram.]]
# Press 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