Commands (Bash)
Commands (Bash)
Add i386 Architecture for steam-installer (If required)
1
sudo dpkg --add-architecture i386
- Note: Make sure you update after change. This also needs to have contrib repo added to
/etc/apt/sources.list
(can also add non-free).
Redshift (Screen Dim)
1
redshift -O 3500K -r -P
- Install QRedshift to avoid this issue if applicable.
Enable Virtual Network for virt-manager
1
sudo virsh net-start default
Reboot/Shutdown Systemd Commands
Reboot
1
systemctl restart
Shutdown
1
systemctl poweroff
Pull Systems Information
1
LANG=C inxi -Fxxxrzc0 --usb
Find errors with journalctl
1
journalctl -p err
Change Shell
1
chsh -s $(which zsh)
Verify:
1
echo $SHELL
Create Symlink File
1
ln -s PATHTOFILETOLINK PATHTOSAVELINK
Tar Decompression
1
tar -xzvf archive.tar.gz -C PATHTODIRECTORY
Chaining Grep
1
grep -e bash -e rc
- Works like an AND/OR search
- Finds folders/files that have “bash”, “rc” and “bashrc” in it
Check Current Running Connections (at current time [will not update unless ran again])
1
netstat -ano | grep "443"
This post is licensed under CC BY 4.0 by the author.