Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Print script is completed successfully or not Post 302850465 by Smiling Dragon on Wednesday 4th of September 2013 10:37:04 PM
Old 09-04-2013
Your question is a bit vague but I'd suggest you try something of the form:
Code:
# if [ -s "<your output file>" ] ; then echo "drc calibre run successfully" ; else echo "error" ; fi

 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to direct a script to a new web page after a script got completed?

Hi , I have a cgi code with shell script on it.I am submitting a form in the first.cgi.These values are posted to second.cgi.Second.cgi do some process with these values. After that i want to direct my page from second.cgi to first.cgi. What is the command i can use from cgi(shell) script? ... (2 Replies)
Discussion started by: rajbal
2 Replies

2. UNIX for Advanced & Expert Users

Script working successfully only when executed twice

Guys, i am facing a very strange issue, my code below does an ftp to server A and gets a file to Server B, once the file is in B an if condition is present to check if the pattern of the filename is ABC* then it has to be encrypted using OPENSSL as ABC.enc else if it of pattern 123* has to be... (3 Replies)
Discussion started by: meva
3 Replies

3. AIX

How to ensure mksysb backup completed successfully.

Hi All, I want to know, how we can ensure that mksysb backup completed successfully and is restorable. I know one way my command lsmksysb -B but I found that one mksysb who has not backedup all the files was also showing in this command output, so that doesn't ensure its integrity and... (1 Reply)
Discussion started by: falgun6666
1 Replies

4. Shell Programming and Scripting

script has been executed successfully or not??

Guys, How can we know whether a script has been executed successfully or not ? We dont have any log directories, and we are not given a chance to modify the script. Could someone help me out with this Thanks (2 Replies)
Discussion started by: bobby1015
2 Replies

5. Shell Programming and Scripting

Script failing to run successfully on remote node

Hi guys, I have a scenario where i want to run a script from Node A. It ssh's into Node B and runs some awk commands there plus deposiriting the output on Node B. Challenge is that the awk commands run properly when executed locally on Node B but fail when within the script on Node B. I do not... (0 Replies)
Discussion started by: jerkesler
0 Replies

6. Shell Programming and Scripting

Completed bash script for plasma TV

My script. For plasma TV connected to PC and used as monitor. required It is windows moving scrip t- floating windows. It move all windows what was ever focused. If window lager than widthconst heightconstscript uses xoc and yoc position for it. I use "Relative upper-left" for correction.... (2 Replies)
Discussion started by: 654321
2 Replies

7. Shell Programming and Scripting

how to print the percentage of task completed on the same line

Hi I have written a utility in shell program for which i want to add a code to display percentage of completion dynamically My scripts runs approx about 30 to 45min , It appends exactly 2000 lines to one of the log file. How to calculate percentage ? I will note the total number of lines... (5 Replies)
Discussion started by: rakeshkumar
5 Replies

8. Shell Programming and Scripting

Did my script execute successfully ?

Hi, I have two scripts viz and I am running them in background. I wish to know if both the scripts completed execution successfully. So this is what I have done /tmp/commet/bin/connectdb1.sh & condb1=$? /tmp/commet/bin/connectdb2.sh & condb2=$? However, I am getting error... (7 Replies)
Discussion started by: mohtashims
7 Replies

9. Solaris

Open Solaris 10.1 Installation not completed Successfully

Hello Friends, I want to Install Multiple Operating Systems on my Machine. Machine Config: Intel Core(TM)2 CPU E7500, speed:2.93 ghz RAM : 4gb For that I had done Partition Using tool Gparted Live cd. Firstly I had installed Windows7 on first primary partition. Now... (3 Replies)
Discussion started by: Surendra Khaire
3 Replies
Gtk2::ColorSelectionDialog(3)				User Contributed Perl Documentation			     Gtk2::ColorSelectionDialog(3)

NAME
Gtk2::ColorSelectionDialog HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::Window +----Gtk2::Dialog +----Gtk2::ColorSelectionDialog INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gtk2::ColorSelectionDialog->new ($title) o $title (string) widget = $dialog->cancel_button widget = $dialog->get_color_selection widget = $dialog->help_button widget = $dialog->ok_button PROPERTIES
'cancel-button' (Gtk2::Widget : readable) The cancel button of the dialog. 'color-selection' (Gtk2::Widget : readable) The color selection embedded in the dialog. 'help-button' (Gtk2::Widget : readable) The help button of the dialog. 'ok-button' (Gtk2::Widget : readable) The OK button of the dialog. SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window, Gtk2::Dialog COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::ColorSelectionDialog(3)
All times are GMT -4. The time now is 10:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy