Sponsored Content
Top Forums Shell Programming and Scripting command to connect the shared folder Post 302548223 by Chubler_XL on Wednesday 17th of August 2011 10:33:34 PM
Old 08-17-2011
Here is a command to copy everything in the shared docs folder (and all sub-folders under docs) to a docs directory on you c:\ drive

Code:
 cp -r //Parwvm000154/docs/ /cygdrive/c/docs

Or to just copy a single file, note quotes are needed if your filename contains spaces. Also note c:\docs directory needs to already exist

Code:
cp "//Parwvm000154/docs/some_file"  /cygdrive/c/docs/

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Command to list samba shared folder in linux

Hi All, Is there any command to list samba shared folders in red hat linux 7.2 Thanks in advance Bache Gowda (0 Replies)
Discussion started by: bache_gowda
0 Replies

2. Filesystems, Disks and Memory

can folder shared with NFS (/usr/)

hello i wanted to ask you i try to setting: pc server name: A pc user name: B pc user name: C server A is opensuse 11.2 with kde 4.3.5 and last kernel so i create NFS server, i think.. folder (/usr is all softwares and library) because server A can share to PC A. because all... (0 Replies)
Discussion started by: tunjin
0 Replies

3. Ubuntu

mounting shared folder at boot

Hi All Everytime a reboot my machine "hostB" I have to mount a shared (with machine "hostA" ) NFS folder giving this command sudo mount hostA:/sharedFolder /sharedFolder How to use fstab in order to do this automatically? I should say hostA:/sharedFolder /sharedFolder ... (0 Replies)
Discussion started by: manustone
0 Replies

4. Shell Programming and Scripting

See shared folder

Hello, I want to list all shared folder in terminal in local. I haven't found the command for, i'm on bash in mac os x. Thanks (2 Replies)
Discussion started by: protocomm
2 Replies

5. Solaris

[Solved] Cannot Connect to Shared Drives

Hello, I just updated my Solaris 10 SPARC server w/ the 1/31 10_Recommended patch cluster and have now lost all access to the RAIDs. Nobody can access any shared drives, which is where we keep 100% of our data and daily working files. What I have: - Solaris 10 SPARC - Running Samba -... (1 Reply)
Discussion started by: stringman
1 Replies

6. UNIX for Dummies Questions & Answers

Trouble setting up a shared folder

I'm trying to set up a folder in my home directory that will be shared with another user but for some reason it is not working this is what I've done, I have tried two different ways using ACL's and chown/chgrp etc I set up a group called say: sharedgroup and added both my user (john) and fred... (3 Replies)
Discussion started by: 14952john
3 Replies

7. Shell Programming and Scripting

Use programs in shared folder except ones in my home dir

(0 Replies)
Discussion started by: beca123456
0 Replies

8. UNIX for Dummies Questions & Answers

Use programs in shared folder except ones in my home dir

I am using a cluster where all the programs are located in a shared folder (I can only read but not modify anything in this folder). The path of the share folder is in my .bashrc file (and thus also in my $PATH - first position): source /home/shared/bashrc But some of the programs are... (5 Replies)
Discussion started by: beca123456
5 Replies

9. Shell Programming and Scripting

Create a shared folder using acl

Hello. I need some help to create a shared folder. A group 'publicuser' has been created. A user 'publicuser' has been created ( no login, no home) and belongs to group 'publicuser'. A public folder '/doc' has been created and owner is publicuser:publicuser. All users belonging to group... (12 Replies)
Discussion started by: jcdole
12 Replies

10. AIX

Connect from AIX 5.x to windows Server 2000 Shared Folder

Hi, I followed this procedure in order to mount in AIX a shared folder in windows server 2000. https://www-304.ibm.com/support/docview.wss?uid=isg3T1012550 Ive tested the shared folder from other windows Server, and its fine. What Ive do in AIX is: Logon as root Under /Home/spss/ I... (2 Replies)
Discussion started by: trevian3969
2 Replies
fddist(1m)							   USER COMMANDS							fddist(1m)

NAME
fddist - file descriptor usage distributions. Uses DTrace. SYNOPSIS
fddist [-r|-w] DESCRIPTION
This prints distributions for read and write events by file descriptor, by process. This can be used to determine which file descriptor a process is doing the most I/O with. Since this uses DTrace, only users with root privileges can run this command. OPTIONS
-r reads only -w writes only EXAMPLES
Sample both read and write activity, # fddist Sample reads only, # fddist -r FIELDS
EXEC process name PID process ID value file descriptor count number of events BASED ON
/usr/demo/dtrace/lquantize.d DOCUMENTATION
DTrace Guide "Aggregations" chapter (docs.sun.com) See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output. EXIT
fddist will sample until Ctrl-C is hit. SEE ALSO
dtrace(1M) version 0.70 Jun 08, 2005 fddist(1m)
All times are GMT -4. The time now is 05:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy