Finding all file sizes with the “du” command of current directory

The following command will display all files and folders sorted by MegaBytes. du –max-depth=1 | sort -n | awk ‘BEGIN {OFMT = “%.0f”} {print $1/1024,”MB”, $2}’ You should see an output of all your folders with the size of them in megabytes similar to the following:

This output shows that all files over 1…Read More

Install NodeBB

Ensure you have installed MongoDB before progressing any further.. sudo apt install mongodb When your server has finished being generated, you will receive an email with your server IP address, root user (usually root) and your password. You can then connect to the server with PuTTy. Create a MongoDB database and user Like all good…Read More