1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-06 00:28:01 +00:00

Add Jump To The Ends Of Your Shell History as a unix til

This commit is contained in:
jbranchaud
2016-08-10 10:42:11 -05:00
parent f096ec090b
commit 5f7da71c3e
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
# Jump To The Ends Of Your Shell History
There are all sorts of ways to do things in your shell environment without
reaching for the arrow keys. For instance, if you want to move _up_ to the
previous command, you can hit `Ctrl-p`. To move _down_ to the next
command in your shell history, you can hit `Ctrl-n`.
But what if you want to move to the beginning and end of your entire shell
history?
Find your meta key (probably the one labeled `alt`) and hit `META-<` and
`META->` to move to the end and beginning of your shell history,
respectively.
[source](https://www.gnu.org/software/bash/manual/html_node/Commands-For-History.html)