How Do I Map a Network in Linux?
Contents

How do I map a network drive in Linux?

Map a Network Drive on Linux

  1. Open a terminal and type: sudo apt-get install smbfs.
  2. Open a terminal and type: sudo yum install cifs-utils.
  3. Issue the command sudo chmod u+s /sbin/mount.cifs /sbin/umount.cifs.
  4. You can map a network drive to Storage01 using the mount.cifs utility.

How do I map a network drive in Ubuntu?

Mount the storage space

Switch out name_of_drive for the right name of the shared drive and switch out abc123 for your own username: sudo apt-get install cifs-utils. sudo mkdir /name_of_drive. sudo mount -t cifs -o username=abc123,rw,nosuid,uid=1000,iocharset=utf8 // /name_of_drive.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest