SUSE Conversations


Mounting/Viewing Windows/Linux shared files on Linux



By:

October 16, 2007 11:33 am

Reads:315

Comments:0

Score:Unrated

Print/PDF

Many a times, it might be required mounting shared files either from Windows or Linux on the Linux machine. This script will help in viewing/Mounting the shared files.

If you want to execute this script as a Command, do the following:

  • Step 1:
    Change the permissions of the script
    Ex: chmod 777 allShare.sh
  • Step 2:
    Copy the allShare.sh file to /root/bin

  • Step 3:
    allShare [It works like a command]

How to use:

  1. Run the above script/command on the console.
  2. Provide the required inputs, viz., Mount Location, Shared Location, etc.

For ex, while mounting the files:

If the files are from Windows, provide an input like: //<IP_Addr>/<Shared_Directory>
Ex: //164.99.157.122/sharedlocation

If the files are from Linux, provide an input like: <IP_Addr>:/<Shared_Directory>
Ex: 164.99.157.122:/sharedlocation

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...


Categories: Free Tools, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

Comment

RSS