Main
Games
Hobbies
- Underwater Photography
Work
Links
Main
Games
Hobbies
Work
Links
Some Commands i Came across the i find useful. Just a placeholder maybe
sudo nmcli connection modify 'enter ssid here' ipv4.route-metric 50 sudo nmcli connection up 'enter ssid here'
su apt install sudo
then add a user to sudo group
$ su -l # adduser <your_username_here> sudo # logout
sudo nano /etc/network/interfaces auto <interface> iface <interface> inet static address x.x.x.x netmask 255.255.255.0 gateway xx.xx.xx dns-nameservers xx.xx.xx sudo systemctl restart networking.service sudo systemctl status networking.service
hostnamectl set-hostname {name-here} sudo hostnamectl set-hostname enkielhostsample nano /etc/hosts and Find all references to oldname and replace with newname
resolvectl status resolvectl dns <interface> <dns address>,<dns address>
sudo rm -rf foldername/*
lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv and then resize2fs /dev/ubuntu-vg/ubuntu-lv
you should be able to drop to some maintenance shell (if not already opened), where you may run fsck -yf /dev/sda1
“Reading package lists… Error!”: This is a general error indicating that apt couldn't successfully read and parse the package lists.
sudo apt clean sudo rm -rf /var/lib/apt/lists/* sudo apt update