Skip to main content
Background Image

Commands (Bash)

·156 words·1 min· loading · loading · ·

Add i386 Architecture for steam-installer (If required)
#

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)
#

redshift -O 3500K -r -P
  • Install QRedshift to avoid this issue if applicable.

Enable Virtual Network for virt-manager
#

sudo virsh net-start default

Reboot/Shutdown Systemd Commands
#

Reboot
#

systemctl restart

Shutdown
#

systemctl poweroff

Pull Systems Information
#

LANG=C inxi -Fxxxrzc0 --usb

Find errors with journalctl
#

journalctl -p err

Change Shell
#

chsh -s $(which zsh)

Verify:

echo $SHELL

Create Symlink File #

ln -s PATHTOFILETOLINK PATHTOSAVELINK

Tar Decompression
#

tar -xzvf archive.tar.gz -C PATHTODIRECTORY

Chaining Grep
#

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])
#

netstat -ano | grep "443"