LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2008, 08:02 PM   #1
v@ny@
Member
 
Registered: Dec 2005
Location: Moscow
Distribution: Ubuntu 8.1
Posts: 104

Rep: Reputation: 15
How to open a network address from the command line?


Hi! In our town the internet providers have a local network where we can download stuff they have availible very fast, like linux cd images etc.

In a windows machine using explorer I just go to their network search page, click on the little plus sign on the left of the search results and it opens the folder with the file I want in a new window. With mac an Linux as far as I know this is not possible so in Linux I use opera, click on the plus sign which gives me an error message. I copy the address in the address bar on top, open any folder in my gnome file manager and use 'ctrl+L'. A little address bar appears on top, I paste the address I copied earlier and there I have it!

I'm sure there is an easier way. I was thinking maybe using the command line would be the way to go but I have no idea how. Here is a sample address I'd access to download a linux distro from the local server:

smb://194.85.80.56/sdc/torrent/done/slackware-12.1-iso/


Thanks!
 
Old 11-15-2008, 08:10 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
You can try smbget (if available) or wget.
 
Old 11-16-2008, 04:25 AM   #3
v@ny@
Member
 
Registered: Dec 2005
Location: Moscow
Distribution: Ubuntu 8.1
Posts: 104

Original Poster
Rep: Reputation: 15
Yes, smbget worked, thanks. But is there any way of just going into the directory to see what's inside, instead of just downloading a particular file? From the url above for example I'd go to smb://194.85.80.56/sdc/torrent/done/ and have a look on all the distro and versions they have for me to download.
 
Old 11-16-2008, 05:37 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
You can try smbclient. This will open a remote session similar to ftp: you can list, delete, retrieve, put files and so on. Type exit at the smb:> prompt to terminate.
 
Old 11-17-2008, 03:24 AM   #5
v@ny@
Member
 
Registered: Dec 2005
Location: Moscow
Distribution: Ubuntu 8.1
Posts: 104

Original Poster
Rep: Reputation: 15
Works. Thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the the command line that will give me full DNS IP address? mrdancemachine Linux - Networking 17 05-19-2008 06:53 PM
ip address using command line Ammad Linux - Networking 2 04-24-2007 07:12 PM
How to get an IP Address from command line? Big Dog XII Linux - General 4 01-25-2007 12:54 PM
command line address book program oneferna Linux - Software 3 02-12-2006 03:24 PM
re: how do I open file from command line ergo_sum Linux - Newbie 7 10-29-2003 12:35 PM


All times are GMT -5. The time now is 02:18 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration