How does a user get the current date, time in UNIX?

Answer Posted / niranjan

command : $ date

date having different options according to reqirement like MMDDYY or day of the week,month name,weekday plenty off:)

$date %c gives current time with date month year

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who command in unix operating system?

662


Are you in or at the office?

611


What is the command to find hidden files in the current directory?

583


What is a bash command?

627


What is the command to view process running?

576






Which command is used to find whether the system is 32 bit or 64 bit?

631


Write a command that will display files in the current directory, in a colored, long format.

685


Can you explain a little bit about command substitution?

610


Can you enlist some commonly used network commands?

602


Explain ‘system calls’ with respect to unix commands?

604


How does the system know where one command ends and another begins?

1578


What is sed awk grep?

609


Enlist some filename manipulation commands in unix.

554


How do you repeat a command in terminal?

591


What is the use of awk command in unix?

581