07-19-2010
Read the rules!
1. You posted your question in a existing thread that has nothing to do with your question (the thread about ssh X11 forwarding).
2. Rule #9 says:
Quote:
Edit your posts if you see spelling or grammar errors (don't write in cyberchat or cyberpunk style). English only.
You should write
you, not
u.
Thank you!
This User Gave Thanks to radoulov For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm trying to configure SCO's internet manager for access to
the internet. However, when I start the config program, my desktop turns black & white (unless I minimize communicator's window -- then it turns back to normal).
I type in the user id and password and it looks as if the... (1 Reply)
Discussion started by: gseyforth
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all, :confused:
I want to know about the configuration management tool that is used in SCO UNIXWARE 7.1.3. Please refer some sites where i could get the details.
Thanks in advance
kavitha (2 Replies)
Discussion started by: kavithadass
2 Replies
3. SCO
Hello Guys,
We have an old PC running on SCO Unix V. Is there any sites where i can get manual/procedures on how to install and configure Network. Thanks (2 Replies)
Discussion started by: nrcuevas
2 Replies
4. SCO
Dear Team ,
how i can configure raid 1 (mirroring) using ide hdd in sco open unix 5
i have two 80gb identical hdd (same make/model)
thanx (0 Replies)
Discussion started by: sudhir69
0 Replies
5. SCO
We have many remote servers that are running different versions of the SCO operating system. The current server inventory includes the usage of SCO 3.2v5.0.5 3.2v5.0.6 and 3.2v5.0.7.
Recently, there have been some ongoing problems when a re-boot is done with some of these remote servers.... (0 Replies)
Discussion started by: dclary
0 Replies
6. Linux
Hi,
How to find remote Linux box login account without login in to that box?
I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout?
Thanks,
--Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I am working on Servers running SCO OpenServer 5 and I tend to setup a lot of Servers. I am wondering if mkdev -lp to create printers has a file that I can just copy and paste from an exisiting Server to a new (upgrade) server. I can do this with the hosts and resolv.conf files.
... (1 Reply)
Discussion started by: ewerezak
1 Replies
8. Solaris
how to login with ssh to remote system with out applying the remote root/user password
with rlogin we can ujse .rhosts file
but with ssh howits possible
plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
9. UNIX for Advanced & Expert Users
Version: Oracle Enterprise Linux 6.3
Running on VMWare Workstation
When I login to my Linux VM from putty, the third line prompting for password comes only after few seconds.
login as: root
Access denied
root@192.168.0.235's password: ---> It takes around 5 seconds to get this prompt
I... (1 Reply)
Discussion started by: John K
1 Replies
10. SCO
Hi,
I am really new to the forum and for SCO as well. I have a burning situation here to know how to configure below list of hardware into SCO 5.0.7!!
EQUINOX 990209-1 ELS 16 PORT TERMINAL SERVER and
Seagate DAT Scorpion 24 - Tape drive ( 12 GB / ) DDS-3 SCSI
Can Any One Please Help Me... (11 Replies)
Discussion started by: Kanthi Kiran
11 Replies
LEARN ABOUT CENTOS
shell-quote
SHELL-QUOTE(1) User Contributed Perl Documentation SHELL-QUOTE(1)
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.16.3 2010-06-11 SHELL-QUOTE(1)