Sponsored Content
Operating Systems OS X (Apple) terminal script stops after script command :(. Post 302278899 by tlarkin on Wednesday 21st of January 2009 12:12:39 PM
Old 01-21-2009
It looks like its not authenticating. but it is hard to tell with out seeing the whole script. Can you copy/paste the whole script? You can leave out any personal information about the systems, I just want to see what commands with what switches are running.

Thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to start SCRIPT command at begin of TERMINAL?

Hello sir, I want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to start it.I want to automate it. So where should I include this command so that it will start as soon as I start the terminal ???? (2 Replies)
Discussion started by: nsharath
2 Replies

2. Shell Programming and Scripting

Why My Script Stops After 1st Command

My script is very simple. It call isql and then echo a message. The problem is after the 1st command (isql), it stops so that the echo line never gets executed. Can anyone let me know what is wrong? #!/usr/bin/sh userid=xxxx server=xxxx db=xxxx pwd=xxxx isql -U ${userid} -S ${server}... (3 Replies)
Discussion started by: robbyls
3 Replies

3. UNIX for Dummies Questions & Answers

Script to run a command in a new terminal

Hey, I am trying to write a script that will open all of my session windows, and then secure shell into the appropriate server in the new windows. Seems simple, but I cant get it to work! Please help! :confused: (1 Reply)
Discussion started by: sojo1024
1 Replies

4. OS X (Apple)

Terminal Command into script

Hi All I have this script that checks to see if ntp is enabled on a machine launchctl load -w /System/Library/LaunchDaemons/org.ntp.ntpd.plist It retuns org.ntp.ntpd: Already loaded if it is loaded, is there a way to script it so that if it is loaded it does not say anything but... (2 Replies)
Discussion started by: ab52
2 Replies

5. Shell Programming and Scripting

Script stops working after copying it

Hi all, When I cp a script, this section of the code stops reading from a file. if ; then while read dirtoclean do DIRSTOCLEAN=${DIRSTOCLEAN}' '$dirtoclean done < ${BASEDIR}test.conf fi ${DIRSTOCLEAN} doesn't return anything, even though it will work right before... (6 Replies)
Discussion started by: nicksantos1
6 Replies

6. Shell Programming and Scripting

My script stops working when using crontab

I have made a shell script(/bin/sh) that starts a perl script (that I haven't made my self) that's starts a ssh session. The ssh session uses a private/public key to login so no password is needed. The Perl script works perfect. But when I put it in a cronjob (crontab) the ssh connection asks... (6 Replies)
Discussion started by: splinter_cell
6 Replies

7. Shell Programming and Scripting

My script stops after logoff...why??

Hi' i am runing a script thats run with a loop...while loop true. when i exit the server..logon and again the script doenst run. its a bash script test.sh. i run it as: #./test.sh & what can be the priblem please? thanks alot (6 Replies)
Discussion started by: zigizag
6 Replies

8. Shell Programming and Scripting

perl: Command works in terminal, but not in shell script

Hi, the following command works in the terminal no problem. samtools view -h rawlib.bam | perl -ne '{ @line = split( /\s+/ ); $match = 0; while( $line =~ /(\d+)M/g ) { $match = $match + $1 } if( $match >= 80 || $_ =~ /^\@/ ) { print $_ } }' | java -Xmx12G -jar... (8 Replies)
Discussion started by: jdilts
8 Replies

9. Shell Programming and Scripting

Copy Script Stops

Good Morning, I have a copy script on Solaris 9 machine that is supposed to copy some files to a NAS using: cp -r /dir/dir/ /dir/dir/dirThe script doesn't finish. The directory contains user files of which one seems to copy fine, a second was failing until I did achmod -R -777 to it. Now,... (6 Replies)
Discussion started by: Stellaman1977
6 Replies

10. Shell Programming and Scripting

Execute ssh command with additional terminal command to any remote user not working script

Hello i am having an issue with bash script and this is the code now=$(cat hosts1.txt | awk '{print $2;}') while read n ;do ssh root@$now 'useradd test1; echo -e "test1\ntest1" | passwd test1 && echo "test1 ALL=(ALL:ALL) ALL" >> /etc/sudoers' When i execute only part with cat, it... (8 Replies)
Discussion started by: tomislav91
8 Replies
GPBS(1) 						       GNUstep System Manual							   GPBS(1)

NAME
gpbs - GNUstep PasteBoard Server SYNOPSIS
gpbs DESCRIPTION
The gpbs daemon serves as a clipboard/pasteboard for GNUstep programs, handling the copying, cutting and pasting of objects as well as drag and drop operations between applications. Every user needs to have his own instance of gpbs running. While gpbs will be started automatically as soon as it is needed, it is recommend to start gpbs in a personal login script like ~/.bashrc or ~/.cshrc. Alternatively you can launch gpbs when your windowing system or the window manager is started. For example, on sys- tems with X11 you can launch gpbs from your .xinitrc script or alternatively - if you are running Window Maker - put it in Window Maker's autostart script. See the GNUstep Build Guide for a sample startup script. OPTIONS
-NSHost <hostname> attaches gpbs to a remote session. --GSStartupNotification sends a notification through the NSDistributedNotificationCenter (i.e. gdnc) so that apps know that it has started up. This is only relevant if the application itself tries to startup gpbs (which means gpbs was not started at session login). --daemon starts gpbs as a daemon - mostly this means that all output gets sent to syslog rather than the terminal. --no-fork does not fork a separate process --verbose makes bs his logging more verbose DIAGNOSTICS
gdomap -L GNUstepGSPasteboardServer will lookup instances of gpbs. Alternatively, gdomap -N will list all registered names on the local host. BUGS
Versions of gpbs up to (including) 1.7.2 have problems with copy and paste of mulit-lingual text, as it used the atom XA_STRING alone to exchange string data between X clients (and thus GNUstep clients). This means gpbs is inherently unable to do cut-and-paste with charac- ters other than ISO Latin1 ones, TAB, and NEWLINE. SEE ALSO
gdnc(1), gdomap(8), GNUstep(7) xinit(1) wmaker(1) The GNUstep Build Guide example startup script: <http://gnustep.made-it.com/BuildGuide/index.html#GNUSTEP.SERVICES> HISTORY
Work on gdnc started August 1997. This manual page first appeared in gnustep-back 0.8.8 (July 2003). AUTHORS
gpbs was written by Richard Frith-McDonald <rfm@gnu.org> This man page was written by Martin Brecher <martin@mb-itconsulting.com> with contributions from Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>. This man page was updated September 2006 by Dennis Leeuw (dleeuw@made-it.com) with notes by Adam Fedor (fedor@doc.com). GNUstep September 2006 GPBS(1)
All times are GMT -4. The time now is 12:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy