12-28-2016
Quote:
Originally Posted by
DukeNuke2
What happens if you use the rKVM provided by the ILOM?
Hi
Not familiar with rkvm... can you give me instructions if you don't mind
Sent from my iPhone using Tapatalk
---------- Post updated at 02:01 PM ---------- Previous update was at 01:18 PM ----------
checking the possibility of connecting using web interface
10 More Discussions You Might Find Interesting
1. SCO
I am using UnixWare 7.1.3 evaluation version and I have moved to network yesterday. I could able to ping and I tried to telnet to that server and i have user id,passwrd prompt then it was asking to buy the license . Today morning Console was frozen and I tried to reboot the server couple of times.... (0 Replies)
Discussion started by: visu101
0 Replies
2. Solaris
when I type start /SP/console... the console shows up but i cannot type anything over there. I do not understand what might be the reason for that.
-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y
Serial console started. To stop, type ESC (
I pressed enter many... (8 Replies)
Discussion started by: bharu_sri
8 Replies
3. Solaris
Dear All,
Does anyone has any clue for the errors below? I have tried resetting the ILOM but to no avail. No luck in locating /var/lock either.
*** Problem encountered thru NetManagement port. Not able to try it out using console yet.
-> start /SP/console
Are you sure you want... (3 Replies)
Discussion started by: honmin
3 Replies
4. Solaris
Hi, Here is the issue: There are 4 disks on this Sun x4150 system under Solaris 10, but only 1 disk can be seen by the OS. I've tried commands disks and devfsadm but not working. It's an important production server, so 'reboot -r' is not a choice.
# format < /dev/null
Searching for... (6 Replies)
Discussion started by: aixlover
6 Replies
5. Solaris
Hi, The system is Sun x4150. I use putty ssh to access to it. I can't start system console:
(hung)
Any help will be greatly appreciated! (5 Replies)
Discussion started by: aixlover
5 Replies
6. Solaris
Hi, I was trying to upgrade firmware for this Sun x4150 from ELOM to ILOM. I did it under GUI ELOM Manager > Maintenance > Firmware Upgrade. It then showed 'Someone is upgrading firmware' and took forever. I believe its hung due to unknown reason (wrong file used?). I poweroff and poweron the... (4 Replies)
Discussion started by: aixlover
4 Replies
7. Shell Programming and Scripting
Hello.
Normally when you double click on the file name, the shell script start in background.
If you want to see what is going on, you must open a terminal console and start the shell within the terminal.
Is it possible to start directly a shell script in a terminal console from the file... (0 Replies)
Discussion started by: jcdole
0 Replies
8. Solaris
Here is issue...
bash-3.00# svcs system/webconsole:console
STATE STIME FMRI
maintenance 1:15:54 svc:/system/webconsole:console
bash-3.00# svcadm clear svc:/system/webconsole:console
bash-3.00# svcs -a |grep /system/webconsole
offline* 1:20:44... (0 Replies)
Discussion started by: lingeshwaran
0 Replies
9. Solaris
Hi Oracle Hardware Specialists,
I have shutdown a Sun Fire X2200 server running Solaris 10 x86 to single user mode to experiment some backup commands using Web based Sun embedded Lights Out Manager Redirection to open up a console session. However, it is not possible to copy & past text with... (7 Replies)
Discussion started by: gjackson123
7 Replies
10. UNIX for Beginners Questions & Answers
When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 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)