#Is it bad practice to run umount -a instead of specifying the directory to unmount? I’ve always run umount -a to unmount my drive but i notice it unmounts a lot of other things. Is this bad?

  • palordrolap@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    In addition to other advice here: If you want to save on keystrokes, set yourself up a shell alias that’s short but unlikely to be a valid command anywhere else.

    I have one that’s kind of the inverse of yours, called mntStorage (no prizes for guessing its purpose). It wasn’t intentional, but mixing case like that is pretty rare in important commands too.