08-31-2012
Show your code snippet where you are having problems with so others people can show up an alternative etc.
When doing so, use
code tags please.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How would you write a program that would continually show the time in HOURS:MINUTES on an ASCII terminal(not just xclock)? (5 Replies)
Discussion started by: Ben070371
5 Replies
2. Shell Programming and Scripting
Hi,
I'm trying to accomplish the following and would like some suggestions or possible bash script examples that may work
I have a directory that has a list of log files that's periodically dumped from a script that is crontab that are rotated 4 generations. There will be a time stamp that is... (4 Replies)
Discussion started by: primp
4 Replies
3. UNIX for Dummies Questions & Answers
hi can any one guide me on how to display real time of a clock in unix for every 60 seconds (2 Replies)
Discussion started by: ramnadh_babu
2 Replies
4. Shell Programming and Scripting
Hi,
We have a server in US and hence while the command "date" is given it gives the output in EDT. If I want the date output in MET, how can I get it. Please let me know how I could do it in the script which is ksh. Thanks. (1 Reply)
Discussion started by: jmathew99
1 Replies
5. War Stories
Perhaps a story in the making....
In 2 years or so my company is purchasing a new computer system for our distributing business. Right now, we have an AIX 5.3 machine and some other servers that I admin. I do not have a college degree. My tech knowledge is mostly experience. I have not studied... (7 Replies)
Discussion started by: herot
7 Replies
6. Shell Programming and Scripting
Hi All,
I am using HP Unix. I want to list files which are created 5 minutes before on the same day as well as before today's date. I checked all the forums and the commands provided there does not work on HP Unix.
Can you please help me on this? Your help is highly aprreciated.
Thanks and... (3 Replies)
Discussion started by: angshuman
3 Replies
7. Shell Programming and Scripting
Hi All,
i have some log files generated in a folder daily with the format
abc.def.20130306.100001
ghi.jkl.20130306.100203
abc.def.20130305.100001
ghi.jkl.20130305.100203
the format is the date followed by time . all i want is to get the files that are generated for todays... (3 Replies)
Discussion started by: mahesh300182
3 Replies
8. UNIX for Dummies Questions & Answers
Below is the sample logfile:
Userids Date Time
acb Checkout time: 2013-11-20 17:00
axy Checkout time: 2013-11-22 12:00
der Checkout time: 2013-11-17 17:00
xyz Checkout time: 2013-11-19 16:00
ddd Checkout time: 2013-11-21 16:00
aaa Checkout... (9 Replies)
Discussion started by: asjaiswal
9 Replies
9. Shell Programming and Scripting
I have a list of epoch times delimited by "-" as follows:
1335078000 - 1335176700
1335340800 - 1335527400
1335771300 - 1335945600
1336201200 - 1336218000
The corresponding dates are:
20120422 1000 - 20120423 1325
20120425 1100 - 20120427 1450
20120430 1035 - 20120502 1100 ... (3 Replies)
Discussion started by: alex2005
3 Replies
oclock(1X) oclock(1X)
NAME
oclock - round X clock
SYNOPSIS
oclock [-option...]
OPTIONS
choose a different color for the both hands and the jewel of the clock choose a different color for the background. choose a different
color for the jewel on the clock. choose a different color for the minute hand of the clock. choose a different color for the hour hand
of the clock. selects an appropriate level of backing store. define the initial window geometry; see X(1X). specify the display to use;
see X(1X). choose a different color for the window border. choose a different width for the window border. As the Clock widget changes
its border around quite a bit, this is most usefully set to zero. causes the clock to use the Shape extension to create an oval window.
This is the default unless the shapeWindow resource is set to false. causes the clock to not reshape itself and ancestors to exactly fit
the outline of the clock. causes the clock to consist only of the jewel, the hands, and the border.
DESCRIPTION
The oclock program simply displays the current time on an analog display.
COLORS
If you would like your clock to be viewable in color, include the following in the #ifdef COLOR section you read with xrdb: *customization:
-color
This will cause oclock to pick up the colors in the app-defaults color customization file: <XRoot>/lib/X11/app-defaults/Clock-color. Below
are the default colors:
Clock*Background: grey Clock*BorderColor: light blue Clock*hour: yellow Clock*jewel: yellow Clock*minute: yellow
SEE ALSO
X(1X), X Toolkit documentation
AUTHOR
Keith Packard, MIT X Consortium
oclock(1X)