Shell Cheatsheet

Scroll through (vim) output by page

Instead of holding down up and down to scroll through a long page:

Quickly move from end to start of a command prompt

Instead of holding down the left and right arrow keys to move through a command prompt

Search through a directory of files for a regex string content

grep -Hn -r -E 'user.+account' ./dir_path

Copy all the file contents of a directory

find /home/vagrant/dotfiles -type f -print0 | xargs -0 cp -t $HOME

References and Further Reading

bash, shell, cheatsheet