09-22-2016
Moderator's Comments:
|
|
Keep on-topic, please. Several solutions have been presented and there's no need for acrimony.
|
|
There's little to discuss until the OP gets back to this thread in any case.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
could someone help on this..
I have a date in variable
procdate="05/30/2009"
I would want to Subtract it with 3 or 4 (2 Replies)
Discussion started by: infernalhell
2 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am new to unix programming. I am trying for a requirement and the requirement goes like this.....
I have a test folder. Which tracks log files. After certain time, the log file is getting overwritten by another file (randomly as the time interval is not periodic). I need to preserve... (2 Replies)
Discussion started by: mailsara
2 Replies
3. UNIX for Advanced & Expert Users
good afternoon,
can someone help me, I need to make a script where n subtract days to a date.
I am using AIX 5.3.
Greetings. (4 Replies)
Discussion started by: systemoper
4 Replies
4. Shell Programming and Scripting
Hi,
I have one .csv file. I have 2 date columns present in file, column 2 and column 3.
I need to calculate how many days exist between 2 dates.
I am trying to subtract date column 2 from date column 3.
Eg: my file look likes
s.no, Start_date,End_Date
1, 7/29/2012,10/27/2012
2,... (9 Replies)
Discussion started by: Dimple
9 Replies
5. Shell Programming and Scripting
Hi,
Can you please let me know code for the below (in korn shell)
a) Subtract month(s) from given date
b) Subtract day(s) from give date
c) Subtract month(s) from given timestamp
d) Subtract day(s) from give timestamp (1 Reply)
Discussion started by: tostay2003
1 Replies
6. Shell Programming and Scripting
Hi Friends,
I have the following logfile. Currently time in india is 07/31/2014 12:33:34 and i have the following content in logfile. I want to display only those entries which contain string 'Exception' within last 3 hours. In this case, it would be the last line only
I can get the... (12 Replies)
Discussion started by: srkmish
12 Replies
7. Shell Programming and Scripting
Hello ,
I am working on AIX. I have to convert Unix timestamp to normal timestamp. Below is the file. The Unix timestamp will always be preceded by
EFFECTIVE_TIME as first field as shown and there could be multiple EFFECTIVE_TIME in the file : 3.txt
Contents of... (6 Replies)
Discussion started by: rahul2662
6 Replies
8. Shell Programming and Scripting
So basically I have a log file and each line in this log file starts with a timestamp:
MON DD HH:MM:SS
SEP 15 07:30:01
I need to grep all the lines between last hour timestamp and current timestamp. Then these lines will be moved to a tmp file from which I will grep for particular strings. ... (1 Reply)
Discussion started by: nms
1 Replies
9. Shell Programming and Scripting
Hi all,
I have been researching to obtain SSL certification expiry for most of our webistes. For some cases, some hosts where not directly accessible so i finally got a solution working with curl using my proxy. This lists the expiry date which i'm finally looking for.
# curl --proxy... (4 Replies)
Discussion started by: nms
4 Replies
10. HP-UX
current date command runs well
awk -v t="$(date +%Y-%m-%d)" -F "'" '$1 < t' myname.dat
subtract 30 days fails
awk -v t="$(date --date="-30days" +%Y-%m-%d)" -F "'" '$1 < t' myname.dat
awk command in hp unix subtract 30 days automatically from current date without date illegal option error... (20 Replies)
Discussion started by: kmarcus
20 Replies
LEARN ABOUT DEBIAN
bsetroot
bsetroot(1) General Commands Manual bsetroot(1)
NAME
bsetroot - blackbox utility to change root window appearance
SYNOPSIS
bsetroot -help
bsetroot [ -display display ] -solid color
bsetroot [ -display display ] -mod x y -fg color -bg color
bsetroot [ -display display ] -gradient texture -from color -to color
DESCRIPTION
Bsetroot is a utility that can control the appearance of the root window in three ways: Either give it a solid color, or write a two color
modula pattern to it, or render a gradient texture, based on two different colors.
Bsetroot resembles xsetroot(1) in this functionality but it supports multiple screen displays, and gradient textures the same way as Black-
box does. It doesn't handle cursors etc. Bsetroot is part of the Blackbox package.
OPTIONS
Bsetroot operates in three ways, you must choose one of the first 3 options:
-solid color
Sets the root window to specified color.
-mod x y
Creates a modula pattern. You must specify -bg and -fg colors.
-gradient texturestring
Renders the specified texture string to the root window. For possible texture strings, please refer to blackbox(1). You must also
specify both a -from and a -to color.
-display display
Tells Bsetroot to connect to the specified display.
-bg, -background color
Background color. Needed for -mod patterns.
-fg, -foreground color
Foreground color. Needed for -mod patterns.
-from color
Start color for rendering textures. Needed for -gradient operation mode.
-to color
Ending color for rendering textures. Needed for -gradient operation mode.
-help Prints version info and short help text.
AUTHOR
Bsetroot was written and maintained by Brad Hughes (blackbox@alug.org) and Jeff Raven (jraven@psu.edu).
SEE ALSO
blackbox(1)
0.60.3 June 16th, 2000 bsetroot(1)