10 More Discussions You Might Find Interesting
1. Solaris
I have list of dates in a file. Am reading each line and trying to format date, Can you please help me ?
Sample file content:
02/22/16 USA is great country
02/21/16 USA future
02/23/16 who is he
I want to read each line from above file and format date as below
2016-02-21 (i.e., using... (1 Reply)
Discussion started by: prince1987
1 Replies
2. Solaris
Hi people,
I dont have a real problem, its also a so strange issue.
When i connect to my system from a ssh session or telnet normaly from putty and execute the command "date" its show me the correctly time in BRT format for root and all other users.
But when i connect from the global... (3 Replies)
Discussion started by: anonymouzz
3 Replies
3. Solaris
Can someone help me with the command to get yesterday's date on Sun solaris?? (1 Reply)
Discussion started by: sachinkl
1 Replies
4. Solaris
Hi,
I have set the date on solaris system , but the the date is changed after rebooting the system . I was suspecting that it could sync with ntp server , so i disabled the NTP and checked, but still whenever i reboot the system , the date that i set is getting changed, Any idea how to come out... (7 Replies)
Discussion started by: thavamaniraja
7 Replies
5. Shell Programming and Scripting
Hi,
I am working on date operations in perl. using following code, I am getting today date as per my required format.
my $date1 = `date '+%m/%d/%Y'`;
can I find day+1 date. (ie. If today is 12/01/2009 then I want to edit above code t find 12/02/2009)
---------- Post updated... (3 Replies)
Discussion started by: gentleDean
3 Replies
6. Solaris
Hi All,
Is it possible to run date -d option in Solaris?
Do we have a work around so that -d option will be recognized
by solaris as it is recognized by linux.
I need this since i am using this in scripting and it works in Linux box. my problem is
it doesn't work in solaris box.
... (6 Replies)
Discussion started by: linuxgeek
6 Replies
7. Solaris
Hello,
I have a Sun Solaris 10 installs by default in French.
I do not have CDs of the OS installation.
I have a program use the language en_US.
At connection language chosen is C (en_USxxxx not available)
I open a console $ LANG C
if LANG = en_US I get "could not set correctly local" ... (2 Replies)
Discussion started by: XRay
2 Replies
8. Shell Programming and Scripting
Hello there ppl,
I thought my question would qualify to be posted in this forum and in Solaris forum.
And I swear to God.. there is no discussion on this exact topic anywhere else on the web!
So my script on BASH uses 2 commands:
1) date -d "Fri Mar 06 10:18:16 UTC 2009" +%s
This... (3 Replies)
Discussion started by: pavanlimo
3 Replies
9. Solaris
Hello there ppl,
I thought my question would qualify to be posted in this forum and in Shell scripting forum.
And I swear to God.. there is no discussion on this exact topic anywhere else on the web!
So my script on BASH uses 2 commands:
1) date -d "Fri Mar 06 10:18:16 UTC 2009" +%s
... (1 Reply)
Discussion started by: pavanlimo
1 Replies
10. Solaris
Hi.. i need to find when solaris os is last installed in server? Is there any command or log files to find installation date (6 Replies)
Discussion started by: vadivukumar
6 Replies