Ubuntu: SMB Client Get Command
-
I am trying to manually install the Pertino client on a fresh Ubuntu 15.10 VM. I am trying to copy over the installer for the pertino client from a Windows Server share and since I am pretty green when it comes to Linux, I am not sure of some very basic commands in how to do it.
I am using the smb client to connect to the share, then using get to download the file to the Ubuntu server. However, I do not know where the file ends up. I checked the /tmp directory but it is not there. After connecting to the share I am running:
get pertino_520.4587-1_amd64.deb
I see the progress and speed of transfer. Is there an option to add the destination to the get command? Is there a better way to do this?
-
In general, the easy thing to do is grab WinSCP or Filezilla on Windows and just push the file that way. Super, duper simple. If you are doing files all day, definitely take the time to set up SMB/CIFS shares for Linux, if it is just one or two files now and then, use Filezilla and keep things simple.
-
Thanks for the tips. I would also like to learn how to do it from the Linux side (I am working through your learning linux series). Would you know where the file ends up if you just use the get filename command?
-
@wrx7m said:
Thanks for the tips. I would also like to learn how to do it from the Linux side (I am working through your learning linux series). Would you know where the file ends up if you just use the get filename command?
Likely it ends up "where you are." But I've never used the get command so can't say.
-
Ah. So if I use filezilla, I would have to enable FTP on the Ubuntu server?
-
@wrx7m said:
Ah. So if I use filezilla, I would have to enable FTP on the Ubuntu server?
No, no one uses FTP
SFTP is not related to FTP and uses SSH. Just install Filezilla and away you go. Use SFTP and it should work transparently. It will look basically like Windows Explorer.
-
@scottalanmiller My bad, I was thinking of SFTP but I get your point
-
So I did that and found the pertino client file was already in the root directory from when I ran the smb client get command. Ha! Thanks again!