------ Original Message ------
From "Dale" <[email protected]>
To [email protected]
Date 05.06.2025 18:59:36
Subject Re: [gentoo-user] Books about making shell scripts and other nifty commands.


Like that command mountpoint.  I was wondering how one can check if
something is mounted or not.  No idea that existed.  o_O

Get into the habit of perusing `apropos` when you're bored or investigating:

~ % apropos -s 1 mount
free (1) - Display amount of free and used memory in the system
fusermount (1)       - mount and unmount FUSE filesystems
mountpoint (1)       - see if a directory or file is a mountpoint
restic-mount (1)     - Mount the repository
sleep (1)            - delay for a specified amount of time

Unix systems do not only feed you fish, they also teach you how to fish.
You just need to ask.

TIL: I can mount my restic backups for quick "whoops" restorations :-)

s.

Reply via email to