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

How do I open a jshell in cmd?

1250


How will you find the 99th line of a file using only tail and head command?

2539


How can you get the value of pi till a 100 decimal places?

971


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

1069


What is the default shell of solaris?

1043


What is gui scripting?

1110


What does $$ mean in shell script?

1059


How will you print the login names of all users on a system?

971


What is the use of a shebang line?

1199


What is meant by dos operating system?

1058


Write a command sequence to find all the files modified in less than 2 days and print the record count of each.

1515


How to print all array elements and their respective indexes?

968


Is shell script a programming language?

1038


Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.

2476


What can scripts do?

1103