Useful terminal commands
Kill a process running on localhost
First, find the process using
lsof -i :3000
Then, kill the process via the PID
kill <PID>
Create a new user with sudo ubuntu
Create the new user. Need to use sudo
if not signed in as root.
adduser <newuser>
Give sudo priveleges
usermod -aG sudo <newuser>
How to insert a unicode character into the terminal
To insert a unicode character in the terminal, press Ctrl + Shift + U
then enter the code for the character you wish to enter. For example, the em-dash is U+2024. Hit enter once the number is typed out to see the character appear.