rm -rf /problems

hit counter

0

linux tips

Some helpful Linux commands and tips I've collected over the years:

A collection of useful Linux commands and tips that I've found helpful over the years. These shortcuts and techniques can save you time and make managing Linux systems easier.

Useful Commands

find /path/to/search -type f -name "*.conf" -exec grep -l "search_string" {} \\;

Find all .conf files containing "search_string"

du -sh */ | sort -hr

List directories sorted by size

ss -tuln

List all listening ports

System Hardening

sudo systemctl mask ctrl-alt-del.target

Disable Ctrl+Alt+Del restart

sudo find / -type f -perm -4000 -ls

Find all SUID executables