I encountered the same problem again and solved the issue by the code
while having exited root terminal and before the next exit code
would have placed me back into root terminal again.
I were then able to terminate the server connection. Thank you very much!
Jonathan Sander Stensvold Hol.
Last edited by Jonathan Sander; 09-29-2013 at 11:17 AM..
Hi,
Can someone please help me in resolving this issue -
I am doing SSH from a server 1 to another server 2 and executing some statements there and then automatically exit out of second server to the first where script was getting executed.
Can you please help me script this code ?
Thanks (3 Replies)
I have had a look around and can not find the answer, I dont think im searching for the right phrase.
I have written a script to control common functions on my server, however when exiting the script the terminal starts directly below the script that was running... how can i clear this so it... (2 Replies)
hi
while executing the following script, my terminal window is getting closed if I enter a invalid option. I want the script should go back the the command prompt. how to do achive it. i execute the script as . ./test
#! /usr/bin/ksh
Printf " Type of Installer : \n\t\t 1. Whole Build... (3 Replies)
Not really a newbie, but I have a strange problem and I'm not sure how to further troubleshoot it.
I have to log out of a virtual terminal by typing exit, then exit again as in:
woodnt@toshiba-laptop ~ $ exit
logout
woodnt@toshiba-laptop ~ $ exit
logout
I DON'T have to do this when I'm... (1 Reply)
hi,
I am using the below line to run a script from remote server(say server A) to another server(say server B).
ssh username@servername ksh script name.
The issue is the script logs into server B, executes the script on server B, transfers the file to server A but does not exit from... (4 Replies)
Well. I was recently given access to my work's machine via SSH. I'm pretty sure it's a SUSE machine, uname -a gives
Linux machinename 2.6.16.60-0.54.5-bigsmp #1 SMP Fri Sep 4 01:28:03 UTC 2009 i686 i686 i386 GNU/Linux
I'm not doing anything all that exciting, mostly data entry stuff.
We... (14 Replies)
Hi,
I am on unix serverA where i have a script called A.sh
more A.sh
echo "Hello"
ssh user1@serverB
echo "Welcome"
After the ssh takes me to serverB; i execute a script on serverB called B.sh
more B.sh
echo " You are serverB"
exit
exit
With the two exit statements on serverB... (7 Replies)
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Hello,
I am running a bash script to do an rsync back on a computer running MacOS High Sierra. This is the script I am using,
#!/bin/bash
# main backup location, trailing slash included
backup_loc="/Volumes/Archive_Volume/00_macos_backup/"
# generic backup function
function backup {... (12 Replies)
Discussion started by: LMHmedchem
12 Replies
LEARN ABOUT OPENSOLARIS
ul
ul(1) User Commands ul(1)NAME
ul - do underlining
SYNOPSIS
ul [-i] [-t terminal] [filename]...
DESCRIPTION
ul reads the named filenames (or the standard input if none are given) and translates occurrences of underscores to the sequence which
indicates underlining for the terminal in use, as specified by the environment variable TERM. ul uses the /usr/share/lib/terminfo entry to
determine the appropriate sequences for underlining. If the terminal is incapable of underlining, but is capable of a standout mode then
that is used instead. If the terminal can overstrike, or handles underlining automatically, ul degenerates to cat(1). If the terminal can-
not underline, underlining is ignored.
OPTIONS -t terminal Override the terminal kind specified in the environment. If the terminal cannot underline, underlining is ignored. If the
terminal name is not found, no underlining is attempted.
-i Indicate underlining by a separate line containing appropriate dashes `-'; this is useful when you want to look at the
underlining which is present in an nroff(1) output stream on a CRT-terminal.
RETURN VALUES
ul returns exit code 1 if the file specified is not found.
FILES
/usr/share/lib/terminfo/*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWdoc |
+-----------------------------+-----------------------------+
SEE ALSO cat(1), man(1), nroff(1), attributes(5)BUGS
nroff usually generates a series of backspaces and underlines intermixed with the text to indicate underlining. ul makes attempt to opti-
mize the backward motion.
SunOS 5.11 17 Mar 1994 ul(1)