#Linux Sleep command
sudo systemctl suspend
# Full Dig
dig +noall +answer +multiline [DOMAIN] any
#strace to see output of a process
strace -p -s9999 -e write
#Calculate a fingerprint
ssh-keygen -l -f $1
#Deputtify a key
ssh-keygen -i -f $1 > $1.openssh.pub
#Fix the missing icons issue
pkill nemo-desktop; nemo-desktop &
#Check the weather
/usr/bin/curl https://wttr.in
#The netstat flags you can never remember
netstat -plnt
#Youtube-dl video
youtube-dl -f mp4 "[YT-LINK]" -o "[TITLE].mp4"
#Youtube-dl audio only
youtube-dl -x --audio-format mp3 [YT-LINK]
# Find a repeated word via egrep
egrep "(\b[a-zA-Z]+) \1\b" file.txt
# If a game gets hosed
1. Navigate to your steamapps directory. Mine is /media/gadhra/Games/Steam/steamapps/common/
2. cd into the Proton version you're running (i.e. cd 5.13)
3. rm -r -f the "dist" directory
4. rerun the game, it'll unpack the distribution from the tar in the directory.
**AWS Usernames**
* Amazon Linux 2: ec2-user
* CentOS: centos
* Debian: admin or root
* Fedora: ec2-user or fedora
* SUSE: ec2-user or root
* Ubuntu: ubuntu