Find the answer to your Linux question:
Results 1 to 2 of 2
What is the syntax to access a samba directory at the command line? I have connected to a samba directory via the GUI ( Dolphin file manager in KDE 4.2). ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221

    Access Samba Dirctory at Command Line

    What is the syntax to access a samba directory at the command line?

    I have connected to a samba directory via the GUI ( Dolphin file manager in KDE 4.2). The path that displays is smb://192.168.1.88/mike.

    I tried :

    cd smb://192.168.1.88/mike

    bash: cd: smb://192.168.1.88/mike: No such file or directory

    How do I "CD" to this directory at the command prompt? I would like to move several files over via command line because I have found Dolphin to be unreliable at times.

    Thanks.

    -Mike
    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP3
    OpenSuse 11.2, KDE 4.3.1

  2. #2
    Linux Newbie
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221
    I found the answer.

    sudo mount -t cifs //netbiosname/sharename /media/sharename -o username=winusername,password=winpassword,iocharse t=utf8,file_mode=0777,dir_mode=0777
    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP3
    OpenSuse 11.2, KDE 4.3.1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...