Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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?
    Debian Jessie x86_64 & armhf :: LibreELEC is the solution for your Linux-based HTPC setups.

  3. #3
    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
  •