Skip to main content

Handy Linux Commands

Nice CLI commands I end up  using daily but can't remember :

- find and remove JSON file from a bunch of directories (Takeout folders)
$ find . -name "*.json" -type f -delete

- inspect the logs of any service : 

$  sudo journalctl -f -u tor@default

- SSH
https://gitlab.com/help/ssh/README#generating-a-new-ssh-key-pair
- GPG
https://gitlab.com/help/user/project/repository/gpg_signed_commits/index.md

- PSQL 

http://postgresguide.com/utilities/psql.html

Docker

systemd-cgtop — Show top control groups by their resource usage