02-04-2018
I said it already and i say it again:
Quote:
Originally Posted by
bakunin
Can you tell us how your system was built (hardware-wise) so that we can narrow the possible reasons down?
Without knowing what we are talking about the whole discussion is just a waste of time.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Well i install successfully Solaris on my Second Hard disk, although i had to make it primary Master and my orignal hard disk as pirmary slave, because solaris will not let Windows on primary master.
Anyway after installation when i try to boot from hard disk , it shows message
bad PBR Sig ... (3 Replies)
Discussion started by: abidmalik
3 Replies
2. AIX
Hi Folks,
I have an AIX server and I would like the server to run the command saprouter -r at every system restarts. It needs to be run by a specific user. How would I do that?
Thanks!!! (1 Reply)
Discussion started by: brookingsd
1 Replies
3. Red Hat
Hi,
My HP-Proliant Machine have faced abnormal shutdown due to a power failure.
after the event : "Operating System not found" appears & the system could not load operating system.
O/S: RHEL AS 4 update 2
Software Raid 1+0 were configured.
Facts Gathered:
All mount points are... (1 Reply)
Discussion started by: Muhammad Ahmad
1 Replies
4. AIX
Hello,
When I try to upgrade AIX from 5.1 to 5.3 I get this error message
20EE0008 : No adapters found Adapter, Riser, System Bd.
Anyone know anything about it ? (1 Reply)
Discussion started by: filosophizer
1 Replies
5. Solaris
Hi guys and ladies!
The application not found required fonts.
I checked, the packages SUNWi5rf, SUNWi5of are installed.
Then I checked availability the directories iso8859-5, iso8859_5 at /usr/openwin/lib/locale.
I checked after that.
% xlsfonts | grep "lucida-"
The system showed only ... (0 Replies)
Discussion started by: wolfgang
0 Replies
6. UNIX for Advanced & Expert Users
Hi
currently my linux instance is running in runlevel 3 ( someone has set the default to 3)
i have to change it to runlevel 5 . my question
1) does the editing of /etc/inittab needs system restart to enter runlevel 5.
2) how can we avoid system restart because if some users are... (3 Replies)
Discussion started by: rakeshkumar
3 Replies
7. Linux
I have a Xen VM guest image with a lost root password. In order to get to /etc/passwd and /etc/shadow I need to mount the filesystems within the image with everything but /boot is in a LVM partition. The VM host also have an LVM image, and both (host and guest) are called VolGroup00. I want to... (1 Reply)
Discussion started by: dokhebi
1 Replies
8. BSD
Guys,
I am new to FreeBSD. I have this weird issue where when i issue the command "/etc/rc.d/named restart" i get --> command not found.
I am running BIND 9.6.-ESV-R3 on FreeBSD 8.2
I have added named_enable="YES" in rc.conf as per manual
named works great: No issue there. I just would like... (3 Replies)
Discussion started by: zongo
3 Replies
9. Solaris
Hi,
Iam trying to instal a solaris operating system in a vmware on my local windows system via an iso image named as "solaris10.vmx". but as soon as the vm console opens i get an error message as:
"PXE-MOF: Exiting Intel PXE ROM.
Operating system not found"
Please help me out in... (3 Replies)
Discussion started by: Laxxi
3 Replies
10. AIX
Our AIX system is currently having an issue where calls to various executables are returning errors such as
ksh: /usr/bin/oslevel: not found.
This is even happening with system files, third party scripts, and with the full path included.
Telnet connections are also closing immediately upon... (6 Replies)
Discussion started by: Chthonic
6 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)