On 2016-02-11, Felix Miata <mrma...@earthlink.net> wrote: > Jan Gregor composed on 2016-02-11 22:25 (UTC+0100): > >> I used /etc/mtab to list mounted filesystems with their mount options. >> Unfortunatelly /etc/mtab no longer exists in debian jessie, it is just >> symlink to /proc/mounts that lists 31 filesystems and I want to see just 2 >> :-) classic filesystems like ext4, fat, btrfs only. > > alias Mnt='mount | grep -v cgroup | grep -v tmpfs | grep -v ^sys | grep -v > "on /dev" | grep -v "on /proc" | grep -v "on /sys" | grep -v "on /var" | sort'
I don't anything about bash scripting, but can't you do something with less redundancy like: alias MNT='mount | grep -vE 'tmpfs|sysfs|devpts|etc|etc'? -- Hypertext--or should I say the ideology of hypertext?--is ultrademocratic and so entirely in harmony with the demagogic appeals to cultural democracy that accompany (and distract one’s attention from) the ever-tightening grip of plutocratic capitalism. - Susan Sontag