12-13-2008
hello,
that "color" is a very nice idea.Can you please give me an example how to do it. So the color itself shall tell the user whether the command typed in is correct or not!!!!
Please give me an example.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I installed Red Hat Enterprise Linux 5 on my PC. When i typed 'emacs' on the console, "command not found" error occurrd. Why.
:mad: (1 Reply)
Discussion started by: cy163
1 Replies
2. Shell Programming and Scripting
hi all,
here i am trying to run one control file.
but getting "-bash: sqlldr: command not found" error :confused:
the code is given below.
sqlldr $db_username/$db_password@$db_sid control=$loading_path/load_to_table.ctl log=loading.log
can anybody help me in fixing the issue?
... (1 Reply)
Discussion started by: vinayakatj56
1 Replies
3. Shell Programming and Scripting
system() call imeplemented in solaris is such a way that:
Command not found - return code 1
Command executed successfully without Output - return code 1
how to distinguish between these two based on return code in a c - file?
Can you help on this ? (5 Replies)
Discussion started by: iitmadhu
5 Replies
4. Post Here to Contact Site Administrators and Moderators
Hi,
Today, I've submitted a new tread in "Shell Programming and Scripting" forum, with title "-bash: ELF: command not found ". However, this thread has disappear.
Can somebody give me an explanation?
Regards. (3 Replies)
Discussion started by: Sonia_
3 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
i=0
numberofproducts=${#urls} #gets number of entries in array called "urls"
numberofproductsminusone=`expr $numberofproducts - 1` #-subtract by one
while
do
wget ${urls}
i=$(( $i + 1 ))
sleep 10
done
I'm getting an error
./scrape: line 22: [0: command not found
that... (3 Replies)
Discussion started by: phpchick
3 Replies
7. Shell Programming and Scripting
Hello Geeks,
Greetings...I have the following script:
#!/usr/bin/bash
#Script to generate number of active PDP context & calculate PDP activation #failurefrom EPG-M
#Script written by Gbenga Adigun
#September 12, 2013
username="xxxxxx"
password="xxxxxxxxx"
HOSTS=(
ggsn01... (6 Replies)
Discussion started by: infinitydon
6 Replies
8. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
9. UNIX and Linux Applications
Hi all,
i face an error related to my server ""it's running server"" when i use sqlplus command
$ sqlplus
bash: sqlplus: command not found
the data base is up and running i just need to access the sqlplus to import the dump file as a daily backup.
i already check the directory... (4 Replies)
Discussion started by: clerck
4 Replies
LEARN ABOUT SUSE
tk::choosecolor
chooseColor(3) User Contributed Perl Documentation chooseColor(3)
NAME
chooseColor - pops up a dialog box for the user to select a color.
SYNOPSIS
$color = $widget->chooseColor?(-option=>value, ...)?;
DESCRIPTION
The method chooseColor is implemented as a perl wrapper on the core tk "command" tk_chooseColor, and $widget is passed as the argument to
the hidden -parent option. The implementation of internal tk_chooseColor is platform specific, on Win32 it is a native dialog, and on
UNIX/X11 it is implemented in terms of Tk::ColorEditor.
The chooseColor method pops up a dialog box for the user to select a color. The following option-value pairs are possible as command line
arguments:
-initialcolor=>color
Specifies the color to display in the color dialog when it pops up. color must be in a form acceptable to the Tk_GetColor function.
-parent=>$widget
Makes $widget the logical parent of the color dialog. The color dialog is displayed on top of its parent window.
-title=>titleString
Specifies a string to display as the title of the dialog box. If this option is not specified, then a default title will be displayed.
If the user selects a color, tk_chooseColor will return the name of the color in a form acceptable to Tk_GetColor. If the user cancels the
operation, the command will return undef.
EXAMPLE
$widget->configure(-fg => $parent->chooseColor(-initialcolor => 'gray',
-title => "Choose color"));
KEYWORDS
color selection dialog
perl v5.12.1 2007-05-05 chooseColor(3)