Linux and UNIX Man Pages

Test Your Knowledge in Computers #133
Difficulty: Easy
The first prototypes of Linux were publicly released in 1991.
True or False?
Linux & Unix Commands - Search Man Pages

rdate(1m) [sunos 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)

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)

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

date is not getting the filedate value.

I have the following script. I am trying to get the date time when an empty file was created. In my situation if an empty file is created it won't be touched again. At the end of the script I state the problem- the #!/bin/ksh #Source the file . $HOME/.profile typeset -L100 fname typeset... (13 Replies)
Discussion started by: radhika
13 Replies

2. Red Hat

inetd.conf in linux

I need to put the following line in inetd.conf: stats stream tcp nowait nobody /usr/local/bin/mrtgsysinfo mrtgsysinfo but my version of linux don't seem to allow that, ie there is no inetd.conf. How do i set that up in linux (red hat enterprise 3). (15 Replies)
Discussion started by: frankkahle
15 Replies

3. Solaris

SunOS and ftp logging

Hi, I'd want to enable ftp logging on a SunOS 5.9 machine. I've read some guides I've found on the Internet but, in the syslog file, I stil not have information about that. In the /etc/inetd.conf I have this line: ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -d ... (8 Replies)
Discussion started by: untamed
8 Replies

4. Shell Programming and Scripting

little help in command

this is my script: TZ=`date +%Z`+24 ;a=`date +%Y-%m-%d` cd /ednadtu3/u01/pipe/logs for i in DBMaint.log do cat $i | grep $a >> /ednadtu3/u01/pipe/naveed/file12.txt done ------------------------------------------------------------------------------------- here i want to grep the... (10 Replies)
Discussion started by: ali560045
10 Replies

5. UNIX for Dummies Questions & Answers

Help needed with date

How can i assign a variable by the name of CUTDATE= today date - 90 days? i have something like this right now :- today=`date '+%Y%m%d'` #cutdate = this is where i am having problem. i need today - 90 days How can i accomplish this? After that i need to do delete the data which are more... (16 Replies)
Discussion started by: chris1234
16 Replies

6. 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

7. UNIX for Dummies Questions & Answers

Interesting date/ps time mismatch

# date;ps -ef|grep confused. Tue Dec 13 11:11:22 EST 2005 root 12847 12733 0 11:21 pts/83 00:00:00 grep confused. I am really confused on why my ps and my date command are returning different values for the time. Anyone know how to resolve this? Running FC2, if it helps. (14 Replies)
Discussion started by: r0sc0
14 Replies

8. UNIX for Advanced & Expert Users

Friendz.. plz help me on this date function.

:confused: Hi there. Hi frndz, I have to script a shell in such a way that by giving the current date, it should give the previous saturday date and next sunday date as output. eg: Input - 01-01-2008 O/p - last saturady- 30-12-2007(ddmmyy) Next Sunday- 05-01-2008 ... (14 Replies)
Discussion started by: psn123
14 Replies

9. HP-UX

Critical files in /etc overwritten EMPTY!

The following files were wiped out - new empty files were left in their place. /etc/inittab, /etc/inetd.conf, and /etc/MANPATH The system is running HP-UX 11i v3 - Mar08. Anyone seen anything like this? Any ideas on a way to figure this out if it happens again or a suggested way to... (9 Replies)
Discussion started by: KEnglander
9 Replies

10. Shell Programming and Scripting

Formatting date

Hi all Y=`date +'%Y'` M=`date +'%m'` D=`date +'%d'` if && ;then yesterday=$Y$M`expr $D + 30` echo $yesterday else if && ; then yesterday=$Y$M`expr $D + 29` echo $yesterday else if ; then yesterday=$Y$M`expr $D + 27` echo $yesterday else yesterday=$Y$M`expr $D - 1` echo... (8 Replies)
Discussion started by: ultimatix
8 Replies

11. Solaris

PING broken check

Dear All, Required a script which will check the PING response from my source file(tmp/PingStatus.txt) containing the hostnames. If ping response is not responding(i.e when hostname is not alive) then this cmd to be executed : opcmsg object=PING a=OS msg_grp=win-ping severity=critical... (20 Replies)
Discussion started by: mjoshi87
20 Replies

12. Solaris

SMF: How to start inetd and all its dependents?

Hi, Here is the questions: inetd on this Solaris 10 zone fails to start at boot time. Inetd has 4 dependents not started. These 4 dependents have their own dependents not started. How it happened? How can I use one or a few command to start inetd and all its dependents and dependents' dependents?... (11 Replies)
Discussion started by: aixlover
11 Replies

13. Shell Programming and Scripting

Loop questions

hi all, i'm trying to create a script inorder to put load test on hard drives. first i create 30GB file dd if=/dev/zero of=50gb.img bs=5gb count=10 then i'd like to create 100 loops continuous until it fills up. once its done delete file. this is where i'm stuck for for loops. can... (18 Replies)
Discussion started by: kernel11
18 Replies

14. Solaris

How to change the date automatically on script?

Hello Experts, There is a log file which has date stamp, I just wanted to change the date automatically on daily basis when it runs. Tried the below, but no luck. grep -i error /var/bv1to1_var/logs/bv03.bectondickinson.com/bvlog.out.`date +\%Y\%m\%d` | tee error_bv03.doc I would highly... (10 Replies)
Discussion started by: seenuvasan1985
10 Replies

15. AIX

AIX Syslog where the hostname sit

Dear all experts, I would like to know where can I find the hostname located as when I receive the syslog, I can only see as below : (showing in localhost instead of the hostname) Feb 6 15:31:31 localhost syslog:info syslogd: restart Feb 6 15:31:50 localhost syslog:info syslogd: restart Feb... (13 Replies)
Discussion started by: kwliew999
13 Replies

Featured Tech Videos