04-15-2006
On Windows, you specify a path as /directory1/directory2/file or whatever. You do not specify a drive letter. It will default to some drive. You cannot access other lettered drives. If you default to C:, you are stuck there. At least, I have never found a way to do it.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to ftp from a Unix machine to a Windows machine..
I've tried the following
#!/bin/sh
#set -x
USER="user1"
PASS="pass1"
HOSTNAME="host1"
ftp -n -i -v $HOSTNAME << EOT
user $USER $PASS
cd /
send text1.txt
close
bye
EOT
When I try to run this, I get prompted for the... (1 Reply)
Discussion started by: sam_sal_manu
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I'm new here so hello to everyone...i'm also new to linux/unix but got my first dedicated server about 2 weeks ago and have been using ssh to configure it on ubuntu linux.
I have a question about something i can't work out....if i use ftp to transfer files ( php, html, javascript files... (2 Replies)
Discussion started by: elduderino
2 Replies
3. UNIX for Advanced & Expert Users
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to capture... (1 Reply)
Discussion started by: yahoo!
1 Replies
4. UNIX for Dummies Questions & Answers
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to capture... (5 Replies)
Discussion started by: yahoo!
5 Replies
5. UNIX for Dummies Questions & Answers
I need to know whether nyfile/mypath exists on the file system in the root directory.
How to do this (1 Reply)
Discussion started by: ramky79
1 Replies
6. UNIX for Dummies Questions & Answers
I know this is very newbie ... but I need help determining the proper file path to file...Have no idea how to do this
I'm on a Mac OS X 10.6 Snow Leopard
thanks very much (4 Replies)
Discussion started by: jmarc
4 Replies
7. Shell Programming and Scripting
I have the following FTP embedded in a Ksh script on AIX 5.3
ftp -n <<WHATEVER
open 10.101.26.218
user hcistats *******
ascii
put $thupdatefile
put $thcollectfile
quit
WHATEVER
Here is what my script returns:
... (3 Replies)
Discussion started by: troym72
3 Replies
8. Shell Programming and Scripting
Hi All,
How can i find and replace the one path to another path with in the file.
For Example:
Search_path=/search/path
replace_path=/replace/path
I used the following command but not usefull, please help me regarding the same.
sed 's_/search/path_/replace/path_' file_name >... (6 Replies)
Discussion started by: nsyed.dw
6 Replies
LEARN ABOUT HPUX
volcheck
volcheck(1) User Commands volcheck(1)
NAME
volcheck - checks for media in a drive and by default checks all floppy media
SYNOPSIS
volcheck [-v] [-i secs] [-t secs] pathname
DESCRIPTION
The volcheck utility tells Volume Management to look at each dev/pathname in sequence and determine if new media has been inserted in the
drive.
The default action is to volcheck all checkable media managed by volume management.
OPTIONS
The following options are supported:
-i secs Set the frequency of device checking to secs seconds. The default is 2 seconds. The minimum frequency is 1 second.
-t secs Check the named device(s) for the next secs seconds. The maximum number of seconds allowed is 28800, which is 8 hours. The fre-
quency of checking is specified by -i. There is no default total time.
-v Verbose.
OPERANDS
The following operands are supported:
pathname The path name of a media device.
EXAMPLES
Example 1: A sample of the volcheck command.
The following example
example% volcheck -v /dev/diskette
/dev/diskette has media
asks Volume Management to examine the floppy drive for new media.
The following example
example% volcheck -i 2 -t 600 /dev/diskette1 &
asks Volume Management if there is a floppy in the floppy drive every 2 seconds for 600 seconds (10 minutes).
FILES
/dev/volctl Volume Management control port
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWvolu |
+-----------------------------+-----------------------------+
SEE ALSO
eject(1), volcancel(1), volmissing(1) rmmount(1M), vold(1M), rmmount.conf(4), vold.conf(4), attributes(5), volfs(7FS)
WARNINGS
Due to a hardware limitation in many floppy drives, the act of checking for media causes mechanical action in the floppy drive. Continu-
ous polling of the floppy drive will cause the drive to wear out. It is recommended that polling the drive only be performed during periods
of high use.
SunOS 5.10 21 Feb 1997 volcheck(1)