Your SlideShare is downloading. ×
Bash Cheat Sheet -- Bash History Cheat Sheet
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Bash Cheat Sheet -- Bash History Cheat Sheet

1,592

Published on

Made at http://www.catonmat.net …

Made at http://www.catonmat.net

This cheat sheet includes history editing keyboard shortcuts (emacs and vi mode), history expansion summary - event designators, word designators and modifiers, shell special variables and `shopt’ options to modify history behavior, examples.

Visit http://www.catonmat.net for more cheat sheets!

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,592
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
46
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Bash History Cheat Sheet Emacs and Vi history editing keyboard shortcuts: Shortcut Description Emacs Mode Shortcuts: CTRL-p Fetch the previous command from the history list. CTRL-n Fetch the next command from the history list. CTRL-r Search history backward (incremental search). CTRL-s Search history forward (incremental search). Meta-p Search backward using non-incremental search. Meta-n Search forward using non-incremental search. Meta- Move to the first line in the history. Meta-> Move to the end of the history list. Vi Mode Shortcuts: k Fetch the previous command from the history list. j Fetch the next command from the history list. /string or CTRL-r Search history backward for a command matching st

×