Skip to content

Instantly share code, notes, and snippets.

@Jmzgit
Last active February 21, 2022 01:40
Show Gist options
  • Save Jmzgit/b521c1f0bcea1fecd9ad62e84d6c59ce to your computer and use it in GitHub Desktop.
Save Jmzgit/b521c1f0bcea1fecd9ad62e84d6c59ce to your computer and use it in GitHub Desktop.
Terminal commands cheat
Search for file extension in terminal - this method searches by directories
ls ~/*.txt  
ls ~/*/*.txt  
ls ~/*/*/*.txt  
ls ~/*/*/*/*.txt  
xfce refresh Panel

xfce4-panel --help
xfce4-panel -r

suspend command in bash and zsh

loginctl lock-session && systemctl suspend -i

Tab left or right

ctrl+tab and ctrl+shift+tab

tab number

ctrl+<1-9>

Terminal

xfce refresh Panel xfce4-panel --help xfce4-panel -r

How to find all .git init directories in drive

$ find . -type d -name .git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment