03-01-2012
Quote:
Originally Posted by
sunshiner
Hi,
I have a problem when I was trying to mount windows XP shared folder in AIX v5.3
I used command
and I got this:
what does it mean?
Is there any solution without install cifs?
Thanks
Does /mountpoint exist on the AIX system?
9 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi,
How can I mount a Windows share (over samba) on an AIX machine?
I know there is a utility called smbmount on Linux, but alas, I cannot find out how to the same thing on AIX.
anyone have any ideas?
thanks! (3 Replies)
Discussion started by: szahir1
3 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I've got a system here in which I have put a hard drive that was previously mirrored in a supposedly identical system. I am now attempting to boot from this drive alone but get these messages:
---
ad4: 58644MB <Maxtor 6Y060L0> at ata2-master UDMA100
Mounting root from ufs:/dev/ar0a... (0 Replies)
Discussion started by: jimbostyx
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a Solaris 10 OS. I would like to map a network drive to a Windows machine. I have typed the following command
#mount 192.1.1.1:/content_dir /windows
192.1.1.1 - ip address of my windows box
content_dir - directory that I have shared out to others users on my windows box... (3 Replies)
Discussion started by: annointed3
3 Replies
4. SCO
Hi,
We are testing SCO6 for an upgrade.
We currently have a SCO5.0.4 system that mounts
a remote directory on a Windows 2000 server.
The windows server has 'services for unix' installed
to enable the required directory to be mounted on the SCO system.
On SCO we run '/etc/mount -v -f NFS... (2 Replies)
Discussion started by: sidnagra
2 Replies
5. AIX
Hi
Can somebody help me know , How can i mount a USB drive in my AIX 5.3 ML6, P570 Server. This is a Bit urgent for me. Thanks in advance..
Regards
Raj (0 Replies)
Discussion started by: rdkumarj
0 Replies
6. SCO
Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies
7. Linux
Dear Experts,
My buissness requierment is to place some automated files in Windows server, Now Can you help me to map the Windows folder into Linux server.
Windows Details:-windows 2003
Linux Details:-
$ uname -a
Linux testdb.mawarid.local 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007... (3 Replies)
Discussion started by: Mohammed Fareed
3 Replies
8. AIX
Hi,
The problem I have is I want to restore my AIX machine. I have created a mksysb tape from my tape drive rmt0 and I changed the bootlist using this command "bootlist -m normal rmt0 hdisk0".
However, when I display the bootlist "bootlist -om normal", it shows '-' hdisk0. I googled and... (2 Replies)
Discussion started by: AixNoob87
2 Replies
9. AIX
Hi,
How can we share a AIX drive on to Windows 2012 server. or vise versa.
Note: Not using NFS/CIFS/samba. (*we are not able to use samba/NFS/CIFS for some reason)
Requirement: How to have real time file sharing over the network between Windows and UNIX
Do you guys have any ... (4 Replies)
Discussion started by: System Admin 77
4 Replies
LEARN ABOUT DEBIAN
shell-quote
SHELL-QUOTE(1p) User Contributed Perl Documentation SHELL-QUOTE(1p)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)