App-Cheats
view release on metacpan or search on metacpan
#############################################################
# Set suid for a file
sudo chmod +s file
# Change permission of only the group
chmod g+w file
#############################################################
## Linux Commands - chown
#############################################################
# Fix ownership of user directory
cd home_dir/user_dir
sudo chown -Rh ${PWD##*/} `ls -A`
#############################################################
## Linux Commands - cmatrix
#############################################################
# See the matrix
cmatrix
# Step 3 â Installing ChromeDriver:
google-chrome --version
#
# Download same version:
# https://chromedriver.chromium.org/downloads
cd ~/Downloads
unzip chromedriver*.zip
#
# Move it:
sudo mv chromedriver /usr/bin/chromedriver
sudo chown root:root /usr/bin/chromedriver
sudo chmod +x /usr/bin/chromedriver
#
# Step 4 â Download Required Jar Files:
# Create selenium service
#
sudo cp ~/my/git/srto/selenium/setup/_etc_systemd_system_selenium.service /etc/systemd/system/selenium.service
sudo vi /etc/systemd/system/selenium.service
+ [Unit]
sudo fdisk -l
blkls /dev/<DEVICE>
#
# Or find UUID here for the device
ls -l /dev/disk/by-uuid/
# Backup PC in Ubuntu using timeshift (not for zfs)
https://linuxconfig.org/ubuntu-20-04-system-backup-and-restore
# Allow writing to flash drives
sudo chown $USER:$USER /media/<USER>-srto/ -R
#############################################################
## Ubuntu - Update Error
N#############################################################
# Problem: Did a partial upgrade,
# Ubuntu restarted to a black screen and a blinking cursor.
# Fix:
Control + Alt + F2 # At the same time
( run in 1.955 second using v1.01-cache-2.11-cpan-71847e10f99 )