File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -370,26 +370,28 @@ Displays the name of every program that starts with `pw`.
370370Editing a long command can be time consuming. The shell has shortcut keys for moving to the start
371371or end of a command that you are typing.
372372
373- Try typing this command, but don't hit enter yet .
373+ Try this command.
374374
375375``` bash
376376ls home/dcuser/shell_data
377377```
378378
379- Notice that there is an error: there should be a ` / ` at the start of the path.
379+ You will get an error ` ls: cannot access 'home/dcuser/shell_data': No such file or directory ` .
380+ There should be a ` / ` at the start of the path.
380381
382+ Use the up arrow to get the previous command again.
381383Use CTRL+A (hold down the control (CTRL) key and press the A key) to move to the start of the command.
382-
383- Edit the command to add the missing ` / ` , but don't hit enter yet.
384+ Edit the command to add the missing ` / ` and hit enter.
384385
385386``` bash
386387ls /home/dcuser/shell_data
387388```
388389
389390Now you decide actually you wanted to see the contents one level down in ` sra_metadata ` .
390391
391- Use CTRL+E to move to the end of the command.
392-
392+ Use the up arrow to get the previous command again.
393+ Your cursor will be at the end of the command.
394+ Use CTRL+A to move to the beginning of the command, then CTRL+E to move to the end of the command.
393395Edit the command to add ` /sra_metadata ` and now hit enter.
394396
395397``` bash
You can’t perform that action at this time.
0 commit comments