08-18-2015
Thanks for your reply ..!!
here are details
HTML Code:
$ uname -a
Linux ABC.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
HTML Code:
$ echo $0
-bash
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to get previous date from date command. I am using ksh shell.
Exmp:
today is 2008.09.04
I want the result : 2008.09.03
Please help.
Thanks in advance. (4 Replies)
Discussion started by: rinku
4 Replies
2. UNIX for Dummies Questions & Answers
I tried this and it works for the most part, but if the date is 20090301, it displays 20090300.
YESTERDAY=$((`date +%Y%m%d` -1)) (2 Replies)
Discussion started by: cards0622
2 Replies
3. Shell Programming and Scripting
Hi,
does anybody know how to format `date` command correctly to return the day of the week? Thanks -A
I work in ksh.... (1 Reply)
Discussion started by: aoussenko
1 Replies
4. UNIX for Dummies Questions & Answers
I did some searches, but couldn't really find what I'm looking for. I have a file formatted as below:
BOF ABC CO - XYZ COMM DATA OF 07/05/2011
EBA00000001 sdfa rtyus uyml
EBB00000001 54682 984w3
EBA00000002 mkiyuasdf 98234
I want to pull the date from the header record and add it... (4 Replies)
Discussion started by: keeferb
4 Replies
5. Shell Programming and Scripting
hey guys.
the following line is a line taken from apache's access_log
10.10.10.10 - jdoe "GET /images/down.gif HTTP/1.1" 304
I'm concerned about the field that has the date and time in it.
if assuming the delimiter in the file is a space, then the fourth field will always have the date... (5 Replies)
Discussion started by: SkySmart
5 Replies
6. Shell Programming and Scripting
Hi
I want to get tomorrow and yesterday date from date command. My shell is KSH and server is AIX. I tried several options, but unable to do. Please help on this.
Regards
Rajesh (5 Replies)
Discussion started by: rajeshmepco
5 Replies
7. Shell Programming and Scripting
Hi,
In order to make our debugging easier in log files, I need this script.
My log file will be structured like this :
------Invoking myfile -param:start_time=1371150900000 -param:end_time=1371151800000 for 06/14/2013
<multiple lines here>
.....
- Step Sybase CDR Table.0 ended... (3 Replies)
Discussion started by: Lakshmikumari
3 Replies
8. Shell Programming and Scripting
Hi all,
Need an urgent help on the below scenario.
script:
awk -F","
'BEGIN { #some variable assignment}
{ #some calculation and put values in array}
END {
year=#getting it from array and assume this will be 2014
month=#getting it from array and this will be 05
date=#... (7 Replies)
Discussion started by: vijaidhas
7 Replies
9. HP-UX
HI,
Can anyone tell me how to pull the date and file name separated by a space using the find command or any other command. I want to look through several directories and based on a date timeframe (find -mtime -7), output the file name (without the path) and the date(in format mmddyyyy) to a... (2 Replies)
Discussion started by: lnemitz
2 Replies
10. HP-UX
current date command runs well
awk -v t="$(date +%Y-%m-%d)" -F "'" '$1 < t' myname.dat
subtract 30 days fails
awk -v t="$(date --date="-30days" +%Y-%m-%d)" -F "'" '$1 < t' myname.dat
awk command in hp unix subtract 30 days automatically from current date without date illegal option error... (20 Replies)
Discussion started by: kmarcus
20 Replies
LEARN ABOUT ULTRIX
named-xfer
named-xfer(8) System Manager's Manual named-xfer(8)
Name
named-xfer - pull BIND/Hesiod zones from another server
Syntax
/usr/etc/named-xfer -z zone_to_transfer -f db_file -s serial_no [ -d debug_level ] [ -l debug_log_file ] [ -t trace_file ] [ -p port ] [ -n
] [ -a auth_type.auth_ver ] servers...
Description
The transfer daemon, is a server that is usually run by the daemon, but it can also be run manually with the given arguments. The transfer
daemon runs on a BIND/Hesiod secondary server and pulls BIND/Hesiod zones from a primary server. This daemon is not run by default, nor
can it be started up from
Options
-z zone_to_transfer
This option is required to pull a zone. The zone_to_transfer argument specifies the name of the BIND/Hesiod zone that
the daemon will transfer, for example, dec.com.
-f db_file This option is required to pull a zone. The db_file argument specifies the name of the file into which the pulled zone
information is placed.
-s serial_no This option is required to pull a zone. The serial_no argument should be set to the current serial number of the SOA
record for the zone zone_to_transfer. If serial_no is set to 0, the zone is always pulled.
-d debug_level The debug_level argument sets the debug level and determines the amount of debug information to be displayed.
-l debug_log_file The debug_log_file argument specifies the file that will contain any debug messages from the zone pull.
-t trace_file The trace_file argument specifies the file that will contain a trace from the zone pull.
-p port The port argument specifies the port that will be used instead of the default nameserver port listed in
-n This option must be used when the daemon is running in the network safe mode. It indicates that the zone pull must be
authenticated.
-a auth_type.auth_ver
This option must be used if the daemon is running in the network safe mode. The auth_type argument indicates what type
of authentication to use and the auth_ver argument indicates what version of the authentication type to use. Currently,
the auth_type must be "kerberos" and the auth_ver must be "one".
servers... The servers argument is a list of Internet addresses from which to pull a zone. If the first host cannot be ddreached,
the transfer daemon will try to pull the zone from the next host listed.
See Also
services(5), named(8), kerberos(8krb)
Guide to the BIND/Hesiod Service
Guide to Kerberos
named-xfer(8)