10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script that does an SSH into a remote node. It should expect the prompt and send the password.
#!/usr/bin/expect
set user ;
set pass ;
spawn ssh $user@E-Internal
expect {
-re "RSA key fingerprint" {send "yes\r"}
timeout... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
2. Shell Programming and Scripting
I have an expect script which is run inside a bash script. I am trying to ssh to a jump server then from the jump server telnet to each router in a file list and run the same command. I tried many ways but down not read the router list file for some reason.
I get the following error:
wrong #... (0 Replies)
Discussion started by: numele
0 Replies
3. Shell Programming and Scripting
Hi.
Here is beginning of my script
#!/usr/local/bin/expect --
set timeout 15
spawn /usr/local/account.sh -n modify
expect "Password:" {send "mypassword\r"}
But due to some terminal control sequences (or something else, dunno exactly) my password prompt is looking like this:
and expect... (3 Replies)
Discussion started by: urello
3 Replies
4. Shell Programming and Scripting
Hi
I'm backgrounding matlab jobs using nohup. My foreground programs are written for an xterm that has 132 columns. When I use nohup and redirect the output to nohup.out, the default appears to be something like 72 columns, which breaks up my formatted screen output from matlab commands... (1 Reply)
Discussion started by: LeoSimon
1 Replies
5. Shell Programming and Scripting
Hi All,
I have a doubt whether expect module in perl will work in SQL prompt or its applicable only for shell prompt ?
Thanks,
Arun V (2 Replies)
Discussion started by: arun_maffy
2 Replies
6. Shell Programming and Scripting
I have an Expect script which works very well. It logs into my remote routers and runs some commands and then to the next until finished. I need two things, first I need to save the output to a file from where the log_user 1 begins.
expect << EOF
set timeout 15
#set var "exit "
match_max... (1 Reply)
Discussion started by: numele
1 Replies
7. Shell Programming and Scripting
Hi
Thanks for this amazing forum first, I've been searching answers in it for problems that I've encountered at work.
The only problem I haven't been able to find a fix for, is a ever waiting for prompt problem in Expect when encounter a $ prompt.
I usually set the timeout to -1 cause the... (2 Replies)
Discussion started by: Ikaro0
2 Replies
8. AIX
Hlo sir
My system file / system file is full and i am unable to enter any command such as ls or to start my server RS6000 The network is blocked and the users are log off. (0 Replies)
Discussion started by: sobnc
0 Replies
9. UNIX for Dummies Questions & Answers
Can anyone tell me what makes the current path appear in the prompt ?
thx (4 Replies)
Discussion started by: Leitwolf
4 Replies
10. UNIX for Dummies Questions & Answers
I know this is very easy. I just am having a problem determining how to do it.
I want to have a 2-line command prompt when you hit return. I have no problem creating or exporting a PS1, but can't make into 2 lines.
hostname-user:/path/to/dir
#
I really should know this, but my brain... (7 Replies)
Discussion started by: Kelam_Magnus
7 Replies
installer(1M) System Administration Commands installer(1M)
NAME
installer - Solaris Web Start installer utility
SYNOPSIS
installer [-locales list] [-nodisplay] [-noconsole] [-debug]
DESCRIPTION
The installer utility invokes a Web Start install wizard sequence which will lead the user through a sequence of installation panels. This
installer utility is found on many CDs that are shipped with Solaris and it will be found among the top level files of these CDs.
When the installer is on a CD being accessed from a desktop file manager, the installer can be double clicked to start the installation
sequence. If the user is not currently the system's root user, the root user password will be requested.
The installer utility can also be run from other UNIX scripts. Usually, a script is used in conjunction with the utility's -nodis-
play option. Add the -noconsole option for non-interactive scripts.
OPTIONS
The following options are supported:
-locales list Selects product translations for install, corresponding to the specified list of locales if the specified locale transla-
tions are present on the installation media. Locales are supplied in a comma-separated list following the -locales option.
An example list would appear as follows:
installer -locales fr,de,it
This would install products with translations for the French, German, and Italian locales.
-nodisplay Runs the install without a graphical user interface. Use the default product install unless it was modified by the -locales
options.
-noconsole Run the install without any interactive text console device. Useful when paired with -nodisplay for non-interactive UNIX
script use.
-debug Outputs extra information about what the install is doing. Mainly for install diagnostic purposes.
FILES
/var/sadm/install/logs location of installation log files
SEE ALSO
prodreg(1M)
SunOS 5.10 11 December 2001 installer(1M)