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

Answer Posted / vjsujay

#!/usr/bin/sh

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

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the conditional statement in shell scripting?

1229


What is the default ubuntu terminal?

1126


How do you know which shell I am using?

1046


What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?

1060


Is bash a shell script?

1058


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

4073


How to write a function?

1032


State the advantages of shell scripting?

1050


Is shell scripting difficult?

956


how to get part of string variable with echo command only?

1024


Is shell a scripting language?

1012


What is the best shell scripting language?

1021


what is tickets $ what low,medium,high priorite pls define time also

2154


What does the sh command do?

1077


How to check if a directory exists?

1191