Return to Squid's Cheat Sheets
General
Show the permissions (as 'octal' - i.e. 755) for file
stat -c '%a' /path/to/file
Add a path to $PATH
export PATH=/new/path:$PATH
Show GPU Information
sudo lshw -C display
Create a Symlink
ln -s <actual_file> <link_path>
Connect to IRC gemini://flounder.online/Server in Weechat
/server add libera irc.libera.chat/6697 -ssl (if you haven't done)
/connect libera
Install .deb file
sudo dpkg -i <package>
Fix Degraded SystemCtl Status
systemctl reset-failed
xrandr
Show all monitors
xrandr --listmonitors
Swap outputs (the valid name of a monitor is on far right of the --listmonitors output)
xrandr --output HDMI-A-0 --left-of DisplayPort-1
Set a global alias here
/etc/profile
Grab file from the web and save it as a file on your system
curl -s https://code.jquery.com/jquery-3.6.0.min.js > jquery.js
/cheatsheet/