LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-19-2012, 11:03 AM   #1
Thomas Theimer
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Rep: Reputation: 0
finding the path to a network folder to use in the terminal


I have a NAS on my network and I can access files on the NAS using the file manager (Thunar) by clicking on "Network" and then on the name of the NAS. But I haven't found how to access NAS files from the terminal window and I am hoping someone can help. This isn't a question about mounting as I keep finding in my searches. I just need to know how to find the path to the NAS. (Ubuntu 11.10)

Thanks.

Tom
 
Old 02-19-2012, 11:13 AM   #2
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
how is NAS done in this setup?

There are quite some different methods of attaching storage via network.
And so differ the solutions.
 
Old 02-19-2012, 06:29 PM   #3
Thomas Theimer
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by uhelp View Post
how is NAS done in this setup?
I'm not sure which is probably the heart of my problem. (The NAS is an iomega StorCenter ix2-200).

When I created a file on the NAS and opened it in gedit I saw that it displayed the following address when saving:
smb://ix2-200-ttp/quiktransfer/mytestfile.txt

This would suggest that the file is accessed via a Samba server but I could not find how to access this file in a terminal window (e.g., ls -l smb://ix2-200-ttp/quiktransfer).

I hope this provides enough information to point me in the right direction.

Last edited by Thomas Theimer; 02-19-2012 at 06:31 PM.
 
Old 02-20-2012, 12:36 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
You need to mount the SMB share on a mountpoint in your filesystem. Once done, you access the files just as if they are local files. I will not quote an exact command to use, since there are a lot of site-specific options which need to be right before it will work. On Linux, the CIFS filesystem type has mostly superseded the SMB filesystem type. Your mount command should look something like:
Code:
mount -t cifs smb://ix2-200-ttp /some/local/directory/as/a/mountpoint
You may be able to see some options used by gedit if you simply run mount while gedit is using the SMB share.
--- rod.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using terminal command -Find files in a folder and copy them to a different folder j-jock Linux - General 4 11-28-2011 02:20 AM
terminal shows folder but file browser does not show folder biharibong Debian 2 01-21-2009 12:58 PM
Finding path of library Ephracis Programming 6 01-08-2008 09:20 AM
finding the PATH tahiche Linux - Software 7 10-12-2005 12:47 PM
finding java path? pyropenguin Linux - Newbie 2 09-19-2002 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration