DEV Community

Discussion on: What are your command line tips?

Collapse
 
ben profile image
Ben Halpern
Collapse
 
maxxon profile image
Ma-XX-oN

Using Ctrl+O after going back in the history (either with arrow keys or Ctrl+R) will populate the next prompt with the next item in the history. Great if you have multiple commands you want to execute one after the other repeatedly.

Collapse
 
waylonwalker profile image
Waylon Walker

Tack on fzf and you have gold.

Collapse
 
pandademic profile image
Pandademic

what? fzf is the gold!

(joke)

Collapse
 
bhupesh profile image
Bhupesh Varshney 👾

Seconded on fzf, only external CLI utility that I will recommend

Thread Thread
 
jeremyf profile image
Jeremy Friesen

Definitely. fzf FTW!

Collapse
 
leob profile image
leob • Edited

Yep that would be my #1 too - control-R all the way! Oh and I use cd - all the time ...