9/19/2023 0 Comments Setup shared folders ubuntu samba![]() ![]() Notice that the Linux command uses forward slashes instead of backslashes). For instance, if your Windows username is Fred, and your Windows share network name is \\YOURCOMPUTERNAME\Users\YourUserName\ShareFolderName, use the command smbclient //YOURCOMPUTERNAME/Users/YourUserName/ShareFolderName -U Fred. With smbclient installed, you can connect to your Windows share using the command smbclient //ComputerName/ShareName -U Username.You can also download the Samba client directly at which might be useful to you if you need or want to compile the program from the source code. ![]() If you use the yum package manager, the default on Linux systems, such as CentOS, you can use the sudo yum install samba-client command.If you use the apt package manager, the default on Linux systems such as Ubuntu or Debian, you can use the sudo apt-get install smbclient command.However, if the command is not found, you need to install smbclient. If you receive a "Usage:" message, smbclient is installed, and you can skip to the next step.You can also access your Windows shared folder from the Linux command line using the smbclient program. Access a Windows shared folder from Linux using the command line Note the smb: at the beginning, in Linux, use forward slashes instead of backslashes. Type smb://YOURCOMPUTERNAME/Users/YourUserName/ShareFolderName and press Enter. For example, when you created your Windows Share if the share name was listed as: \\YOURCOMPUTERNAME\Users\YourUserName\ShareFolderName ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |