Search Results

Search: Posts Made By: anshuman0507
1,903
Posted By anshuman0507
FTP client is hanging very rarely!
Hi,

I have a script in which I am using ftp to transfer some files from remote -> local and vice versa, this scripts is invoked by cron. for your reference I am sharing the function also :
...
75,984
Posted By anshuman0507
convert date to epoch time in solaris
I have some start time like : 2009-07-08 06:52:05
and end time : 2009-07-08 06:52:44

now here I want to subtract start time from end time and get the result in seconds

which I was doing in...
75,984
Posted By anshuman0507
how to convert date time to epoch time in solaris
Hi,

Is there any easy way to convert date time(stored in shell variable ) to epoch time in solaris box? As +%s is working on linux but not on solaris, also -d option is not working.

Any...
2,948
Posted By anshuman0507
It worked
Thanks Jim,
It worked and u are right too..'the same can be achieved by simple printf also'
2,948
Posted By anshuman0507
stucking when using printf with awk
Hi,
I am formatting output using printf. It is working fine in linux but in solaris the statement is stucked.

Code:
awk ' BEGIN{printf("%-15s%-25s%-25s%-15s\n","System","Start time","End...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 06:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy