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 / 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

What are scripts in psychology?

0 Answers  


What is echo in shell?

0 Answers  


How to modify the PATH variable and make it executable?

3 Answers   Mind Tree,


How do you rename the files(*.sh) with file names containing space in it?for example "interview question.sh" needs to rename to "interview-question.sh". Appreciate your inputs.Thanks.

5 Answers   Wells Fargo,


is this growing field and what is average package in this?

0 Answers  


What is the difference between running a script as ./scriptname.sh and sh scriptname.sh

1 Answers  


how is the oppurtunities for unix in the software

1 Answers  


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

0 Answers   Cap Gemini,


What does $$ mean in shell script?

0 Answers  


write a scwipt that a) takes exactly one argument, a directory name. b) if the number of argument is more or less than one,print a usage message c) if the argument is not adirectory, print another message d) for the given directory, print the five biggest files and the five files that were most recently modified. e) save the output to a file called q2output.

2 Answers  


Print the 10th line without using tail and head command.

0 Answers  


What language is bash written in?

0 Answers  


Categories