10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I was trying to get 1st Sunday in a month. I tried using cal followed by awk NF=1 apparently it would give entire 1st field in that month.
Any suggestions (11 Replies)
Discussion started by: penqueen
11 Replies
2. Shell Programming and Scripting
Hi,
I want to make Monday as the first day of the month while using cal command
when I execute without bash, its working fine
/bin/sh
cal -m 03 2013
March 2013
Mo Tu We Th Fr Sa Su
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30... (5 Replies)
Discussion started by: infyanurag
5 Replies
3. Shell Programming and Scripting
Plz help me
a) To display on the screen the sorted output of "who" along with the total no. of users.
b) the same output (except the no. of users) should be in file FILE1. (2 Replies)
Discussion started by: shivasaini
2 Replies
4. Shell Programming and Scripting
Plz help me
To modify "cal " command to display calenders of the specified months.
$ cal jan....oct (0 Replies)
Discussion started by: shivasaini
0 Replies
5. Shell Programming and Scripting
Plz help me
To modify "cal " command to display calenders of the specified months.
$ cal jan mar nov (0 Replies)
Discussion started by: shivasaini
0 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I wanted to display calender for the previou, current and next month in a single command...
I used the command cal -3 for this. But its throwing me a Bad Argument error.
I am using HP UX to execute this command. Is this a syntax error, or let me know if there any other ways to... (6 Replies)
Discussion started by: atlantis
6 Replies
7. Shell Programming and Scripting
:o given a date example mm dd yyyy 01 02 1999
how can your parse cal 01 1999 and find the date in the above case 02 and display what the actual day was eg s m t w t f s
Thanks in advance Dragrid (7 Replies)
Discussion started by: dragrid
7 Replies
8. UNIX for Dummies Questions & Answers
This probably would be a cake walk for you, but i am having trouble with this.
I am trying to print every tuesday of the month from cal, and the FS default is space. There is one row that has few spaces at the beginning and so when i print $3, those spaces get ingnored and a different day gets... (2 Replies)
Discussion started by: Vin
2 Replies
9. UNIX for Dummies Questions & Answers
hey everyone. I'm new to UNIX, and I'm having trouble with the cal command. I know that you can display a calendar if you just type in 'cal 3 2005' for example. But how would you do it if you just wanted the calendars displayed to be from March 2005 to June 2005?
Thanks (4 Replies)
Discussion started by: pythonman
4 Replies
10. UNIX for Dummies Questions & Answers
I am trying to configure the cal command to recognize the month names.
When you type: cal - you get the calander for the current month of the current year.
Is there a way of making the system recognize March, and Mar. So I could type:
cal March or cal mar and get the same response as cal.... (5 Replies)
Discussion started by: Astudent
5 Replies