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 /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>
# 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>
# Press the <span style="font-family:courier;color:blue;font-weight:bold">up arrow </span> key. What happens?<br><br>
# Press the <span style="font-family:courier;color:blue;font-weight:bold">ctrl-u</span> key combination. What happens?<br><br>
# Press the <span style="font-family:courier;color:blue;font-weight:bold">up arrow</span> key combination, and see what happens when you press <span style="font-family:courier;color:blue;font-weight:bold">BACKSPACE</span> , <span style="font-family:courier;color:blue;font-weight:bold"><ctrl><BACKSPACE></span> and <span style="font-family:courier;color:blue;font-weight:bold"><ctrl><h></span>.<br>Why is it important to know those series of key combinations?<br><br>