12-23-2008
Thanks Murphy.
Cjcox, Let me test this on Jan 1st 2009 and see it is displaying December.
Currently it is displaying december.. But this is not a real test now.
xx=CST30CDT date +%B
echo $xx
Thank you again.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to find the first day of previous month in unix mmddyyyy format?
example : today is 07052007 (in mmddyyyy)
output sud be 06012007
thanks
mohapatra (10 Replies)
Discussion started by: mohapatra
10 Replies
2. Shell Programming and Scripting
Hi,
I want a script(ksh) to see if today is the last working day(Mon-Fri) of the month. If it is the last working day I need to print current date, else I need the last working day of previous month. Thanks in advance. (1 Reply)
Discussion started by: rspk_praveen
1 Replies
3. Shell Programming and Scripting
Hi, I'm new with Unix, I'm trying to get a last day of previous month with this format: %b %d %Y (example: Feb 25 2008).
Here is what I have so far.
#!/bin/ksh
cur_month=`date +%m`
cur_year=`date +%Y`
prev_month=$(($cur_month-1))
# Check to see if this is January
if
then
... (11 Replies)
Discussion started by: sirrtuan
11 Replies
4. Shell Programming and Scripting
Hello - I have one question regarding the date. I wanted to display the month name for previous day. The output should be as follows...
5-Feb-09 => February
1-Feb-09 => January
28-Feb-09=> February
Here is the code i am using to get the output....
date '+%m %d %Y' |
{
read MONTH DAY... (4 Replies)
Discussion started by: govindts
4 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I'm new to shell scripting.
We've develop a script which will grep a file on the search criteria, MON (Jan/Feb/Mar/etc). But we should set this sript in cron which will run on every first day of the month. The problem I'm having is, when I run the script, it is displaying the contents of... (7 Replies)
Discussion started by: suneelj
7 Replies
6. Shell Programming and Scripting
Hi All,
I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this.
My Requirment is as below:
Input for me will be 2000909(YYYYMM)
I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Discussion started by: girish.raos
3 Replies
7. UNIX for Dummies Questions & Answers
Hi folks
month=`date +%m`gives current month
Howto print previous month (current month minus 1) with Solaris date and ksh (7 Replies)
Discussion started by: slashdotweenie
7 Replies
8. Programming
Hi Guys,
How to get First day of previous month and last day of previous month from trunc(sysdate) using SQL..?
Thanks in advance.
Br,
pinpe (2 Replies)
Discussion started by: pinpe
2 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I am using the below code to get the year and month from date:
Below gives output like 201212.
dt=`date '+%Y%m'`
how do i get the previous month value(ie: subtract 1 from date)
example output:
dt=201211
Please help. :confused: (3 Replies)
Discussion started by: abhi_123
3 Replies
10. Shell Programming and Scripting
I have requirment to get last date of previous month and the first date of previous 4th month:
Example:
Current date: 20130320 (yyyymmdd)
Last date of previous month: 20130228 (yyyymmdd)
First date of previous 4th month: 20121101 (yyyymmdd)
In my shell --date, -d, -v switches are not... (3 Replies)
Discussion started by: machomaddy
3 Replies
LEARN ABOUT DEBIAN
paraview
PARAVIEW(1) General Commands Manual PARAVIEW(1)
NAME
Paraview - Rendering and displaying program for small and large, three dimensional datasets.
SYNOPSIS
paraview [-cc | --cave-configuration FILE] [--compare-view OPT] [--connect-id ID] [--data DATA] [--data-directory DIR] [-dr | --disable-
registry] [--exit] [/? | --help] [--image-threshold THRESH] [-m | --machines FILE] [--run-test CASE] [--run-test-init CASE] [-s | --server
NAME] [--stereo] [--test-directory DIR] [-V | --version]
DESCRIPTION
Paraview is a program for displaying and rendering of small to large datasets in two or three dimensions. It runs on a single computer or
on a cluster of nodes with distributed or shared memory. The Visualization Toolkit (VTK) is used as processing and rendering machine.
Options
-cc | --cave-configuration FILE
Specify the file FILE that defines the displays for a cave. It is used only with CaveRenderModule.
--compare-view OPT
Compare the viewport to a reference image, and exit.
--connect-id ID
Set the ID of the server and client to make sure they match.
--data DATA
Load the specified DATA.
--data-directory DIR
Set the data DIR directory where test-case data are.
-dr | --disable-registry
Do not use registry when running ParaView (for testing).
--exit Exit application when testing is done. Use for testing.
/? | --help
Displays available command line arguments.
--image-threshold THRESH
Set the threshold THRESH beyond which viewport-image comparisons fail.
-m | --machines FILE
Specify the network configurations file FILE for the render server.
--run-test CASE
Run a recorded test case CASE.
--run-test-init CASE
Run a recorded test initialization case CASE.
-s | --server NAME
Set the name NAME of the server resource to connect with when the client starts.
--stereo
Tell the application to enable stereo rendering (only when running on a single process).
--test-directory DIR
Set the temporary directory DIR where test-case output will be stored.
-V | --version
Give the version number and exit.
SEE ALSO
On-line documentation from the program help menu, wiki pages at http://paraview.org/Wiki/ParaView, FAQ at http://paraview.org/Wiki/Par-
aView:FAQ and mailing list at http://public.kitware.com/mailman/listinfo/paraview
AUTHOR
Gerber van der Graaf
21 May 2008 PARAVIEW(1)