From 545723c888022a816086442e919b1e81d6c1597b Mon Sep 17 00:00:00 2001 From: Philip Lundrigan Date: Thu, 14 Sep 2023 15:26:38 -0600 Subject: [PATCH] Made changes to lab 2 Fixed typo and added space between code blocks. --- _labs/command-line.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_labs/command-line.md b/_labs/command-line.md index dad0d2a..82e484a 100644 --- a/_labs/command-line.md +++ b/_labs/command-line.md @@ -39,9 +39,11 @@ Once you have selected a prior command with the up and down arrow keys, you may #### Command Completion Another helpful shortcut is called tab completion. If the tab key is pressed while a partial command or file name is typed, the shell will complete the rest of the text based on what has already been typed. Open a terminal window to your home directory (you can do this by typing `Ctrl`+`Alt`+`T` and then `ssh`ing into your Raspberry Pi) and type the following and then hit `Tab`. + ```bash ls /d ``` + After hitting `Tab` you should see that ā€œ/dā€ was extended to ā€œ/dev/ā€. Now type `Enter` to execute the command. When navigating deep directory hierarchies, tab completion can assist in typing what could otherwise be very long path names. For example, tab can be pressed multiple times to keep extending the path name after typing a few characters, enough to make the name unique. Command names can also be tab completed. In a terminal window, type the following and then hit `Tab`.