Want this question answered?
date
The time command is used to time a command and not display the actual time. To display the time and date, the date command must be used.
If you use Linux its hard to get one anywhere else... All kidding aside, the date command is used to print the current date and time (such as day of week, month, day of month, time, timezone, and year).
With command date option -s
By issuing the date command. This will return something like:Wed Dec 9 10:55:20 EST 2009
in a linux machine : tar -cvf FileOrDirectory.tar FileOrDirectory # or to gzip it at the same time... tar -czvf FileOrDirectory.tgz FileOrDirectory
command is : hwclock --systohc First check and set the current system date and time. # date # date -s 'Wed May 28 11:35:00 EST 2003' Then sync your hardware clock with the system time. # hwclock --show # hwclock --systohc
No, none of the passwords used in a Linux system can be "recovered" because there isn't a reverse encryption for it. However, you can "reset" the root password by using the single-user mode at boot time (which puts you in the root account automatically) and then changing at that time.
Virtually all Linux distributions will accept the "halt" command. Some also have a shutdown command, though this has additional parameters and is meant mainly to shut down the system at a certain time.
The date and time are set in most Unix systems with the 'date' command. The exact syntax can vary, in which case you can find out by using the 'man date' command. Note: you have to be a root level user to issue this command to change the date or time.
sleep is a unix command line program that suspends program execution for specified period of time.. syntax:- sleep time example:- sleep 10 date, time and wait are the related commands of sleep command...
You can schedule jobs using cron and the /etc/crontab file, or you can use the "at" command