Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 / siba sankar nayak

In Unix, to know the current date and time, the command is
date.

Is This Answer Correct ?    2 Yes 1 No

how to read systems current date and time..

Answer / santana20142003

$date -u +%r -->02:26:38 PM
$ date -u +%T -->14:26:48

Is This Answer Correct ?    1 Yes 0 No

how to read systems current date and time..

Answer / m.venkata ramana

read `date '+%m-%d-%y %H-%M-S%'`

Is This Answer Correct ?    1 Yes 0 No

how to read systems current date and time..

Answer / kirtiranjan sahoo

we can use DATE command to know the system date and time.
and want to any modify, then
date +%Y-%m-%d
Y: Year
m: No of month
d: date number
If you want to know the yesterday date, simply you can write the below command
date -d "yesterday"
or
date -d "-1day"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Shell Script Interview Questions

What are the additional egrep symbols?

2 Answers  


Is cmd a shell?

0 Answers  


How to find duplicate record in file using shell script?

0 Answers   IBM, Saama Tech, Wipro,


What is the command to find out today's date?

0 Answers  


Dear All, Can anybody tell me how to predefind no. of selected rows from a text file.

1 Answers   MGL,


How to customise the other shell?

2 Answers   Quest,


determine the output of the following command: echo ${new:-variable}

0 Answers  


What can scripts do?

0 Answers  


What is shell chemistry?

0 Answers  


What is bash used for?

0 Answers  


What is basename in shell script?

0 Answers  


Explain about sourcing commands?

0 Answers  


Categories