6 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
I want to remove commands having no output. In below text file.
bash-3.2$ cat abc_do_it.txt
grpg10so>show trunk group all status
grpg11so>show trunk group all status
grpg12so>show trunk group all status
GCPKNYAIGT73IMO 1440 1345 0 0 94 0 0 INSERVICE 93% 0%... (4 Replies)
Discussion started by: Raza Ali
4 Replies
3. Shell Programming and Scripting
Hi
I need to get the previous 5 minutes from the currnet time as given below. Please help.
Current time : date +%d-%m-%Y_%H-%M
output : 16-05-2012_15-05
I need the previous 5 minutes of the above output ,
Required output:
16-05-2012_15-04
16-05-2012_15-03... (4 Replies)
Discussion started by: Kanchana
4 Replies
4. UNIX for Dummies Questions & Answers
We have a Solaris Server and I am acessing it through telnet to run various commands for my data validation like GREP, SED, AWK etc.
My requirement is how do i use the previous command that was executed. I tried the option 'ESC' and then 'k'. It displays the characters like '^[[A' etc. How do I... (2 Replies)
Discussion started by: vskr72
2 Replies
5. Shell Programming and Scripting
We have a Solaris Server and I am acessing it through telnet to run various commands for my data validation like GREP, SED, AWK etc.
My requirement is how do i use the previous command that was executed. I tried the option 'ESC' and then 'k'. It displays the characters like '^[[A' etc. How do I... (1 Reply)
Discussion started by: vskr72
1 Replies
6. UNIX for Advanced & Expert Users
We have a Solaris Server and I am acessing it through telnet to run various commands for my data validation like GREP, SED, AWK etc.
My requirement is how do i use the previous command that was executed. I tried the option 'ESC' and then 'k'. It displays the characters like '^[[A' etc. How do I... (0 Replies)
Discussion started by: vskr72
0 Replies