Wednesday, July 4, 2018

Handy Linux Commands

Here is a list of day-to-day use handy Linux commands. These have been tested in my primary distro Mageia.

 

sudo mount -o remount,size=4G /tmp/
sudo mount /tmp -o remount,size=5000000000

These can be used for run-time resizing of file-system. -o is to provide a comma separated list of mount options. size=4G or size=5000000000 provides the new file-system size.