Linux Cheatsheet

Print lines of code (amount) for all .php files in current directory find . -name ‘*.php’ | xargs wc -l Show all group memberships for current user id Get username for Apache service ps aux | grep apache (Relatively) secure permissions on public html folder for Apache/nginx The goal is to set root as file … Continue reading Linux Cheatsheet