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 |
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 difference between cat command and more command?
Write a command to find all of the files which have been accessed within the last 30 days.
5 Answers Google, IBM, Satyam,
How do I run a bash script?
which script will invoke first ,when /etc/init.d starts
Which unix command lists files/folders in alphabetical order?
use of ls command
what are the different commands used to create files?
What are bash commands?
how to find largest file?
14 Answers HCL, Microsoft, Thomson Reuters,
How to check the flavor of UNIX?
What does the command ' $who | sort –logfile > newfile' do?