how to read systems current date and time

Answers were Sorted based on User's Feedback



how to read systems current date and time..

Answer / madhavi

echo "the current date and time is:"

echo `date`

Is This Answer Correct ?    4 Yes 0 No

how to read systems current date and time..

Answer / vjsujay

#!/usr/bin/sh

echo "Sample Script to display current date & time"
date

Is This Answer Correct ?    3 Yes 1 No

how to read systems current date and time..

Answer / no one

with $date command.

Is This Answer Correct ?    4 Yes 3 No

how to read systems current date and time..

Answer / manish

but how
plz write script

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Shell Script Interview Questions

In a file , how to retrieve the lines which are the multiples of 50 ? like 50,100,150th lines etc.

9 Answers   Amazon,


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

0 Answers  


What is a shell environment?

0 Answers  


write a shell script to identify the given string is palindrome or not?

17 Answers   CTS, HP, IBM, InfoEst, Wipro,


Why do we use shell scripting?

0 Answers  






What is the use of script interpreter in shell scripting?

3 Answers  


What is shell scripting?

0 Answers  


what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly

4 Answers  


What is awk in shell scripting?

0 Answers  


What is sh in shell script?

0 Answers  


what is the difference between cmp and diff commands

2 Answers   Amazon, CTS,


What is difference between bash and shell?

0 Answers  


Categories