From the course: Linux: File Sharing Services

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Connect to a Samba server

Connect to a Samba server - Linux Tutorial

From the course: Linux: File Sharing Services

Start my 1-month free trial

Connect to a Samba server

- [Instructor] We have a Samba Server up and running so let's take a look at connecting to it from a client. First we'll install the software we need and then we'll use the smb client application to explore shares and connect that way. Then we'll mount a samba share so we can use it locally in our file system. These commands here are just examples of what we'll use and I'll explain them more in depth in just a moment. Here on my client system, we'll need to install the samba client and some utilities. So, I'll type sudo, yum install, samba-client and cifs-utils. And now we can use the samba client app called smbclient to start exploring our server. First, let's have a look at a listing of available shares. I'll write smbclient -L //10.0.0.4 the ip address of my server - U and my user name on the server. The -L option stands for list and that's followed by the address of the server we want to connect to. That starts with two //. I'm using the ip address of my other machine here but you…

Contents