Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I'd like to know if it is possible to use a file off a network share (smbfs) the same way that you can do in windows via the \hostname\share\path\to\file. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie humbletech99's Avatar
    Join Date
    Nov 2005
    Posts
    225

    use a file off a network?


    Hi,
    I'd like to know if it is possible to use a file off a network share (smbfs) the same way that you can do in windows via the \\hostname\share\path\to\file.

    I've tried doing things like:

    Code:
    cat //hostname/share/path/to/file
    cat smbfs://hostname/share/path/to/file
    but these just don't seem to work.

    Is there a way of doing this without mounting first?

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    If you are not able to access unmounted dirs locally under Linux, why would that be possible remotely?
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  3. #3
    Linux User
    Join Date
    Jul 2005
    Posts
    369
    mount the directory first then use cat
    All i want for christmas is a new liver....a second chance to get afflicted with Cirrhosis

  4. $spacer_open
    $spacer_close

Posting Permissions

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