View on GitHub

Linux General Hints

How to use Linux



General hints and how-tos for Linux systems.


  1. Mount a Windows share


Mount a Windows share

  • sudo apt-get install samba-common smbclient samba-common-bin smbclient cifs-utils
  • sudo mkdir /mnt/yourmount, replace yourmount
  • To proceed, you need the server's IP address and the name of your share.
  • If the share requires credentials, those are also needed.
  • sudo mount -t cifs //server_IP/share /mnt/yourmount, no credentials
  • sudo mount -t cifs //server_IP/share /mnt/yourmount -o user=username, credentialed
  • Your share is now available at /mnt/yourmount
  • Unmount with umount /mnt/yourmount

Auto mount on boot