Mount Reference commands
Mount Reference Commands
Section titled “Mount Reference Commands”sudo dnf install cifs-utilscd /mntmkdir sambasudo vim /etc/fstabsudo systemctl daemon-reload//SERVER/share /mnt/samba cifs username=user,password=passwd 0 0# ... where:# “share” = the name of the network share# “SERVER” = server’s name or IP address# ”user” = your SAMBA username# ”passwd” = your SAMBA password
View Mounts
Section titled “View Mounts”Viewing Mounts
Section titled “Viewing Mounts”- List mounts:
mount
orcat /proc/mounts
- Check disk usage:
df -h
- Persistent mounts:
/etc/fstab
Samba Mounts
Section titled “Samba Mounts”- Install packages (Ubuntu/Debian):
Terminal window sudo apt-get updatesudo apt-get install cifs-utils