09-17-2013
Thank you very much!, I will try to do just that if a similar situation occur again.
Jonathan Sander Stensvold Hol.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: rajpuneyani
3 Replies
2. Shell Programming and Scripting
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)
Discussion started by: foz
2 Replies
3. Shell Programming and Scripting
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)
Discussion started by: vij_krr
3 Replies
4. UNIX for Dummies Questions & Answers
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)
Discussion started by: Narnie
1 Replies
5. Shell Programming and Scripting
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)
Discussion started by: yohasini
4 Replies
6. UNIX for Dummies Questions & Answers
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)
Discussion started by: pagrus
14 Replies
7. Shell Programming and Scripting
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)
Discussion started by: mohtashims
7 Replies
8. Shell Programming and Scripting
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)
Discussion started by: digioleg54
3 Replies
9. Shell Programming and Scripting
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
ul(1) General Commands Manual ul(1)
Name
ul - process underscores for terminal
Syntax
ul [-i] [-t terminal] [name...]
Description
The command reads the named files (or 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. The -t option overrides the terminal kind
specified in the environment. The file /etc/termcap is read 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 under-
lining automatically, degenerates to If the terminal cannot underline, underlining is ignored.
The -i option causes to 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 output stream on a crt-terminal.
Options
-i Displays underscoring on separate line containing appropriate dashes (-).
-t terminal
Uses type of specified terminal in place your terminal's type.
Restrictions
The command usually outputs a series of backspaces and underlines intermixed with the text to indicate underlining. No attempt is made to
optimize the backward motion.
See Also
man(1), nroff(1), colcrt(1)
ul(1)