Announcement

Collapse
No announcement yet.

samba and command line

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    samba and command line

    I'm trying to access files on another machine via CLI. I can easily point and click my way to these files via Samba in this directory with konk
    smb://cygne1000/TonyShare/install
    But I don't know how to get to the files konsole.
    ant2ne@ant2ne-laptop:~$ cd smb://cygne1000/TonyShare/install
    bash: cd: smb://cygne1000/TonyShare/install: No such file or directory
    ant2ne@ant2ne-laptop:~$ smb://cygne1000/TonyShare/install
    bash: smb://cygne1000/TonyShare/install: No such file or directory
    ant2ne@ant2ne-laptop:~$ cd //cygne1000/TonyShare/install
    bash: cd: //cygne1000/TonyShare/install: No such file or directory
    Registered Linux User: 450747<br />Registered Ubuntu User: 16269

    #2
    Re: samba and command line

    Make a local directory and mount the remote directory to the local directory. I think that would work. Once mounted, you will have access to the files.

    Comment


      #3
      Re: samba and command line

      what would the command line for that look like?
      Registered Linux User: 450747<br />Registered Ubuntu User: 16269

      Comment


        #4
        Re: samba and command line

        First make a directory to mount to. Then:

        Code:
        sudo mount -t smbfs -o username=yoursmbusername,password=yoursmbpassword //cygne1000/TonyShare/install /path to directory you created.

        Comment

        Working...
        X