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
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…
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…
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…
Change/update hostname Ubuntu
To change the hostname of an Ubuntu machine you can run the following commands:
Install Tomcat 8.5 Ubuntu
Before installing Tomcat, ensure that Java is installed. You can follow this post to install Java 8. The first step is to run Tomcat as a user without root privileges….
Install Gitlab with Let's Encrypt Ubuntu 16.04
Firstly, add the Gitlab repository: curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash Update your package list: sudo apt-get update Next, install Gitlab Community edition: sudo apt install gitlab-ce The order in…
Update Ghost blog
Assuming you installed Ghost using Ghost CLI, it is a straight forward process to update Ghost. Change directories to where Ghost is installed: cd /var/www/ghost Simply run the following to…
Let's Encrypt HTTPS for Pfsense
Securing your Pfsense webconfigurator with SSL/HTTPS is of utmost importance when running your proxy in production. We tried a number of ways to get Let's Encrypt SSL certificates working with…
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,…
