How does a user get the current date, time in UNIX?
Answers were Sorted based on User's Feedback
Answer / niranjan
command : $ date
date having different options according to reqirement like MMDDYY or day of the week,month name,weekday plenty off:)
$date %c gives current time with date month year
| Is This Answer Correct ? | 4 Yes | 0 No |
How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.
3 Answers Amazon, MBA, Syntel, TCS, Unisys,
what is the command to get help on a UNIX terminal?
what is the use of "test" command in unix?
What is use of sed command?
12 Answers BitWise, Infosys, Reliance,
their is a file1,file2 and i want to append file1 data to file2?
What does this command do,"$more readme.txt“?
How do you find out all processes that are currently running in UNIX OS?
In vi editor how do you execute unix commands?
How to view the hidden files in /etc directory?
How would you find the size of a file or directory?
Assume that a file’s permissions give you read and write access. What operations can you perform on the file if it is in a directory which has “r”(read) only process? What operations can you perform on the file if it is in a directory which has “x”(execute) only access?
What is the use of egrep command in unix?