Commands

Commands that for whatever reason, I struggle to remember.

Description Command
Flush DNS Cache systemd-resolve --flush-caches
Find Files find <path> -name <filename>
Find & Copy Files find . -name <filename> -exec cp {} <destination> \;
Uncomplicated Firewall ufw status
ufw allow <service>
ufw <enable|disable>
Tail in realtime tail -f <filename>
Set Nemo as default file viewer xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
Reload Aliases source ~/.bash_aliases
Find Windows Product Key sudo tail -c+57 /sys/firmware/acpi/tables/MSDM
Find Timezone timedatectl list-timezones | grep Australia
Set Timezone timedatectl set-timezone Australia/City
Get System Info uname -a
Dell Service Tag sudo dmidecode -s system-serial-number

Aliases

alias df="df -h"
alias hosts="sudo vim /etc/hosts"
alias update="sudo apt update && sudo apt upgrade"
alias testssl="~/Documents/git/testssl.sh/testssl.sh"
alias fdns="sudo systemd-resolve --flush-caches"