File shares in UNIX


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users File shares in UNIX
# 1  
Old 10-08-2015
File shares in UNIX

a) what are the different ways to share files ?
b) How can I get list of file shares on Unix box in my company?
c) How can I get list of files and their content present on all the Unix File shares?
# 2  
Old 10-08-2015
a) There are lots of ways, Samba and NFS are two popular ones.

b) Depends on your UNIX. UNIX file shares don't usually advertise themselves, so exploring is best done from the server side:

1) Find out what UNIX it has.
2) Find out what services it's running (again, depends on which UNIX). If any of them are nfs or samba, those are probably controlling the shares its exporting.
3) Find out where the configuration files for that service are kept (again, that depends on which UNIX).

Then you'll be able to see what their shares are by reading the configuration.

To list them, I recommend 'ls'.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. AIX

AIX 7.1 - Samba 4 File Shares and Integration with Active Directory Issues

Hi. Ive recently upgraded Samba on an AIX server to Samba 4. The aim is to allow a specific group of Windows AD users to access some AIX file shares (with no requirement to enter passwords) - using AD to authenticate. Currently I have: Samba 4 installed ( and 3 daemons running) Installed... (1 Reply)
Discussion started by: linuxsnake
1 Replies

3. Red Hat

Help with NFS shares

Hi, I have got nfs shares that were shared from storage (Netapp) to linux servers (RHEL 4) that were on automount. All the share were visible and mounted on the linux serves eventhough they were on auto mount. But recently one of the server was rebooted and mount points were disappeard and... (5 Replies)
Discussion started by: phanidhar6039
5 Replies

4. UNIX for Dummies Questions & Answers

Help mounting Samba shares

I have these two shares on my Ubuntu Server: path = /media/share read only = no guest ok = yes path = /var/www read only = noI want to mount them to the directories that I created on my Desktop called "shared" and "www" how do I do this? I ran the command: smbclient -L... (1 Reply)
Discussion started by: shadowcat
1 Replies

5. UNIX for Dummies Questions & Answers

Samba - Creating shares

So I have Samba installed on my server and I have to create two shares. Make a backup of your smb.conf - call it smb.conf.orig. Create a share called shared that allows read and write permissions for everyone and points to /media/shared. Create another share called www that points to the... (1 Reply)
Discussion started by: shadowcat
1 Replies

6. Red Hat

NFS Shares

Hi, Is there any command in linux to check the remote NFS shares from client machine just like we have dfshares in solaris. Thanks, Trimurtulu (1 Reply)
Discussion started by: ktrimu
1 Replies

7. IP Networking

How to enumerate samba shares with client

I have a samba server node and I want to mount the samba (CIFS) shares from a second (client) unix machine. However, the unix mount command requires I specify the name of the share. What if I don't know the name of the share? How can I enumerate all the shares from the samba client machine? ... (1 Reply)
Discussion started by: siegfried
1 Replies

8. UNIX for Advanced & Expert Users

File Server Pc Shares

Hi Everybody, I just want to know if anyone can help me to increase disk space for my users shared folder... it running out of free space... Any command that i can use or any otherway to prevent losing disk space from each folder? Please help... Thank you. (2 Replies)
Discussion started by: bvillante
2 Replies

9. SCO

Using NFS shares from RMCobol

I have set up a directory on a PC using smb and can access the directory using all normal unix commands. I want to be able to access files in the directory from RMCobol programs but get system error 46 which appears to be "no record locks available". Does anybody know what I need to do to... (3 Replies)
Discussion started by: rongrout
3 Replies

10. IP Networking

Mounting shares from a Windows PC

Hi... I can ping my Windows PC using both the IP address and NetBios name and I can ping my Linux box the same, IP address and NetBios name. I can even use smbclient to see the shares on my Windows PC. But I can't map the shares so that Linux sees it as a drive. How do I do that? (5 Replies)
Discussion started by: SeCBerm
5 Replies
Login or Register to Ask a Question