01-28-2008
Quote:
Originally Posted by
wrapster
Yes i am trying to manuplate belenix iso indeed!!!
Again, why are you failing to provide this kind of information in the first place ?
Quote:
Actually am trying to boot off the ram!
There is a particula file that needs to be first copied into /tmp (/tmp being in ram)
then mount it as usr.
but the problem is am not able to do so!
This is still quite vague.
If you are trying to use the Belenix remastering toolkit, then according to the Belenix site, there is some work to be done for it to be functional again:
Download | BeleniX
If you are doing something on your own, please show the commands you run and the errors or unexpected result you get.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
I am trying to execute a back up from one queue manager from one script saveqmgr.sh
but I am getting 2489 Illegal instruction on line 16
$ sh +x ./saveqmgr.sh S1SEAGULL
QueueManager=S1SEAGULL Retention=
S1SEAGULL.MQS.14Jan2005 not found
./saveqmgr.sh: 2836 Illegal... (1 Reply)
Discussion started by: ana
1 Replies
2. AIX
I have one server IBM p650 that running AIX 5.1.
Now i want to install new with AIX 5.3 on it.
So anyone can help me, how to start new installation AIX 5.3?
Thank for you instruct. (1 Reply)
Discussion started by: KHS.SENG
1 Replies
3. Shell Programming and Scripting
Hi
I am trying to execute a simple grep command looking for records in a filename that start with 01 (grep ^01 filename) and am getting the error Illegal instruction(coredump). Has anyone any idea why this happens? Is it due to the file being corrupted?
Thanks (1 Reply)
Discussion started by: colinmas
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
this is my script to make a choice between 4 :
clear
echo " choose a profile and enter a number"
echo
echo " 1- oraSTT "
echo
echo " 2- appSTT "
echo... (3 Replies)
Discussion started by: big123456
3 Replies
5. Shell Programming and Scripting
Hi gusys.
I am developing a script that mount a filesystem ; I would like
verify that this instruction has finished OK !!!
I am tryin to use $? ; but I have doubt How use the if instruction with
the $? variable :
mount machine:/dir /dir
if
then
action 1
else
... (2 Replies)
Discussion started by: aggadtech08
2 Replies
6. Solaris
Hi ,
Currently the machine is running with Sun_ssh. I would like to move to Open_ssh.
I went through google.
Each link shows different directions/ways to install openssh. I am not sure which one to proceed with .
Installing OpenSSH Packages - SPARC and Intel x86/Solaris 9 and 10
... (0 Replies)
Discussion started by: frintocf
0 Replies
7. Shell Programming and Scripting
Hi ,
Currently the machine (solaris 10 ) is running with Sun_ssh. I would like to move to Open_ssh.
I went through google.
Each link shows different directions/ways to install openssh. I am not sure which one to follow .
Installing OpenSSH Packages - SPARC and Intel x86/Solaris 9 and... (1 Reply)
Discussion started by: frintocf
1 Replies
8. Shell Programming and Scripting
Pleas I want answer to this question? Pleas help me
A system administrator suspects that there is an attack on his machine; he needs to make a backup of the files to check when they have been modified. For this purpose he uses the "cp -r" instruction to copy the root directory. What is the... (1 Reply)
Discussion started by: tamer11007
1 Replies
9. Solaris
I keep getting a Illegal instruction error when running my MCP file below is the dump error message followed by truss log, dose anyone have any ideas?
/opt/builds/bin/core: ELF 32-bit MSB core file SPARC Version 1, from 'mcp'
*** Select Close or Exit from the window menu to close this window... (12 Replies)
Discussion started by: Wpgn
12 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)