DEV Community

Discussion on: The linux commands that help me work

Collapse
 
ashleyjsheridan profile image
Ashley Sheridan

history | grep "partial" to search your command history for some long command you've used before but don't remember exactly. partial is just whatever part you can remember

Collapse
 
skorotkiewicz profile image
Sebastian Korotkiewicz

You can also press CTRL + R and start writing the first letters of the command, and again press CTRL + R to find the next matches, next, and next...