YS's blog

Still figuring that out :-)

View on GitHub
7 July 2021

Useful commands

by YS

The following are some of the commands that have increased my productivity and made my life so much easier

The following lists the names of all the python files that has the keyword exception in it
find . -name "*.py" -exec grep -l "Exception" '{}' \;
Option + right arrow: move right by one word
Option + left arraw: mov eleft by one work
Ctl + A: Move cursor to the beginning
Ctl + E: Move cursor to the end

fzf is an amazing tool to search through your command history and helps you search and rerun commands that you have run before

fzf serach

tags: unix, - productivity