
I-52 Computer Fundamentals
For example, to display the current time, use the following command.
C:\>TIME /T
03:59 PM.
9. List and give the usage of any five UNIX commands.
Ans: Five UNIX commands are discussed as follows:
• pwd: It is used to know the present working directory. To know in which directory you are cur-
rently working, type pwd and press ‘Enter’ as shown below.
$ pwd # present working directory
/usr1/dept3/dir5
It says that the usr1 is currently logged in and is currently present at directory dir5 of parent
directory dept3.
• cat: It is used to display the contents of a file. Suppose that we have a file named file1 and we
want to displa ...