Changes

Jump to: navigation, search

Tutorial2: Unix / Linux File Management

8 bytes removed, 15:40, 23 September 2020
Part 1: Creating Text Files Using The Nano Text Editor
# Enter the lines shown in the other diagram of the nano text editor on the right side.<br><br>'''NOTE:''' Refer to the table below for a list of the most common Nano navigation &amp; editing commands:<br><table cellpadding="5"><tr><th style="border-bottom: 1px solid black;">Keyboard Combination</th><th style="border-bottom: 1px solid black;">Purpose</th></tr><tr><td>'''&lt;ctrl&gt;&lt;SPACEBAR&gt;'''</td><td>Move forward one word</td></tr><tr><td>'''&lt;esc&gt;&lt;SPACEBAR&gt;'''</td><td>Move back one word</td></tr><tr><td>'''&lt;ctrl&gt;&lt;k&gt;'''</td><td>Cut line</td></tr><tr><td>'''&lt;esc&gt;^'''</td><td>Copy Line ('''Note:''' to get '''^''' character, type '''&lt;shift&gt;6''', <u>not</u> <ctrl>)</td></tr><tr><td>'''&lt;ctrl&gt;&lt;u&gt;'''</td><td>Paste Cut/Copied Text</td></tr><tr><td>'''&lt;ctrl&gt;&lt;g&gt;'''</td><td>Display help screen (ctrl-x to exit help screen)</td></tr></table><br>
# Referring to the table above, practice navigating and editing your entered lines for practice.<br><br>
# To '''save''' your editing session, press: <span style="color:blue;font-weight:bold;font-family:courier;">&lt;ctrl&gt;&lt;x&gt;</span><br><br>
# You will be prompted to modify your file: type the letter '''y''' for yes.<br><br>
# The name of the file will be displayed: press <span style="color:blue;font-weight:bold;font-family:courier;">ENTER</span>.<br><br>'''NOTE:''' This prompt for file name allows you to change the name of the file if you wish.<br>By pressing '''ENTER''', it will accept the default filename.<br><br>
13,420
edits

Navigation menu