To find the real path of a symlink in Ubuntu you can use the following command: readlink -f filename
Find path of Symbolic link Ubuntu
Change/update MySQL password
To change the MySQL password for a particular user first login to MySQL: mysql -u root -p Next update the appropriate user's password with the following command: SET PASSWORD FOR…
Linux user management – list, add, edit, delete
To list users: getent passwd To add a new user: sudo adduser newuser To change a user's password: sudo passwd username To change a user's username: sudo usermod -l newUsername…
Change/update hostname Ubuntu
To change the hostname of an Ubuntu machine you can run the following commands:
Split large files Ubuntu
If you're working with large log files and you're not comfortable using vi or vim then you might want to split your log/text file into multiple parts based on the…
Prevent chrome from redirecting http to https
Chrome employs HSTS which allows sites to elect to use https. This is a bit of a buggerup when you don't want to use https. To get rid of https…
ssh too many authentication failures – solved
If you receive the following message when trying to login using ssh: too many authentication failures This is as a result of ssh iterating through your keys stored in ~/.ssh,…
Add additional hard drive to proxmox
The first step to adding a new hard drive to Proxmox is to run: fdisk -l It's likely that you'll see a list of drives in the format: /dev/sda Next,…
Virsh snapshot delete – unsupported configuration SOLVED
When deleting virsh snapshots using snapshot-delete you might encounter the following error: error: unsupported configuration: deletion of 1 external disk snapshots not supported yet To successfully delete the snapshot you…
WHMCS reserved username error
If you receive either of the following errors when creating a WHMCS package for a client: Sorry, that username is reserved or is a reserved username on this system Then…









