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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is in a script?

959


How to print all array elements and their respective indexes?

900


What are the zombie processes?

918


What is the use of .sh file?

1052


Why are shell scripts used?

1023


Explain about debugging?

965


What is a file basename?

994


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

914


What does $0 mean in shell script?

937


Is shell scripting difficult?

891


What is shell scripting used for?

933


What is scripting used for?

992


What is wc in shell script?

934


What are the different types of commonly used shells on a typical linux system?

1002


Why do we write bin bash in shell scripts?

956