Mount Reference commands
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
Viewing Mounts
- List mounts:
mount
orcat /proc/mounts
- Check disk usage:
df -h
- Persistent mounts:
/etc/fstab
Samba Mounts
- Install packages (Ubuntu/Debian):
Terminal window sudo apt-get updatesudo apt-get install cifs-utils