How Do I Mount a Shared Folder in Ubuntu?

How Do I Mount a Shared Folder in Ubuntu?
Contents

How do I permanently mount a shared folder in Linux?

Issue the command sudo mount -a and the share will be mounted. Check in /media/share and you should see the files and folders on the network share.

How do I permanently mount a network drive in Ubuntu?

open ‘Terminal’ and enter the following commands:

  1. install cifs utilities. …
  2. create mount points for windows shares and set permissions. …
  3. create ‘credentials’ file to hold userid/password and set permissions. …
  4. enter the following 2 lines. …
  5. set permissions to hide username and password. …
  6. retrieve ‘uid’ and ‘gid’ values for next step.
Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.