Useful console linux commands

Introduction

Below are some linux commands you might find useful.
They can be run from any terminal emulator (xterm, konsole, etc.) or from a virtual console by pressing Ctrl+Alt+F{1..12}.

The uptime console command shows the time (days) the computer has been up without a reboot.

admin@ip-172-31-27-178:~/quickstart$ uptime
 15:11:49 up 42 days, 19:50,  1 user,  load average: 0.00, 0.00, 0.00

For disk usage by filesystem, use the df console command.

admin@ip-172-31-27-178:~/quickstart$ df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  475M     0  475M   0% /dev
tmpfs          tmpfs      98M  544K   97M   1% /run
/dev/xvda1     ext4      7.7G  1.9G  5.4G  27% /
tmpfs          tmpfs     486M     0  486M   0% /dev/shm
tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
/dev/xvda15    vfat      124M   12M  113M  10% /boot/efi
tmpfs          tmpfs      98M     0   98M   0% /run/user/1000

If you want to see the memory usage in the Linux console:

Hello everyone

Thank you for visting this site.
It contains posts about using admin tools in the cloud and on your computer.