Items 1-12 out of 2193 displayed
As far as I know, the behavior that you're looking for (i.e. consulting the /etc/fstab
file, and applying the options found there) only applies if you call mount
...
To get the logic right, just minor changes are required. Use:
while ! df | grep '/toBeMounted'
do
sleep 2
done
echo -e 'a'Hey, I think you wanted to know that /toBeMounted is...
You can do that using xclip
(package xclip
, not installed by default):
xclip -out -selection primary | xclip -in -selection clipboard
Use pgrep
instead:
pgrep -cxu $USER -f my-tool
The options used are:
-c, --count
Suppress normal output; instead...
I ended up completely reinstalling Ubuntu (upgraded to 18.04). I know this isn't really a solution, but at least now the question can be closed.