13,420
edits
Changes
→Part 1: Using the Linux Shell
'''Perform the Following Steps:'''
[[Image:command-line-editing.png|thumb|right|520px|Command Line Editing Shortcut Keys. ]]
# Type the following Linux command, but DON’T press the ''ENTER'' key:<br><span style="font-family:courier;color:blue;font-weight:bold">ls -l -a cd /bin</span><br><br>
# Press the <span style="font-family:courier;color:blue;font-weight:bold">ctrl-a</span> key combination. What happens?<br><br>
# Press the <span style="font-family:courier;color:blue;font-weight:bold">alt-f</span> key combination '''two times'''<br>(OPTION+right-arrow for Mac OSx). What happens?<br><br>'''NOTE:''' This short-cut key should work if you issued the ssh command within a terminal. If you are using a graphical windows SSH application, would would need to configure the application to understand the ''META'' (alt) key for shortcut commands (i.e. not shortcuts for the ''application menu'').<br><br>
# Press the <span style="font-family:courier;color:blue;font-weight:bold">alt-b</span> key combination until the cursor is to the '''<u>right</u>'''two timesof the '''<br>(OPTION+left-arrow for Mac OSx). What happens?cd''' command<br><br># Press the <span style="font-family:courier;color:blue;font-weight:bold">ctrl-w</span> shortcutkey. What happens?<br><br>
# Type the following command: <span style="font-family:courier;color:blue;font-weight:bold">ls</span><br><br>
# Press the <span style="font-family:courier;color:blue;font-weight:bold">ctrl-e</span> key combination and press <span style="font-family:courier;color:blue;font-weight:bold">ENTER</span><br><br>