04-24-2003
CLI = command line interpreter
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to put the following in a script:
echo $CCPDB will give me the db name on the screen. I need to use this name to tar cvfEh <newtarname> <dbname.exp>. I am not sure how to use the output that display on the screen in a script. I tried this
echo $CCPDB > file didn't work
Gundu (1 Reply)
Discussion started by: gundu
1 Replies
2. Shell Programming and Scripting
Is there a way to turn off standard output while processing is going on? I have tried redirecting to /dev/null but that is not working because some of the commands invoke a profile. I would like to temporarily turn off the screen output until the processing is complete. Sort of like a splash... (3 Replies)
Discussion started by: bestbuyernc
3 Replies
3. Shell Programming and Scripting
I am using this command
find . -type f -mmin "+$t" > holder
Unfortunatley that is also printing files that begin with a period. Such as .bash_history.
What can I do to supress files that begin with a period? (1 Reply)
Discussion started by: chrchcol
1 Replies
4. UNIX for Dummies Questions & Answers
I'm a newbie.
I'm having a problem at work with a script. What i'm trying to do is connect to a cisco switch from a sun station. After i run the script and telnet into the switch i don't get any output on the "xterm window" and all my commands from the script don't show up on the screen or on... (0 Replies)
Discussion started by: wisher115
0 Replies
5. UNIX for Advanced & Expert Users
hi,
is there anyway i can force a output of a command to the monitor.
for example
banner hello > /dev/console
it will show a hello in the console, so how do i make it to appear on the monitor screen when the console is been minmize. (6 Replies)
Discussion started by: ckng
6 Replies
6. UNIX for Dummies Questions & Answers
I want to check whether the variable read from the console is number or character , so i used echo $option|grep and checked the reuslt returned by grep cmd using $?
But since I use echo the value is getting printed in the screen , I want to supress the o/p. Can anyone suggest how this can be... (1 Reply)
Discussion started by: rolex.mp
1 Replies
7. Shell Programming and Scripting
Is it possible to split the screen and show, lets say a local directory listing on the left and a remote directory listing on the right with shell scripting?
I know it's usually done with curses/ncurses, but I'd really like to keep it simple as possible. I guess 'dialog' command could do it... (1 Reply)
Discussion started by: lochraven
1 Replies
8. Shell Programming and Scripting
I have the below two commands in my script.
tar -xf hello.tar
unzip -o tempp.zip
When i run the script i see the below on my standard out.
How can i suppress output coming from both the tar and unzip on my standard output. (3 Replies)
Discussion started by: mohtashims
3 Replies
9. Shell Programming and Scripting
Hello,
I know this isn't exactly a shell script question but I'm not sure where else to post it.
I am running a java program out of a shell script. There are times when I get an error like,
"java.lang.ArrayIndexOutOfBoundsException: 22
at blah, blah
at blah, blah
... (3 Replies)
Discussion started by: LMHmedchem
3 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I am trying to out of shell script when i run it
like
sh /mypath/abc.sh
....a screen log should be generated whenever i input the values, when above the script prompt for values
Regards
Amarendra (3 Replies)
Discussion started by: amar1208
3 Replies
LEARN ABOUT ULTRIX
displayofscreen
BlackPixelOfScreen(3X11) MIT X11R4 BlackPixelOfScreen(3X11)
Name
BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOf-
Screen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, Max-
CmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen - screen information functions and
macros
Syntax
BlackPixelOfScreen(screen)
WhitePixelOfScreen(screen)
CellsOfScreen(screen)
DefaultColormapOfScreen(screen)
DefaultDepthOfScreen(screen)
DefaultGCOfScreen(screen)
DefaultVisualOfScreen(screen)
DoesBackingStore(screen)
DoesSaveUnders(screen)
DisplayOfScreen(screen)
int XScreenNumberOfScreen(screen)
Screen *screen;
EventMaskOfScreen(screen)
HeightOfScreen(screen)
HeightMMOfScreen(screen)
MaxCmapsOfScreen(screen)
MinCmapsOfScreen(screen)
PlanesOfScreen(screen)
RootWindowOfScreen(screen)
WidthOfScreen(screen)
WidthMMOfScreen(screen)
Arguments
screen Specifies a pointer to the appropriate structure.
Description
The macro returns the black pixel value of the specified screen.
The macro returns the white pixel value of the specified screen.
The macro returns the number of colormap cells in the default colormap of the specified screen.
The macro returns the default colormap of the specified screen.
The macro returns the default depth of the root window of the specified screen.
The macro returns the default GC of the specified screen, which has the same depth as the root window of the screen.
The macro returns the default visual of the specified screen.
The macro returns or which indicate whether the screen supports backing stores.
The macro returns a Boolean value indicating whether the screen supports save unders.
The macro returns the display of the specified screen.
The function returns the screen index number of the specified screen.
The macro returns the root event mask of the root window for the specified screen at connection setup.
The macro returns the height of the specified screen.
The macro returns the height of the specified screen in millimeters.
The macro returns the maximum number of installed colormaps supported by the specified screen.
The macro returns the minimum number of installed colormaps supported by the specified screen.
The macro returns the number of planes in the root window of the specified screen.
The macro returns the root window of the specified screen.
The macro returns the width of the specified screen.
The macro returns the width of the specified screen in millimeters.
See Also
AllPlanes(3X11), ImageByteOrder(3X11), IsCursorKey(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
BlackPixelOfScreen(3X11)