- Press Tab again and agin when cd to some very deep directories or vim some files in a deep directories.
- Input a very long file name again and again to try different commands: unzip, tar , file, vim…
Download the package and extract it. Copy the sub-directory “percol/” to “~/bin”. Rename “percol” in sub-directory “bin” to “percol.py” and copy it to “~/bin”.
unzip percol-master.zip
cd percol-master
mkdir ~/bin
cp percol ~/bin -a
cp bin/percol ~/bin/percol.py
Verify installation:
ps ax | percol.py
Copy this script (rc.sh) to “~/” and source it from “~/.bashrc”.
cp rc.sh ~/
echo . ~/rc.sh >> ~/.bashrc
Find a file by locate, and perform some actions to it.
Find a file by find in current directory and sub directoris, and perform some actions to it.
Find a process by ps and kill it.
Run a command in my favorite command list.
This script is inspired by How to do the file navigation efficiently