Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rdate(1m) [opensolaris man page]

rdate(1M)						  System Administration Commands						 rdate(1M)

NAME
rdate - set system date from a remote host SYNOPSIS
rdate hostname DESCRIPTION
rdate sets the local date and time from the hostname given as an argument. You must have the authorization solaris.system.date on the local system. Typically, rdate is used in a startup script. rdate requests are responded to by the "time" service on the specified host. To enable the "time" service, use the following commands: svcadm enable time:stream svcadm enable time:dgram USAGE
The rdate command is IPv6-enabled. See ip6(7P). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrcmdc | +-----------------------------+-----------------------------+ SEE ALSO
inetd(1M), inetd.conf(4), attributes(5), ip6(7P) SunOS 5.11 16 Mar 2006 rdate(1M)

Check Out this Related Man Page

rdate(1M)                                                 System Administration Commands                                                 rdate(1M)

NAME
rdate - set system date from a remote host SYNOPSIS
rdate hostname DESCRIPTION
rdate sets the local date and time from the hostname given as an argument. You must have the authorization solaris.system.date on the local system. Typically, rdate is used in a startup script. The inetd daemon responds to rdate requests. To enable inetd response, the lines invoking the time command in inetd.conf must not be com- mented out. USAGE
The rdate command is IPv6-enabled. See ip6(7P). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrcmdc | +-----------------------------+-----------------------------+ SEE ALSO
inetd(1M), inetd.conf(4), attributes(5), ip6(7P) SunOS 5.10 15 Feb 2001 rdate(1M)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help on appending data to existing data

I need to know how to record the hostname, date/time and all of the process and send it all to one file. I know that the commands I need are hostname, date and ps but I don't know how to do them all and send them all to the same file. Please help! (1 Reply)
Discussion started by: precious51980
1 Replies

2. UNIX for Advanced & Expert Users

Linux sys date changing

Could anyone help me on related commands in linux for viewing the current date of system & any command for changing the date of system. Tanx --nikk (1 Reply)
Discussion started by: nikk
1 Replies

3. UNIX for Dummies Questions & Answers

Please help me with my script

Hi. I`m going to make i simple script which prints todays date an time in this format: *****Todays date and time is <date> How do I do this? I`m having problems getting it on the same line. thanks. (3 Replies)
Discussion started by: hoeknu
3 Replies

4. IP Networking

REXECD on Freebsd 4.8

can someone help in how to enable rexecd on freebsd? what i did: enable inetd in /etc/rc.conf in /etc/inetd.conf unmarked exec service when i do an netstat -a |grep LISTEN is see tcp4 0 0 *.printer *.* LISTEN tcp6 0 0 *.printer *.* ... (0 Replies)
Discussion started by: termiEEE
0 Replies

5. UNIX for Dummies Questions & Answers

script that enters date in file

hello there, currently fiddling around with unix commands to get a better understanding of coding in general (if that made sense) .. i was wondering if there was a command that inserted the date into a exisiting file, then having that edited file being called something else. (ie. file and... (3 Replies)
Discussion started by: raidersboi
3 Replies

6. UNIX for Dummies Questions & Answers

Insert date/time within a filename

Hi Guys, I need to script the renaming of files as followins: files: firstjd secondjo thirdjv My script needs to insert the date/time infront of the last 2 characters of the filenames above, any ideas greatly received :) the letters before the last 2 characters could change, I'm only... (7 Replies)
Discussion started by: cooperman
7 Replies

7. UNIX for Advanced & Expert Users

to get process start date and time

what is command to get same using ps with switch. I know process id, by specify process id. It should work on solaris and hp-ux I will be happy if for both different commands. (2 Replies)
Discussion started by: naeem ahmad
2 Replies

8. Solaris

help about time and date on sparcstation

Hi all, I have one problem on my sparcstation20, time stops when I turn off my station, where is the problem? do u think is the NVRAM is crashed? ( for example, I turn off my station at 11:00, when I turn on the next day, I found time on 22:20)!!! please help me thank's for All (9 Replies)
Discussion started by: reda_lui
9 Replies

9. Solaris

How to get process start date and time in SOLARIS?

how can I get the process start date and time? using ps command i can get the timstamp for a process, which are started today. and only date (MMM DD) for others. i need to get both for all the running process. please help. Regards, Jagadeeswaran.K (7 Replies)
Discussion started by: Jagadeeswaran.K
7 Replies

10. Solaris

Bad command error for date conversion

Hi, Iam trying to convert date and time to milliseconds which iam using in a script on Sun Solaris. I have searched the posts on the forum but i could not get any solution. The format iam using in script is: date -u "Thu Dec 24 00:01:00 EST 2009" But i get a bad command error. ... (6 Replies)
Discussion started by: jyothi_wipro
6 Replies

11. Solaris

Enabling time service in local zones

Hi, Is it possible to enable the time service in local zones? E.g. erahmanz1% svcs -a | grep -i time STATE STIME FMRI disabled Sep_10 svc:/network/daytime:dgram disabled Sep_10 svc:/network/daytime:stream disabled Sep_10 svc:/network/time:dgram... (2 Replies)
Discussion started by: ERahman
2 Replies

12. UNIX for Dummies Questions & Answers

Timekeeping problem

Hello everyone I am currently exploring the different time keeping commands in linux. and I having a lot of trouble figuring out the advantages and disadvantages of using daytime command rdate and hwclock and such commands. Can someone link me to good articles or just give me the answer (5 Replies)
Discussion started by: maniac173
5 Replies

13. Solaris

Prompt as input

Hi (again) This time I need to prompt user to enter a string which is actually a file name which will be used within the script to run .eg ./script PLease enter date I then need to use this date in the script. I know its somthing to do with assigning $<xxxx> but unsure how to do it.... (0 Replies)
Discussion started by: rob171171
0 Replies

14. Solaris

rdate different port?

is it possible to use non-standard port for NTP? (as 123 is already taken) (4 Replies)
Discussion started by: orange47
4 Replies

15. Shell Programming and Scripting

Cutting string values from a file

My file looks like this.... User:SYSTEM,O/S User:oracle,Process:3408086,Machine:hostname ,Program:sqlplus@hostname (TNS V1-V,Logon Time:25-JUL-20 14 13:36 I want to get the date and time which is displayed after the 'Logon time'. (5 Replies)
Discussion started by: Nagesh_1985
5 Replies