How do I permanently mount a network drive in Linux?

How do I permanently mount a network drive in Linux?
Answer
Follow these steps to do it:
  1. Locate the share you would like to mount. showmount –e 192.168.1.150.
  2. Create a directory where the share would mount. mkdir ~/Network-files.
  3. Access the fstab file using nano. sudo –snano /etc/fstab.
  4. Type in the command for the mount. Here’s how it needs to look like:
 

Tìm kiếm

Back
Top