Linux scratchpad
Updating the system, Reference Ask Ubuntu
1 2 3 |
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade |
Installing Midnight Commander
1 |
sudo apt-get install mc |
Linux, show real partitions and size
1 |
df -h --output=source,fstype,size,used,avail,pcent,target -x tmpfs -x devtmpfs |
Base64 To encode text to base64 (Mac OS):
1 2 |
$ echo hello world | base64 aGVsbG8gd29ybGQK |
To decode, use […]