Ubuntu

16.04 LTS

https://superuser.com/a/178592

firefox </dev/null &>/dev/null &

If I'm right, this command gives the PID as an output. Useful to kill/restart it.

df -h

For more details:

ncdu

You might need to install ncdu in your machine. Google “ncdu + your os” to find out how. For Ubuntu: here.

Look for the largest files (source: https://askubuntu.com/a/36114):

ncdu

See this page.

To resize the swap partition:

  1. Deactive the current swap
  2. Use sudo fallocate -l 1G /swapfile where 1G is the new size of the swap partition and /swapfile the file you want to resize
  3. Reactivate the swap partition

Create new user

sudo adduser <username>

Change user

su - <username>
Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.
 
  • Last modified: 5 weeks ago
  • by Olivier Simard-Casanova