datacarpentry / shell-genomics

Introduction to the Command Line for Genomics
https://datacarpentry.org/shell-genomics
Other
62 stars 190 forks source link

Lesson contribution - instructor checkout - Working with files and directories #319

Closed Elahep closed 10 months ago

Elahep commented 2 years ago

In the "Command History" section where some useful shortcuts are introduced, I think it can be helpful to add a sentence explaining what the Ctrl+R shortcut does. For example, it can be mentioned that:

Ctrl+R will do a reverse search through your command history. When using this shortcut, start typing your command, it will show you the most recent matching command previously typed in the shell.

p-j-smith commented 1 year ago

He @Elahep, sorry for the slow reply and thanks for the suggestion! I think it is a good idea to give a little more explanation on how to use Ctrl+R, perhaps:

Ctrl+R will do a reverse search through your command history. Press Ctrl+R then start typing a search string - the most recent command that contains your search string will be displayed. Press enter to execute it.