how to read systems current date and time

Answer Posted / madhavi

echo "the current date and time is:"

echo `date`

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a shell in operating system?

589


Which is better perl or shell scripting?

559


Explore about environment variables?

593


How would you compare the strings in a shell script?

546


How do I run a script on mac?

568






What is a program shell?

570


What is ms powershell?

581


What is echo $shell?

621


What does it mean to debug a script?

571


c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l

3156


Explain about shebang?

622


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

2972


Write a shell script to get current date, time, user name and current working directory.

633


What is the conditional statement in shell scripting?

658


What can you do with powershell?

607