SUSE Conversations


Mounting/Viewing Windows/Linux shared files on Linux



By: lrajesh

October 16, 2007 11:33 am

Reads:83

Comments:0

Rating:0

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

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)


Categories: Free Tools, Technical Solutions

Comment

RSS