Score:0

How to connect SMB file system in command line and how to access it? (ubuntu 20.04)

za flag

In ubuntu, I can connect to a directory connected by samba by opening File Manager and pressing Ctrl+L and typing in location like smb://129.254.32.xxx/Private then the File Manager asks me to type in login information. The connected directory is seen at /run/user/1000/gvfs/smb-share:server=129.254.32.xxx,share=private and of course I can access the lower directory from there. For example, /run/user/1000/gvfs/smb-share:server=129.254.32.xxx,share=private/prj/abdsn. I have a question here. How can I connect the samba directory using command line (instead of using Ctrl+L in File Manger)? I tried smbclient smb://129.254.32.xxx/share -U user1%passwd1 but couldn't find where it is attached. Command example would be appreciated.

Score:1
es flag

You can replicate this:

Ctrl+L and typing in location like smb://129.254.32.xxx/Private

With this:

gio mount smb://129.254.32.xxx/Private
vn flag
And then will be on `cd /run/user/$(id -u)/gvfs/`...
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.