what is ls -ltd?

Answers were Sorted based on User's Feedback



what is ls -ltd?..

Answer / rhino

l -- For long listing example as below
t -- for latest time stamp -- After you make the changes
etc.
d -- stands for the information about the current directory
as shown below

Ex o/p as below :

drwxrwxr-x 3 oi oi 1276 Mar 25 11:47 .

3 above stands for no. of directories in the current
directory minus 2 , This means above directory has one
child directory


when o/p shows as below :

ls -ltd
drwxrwxr-x 5 oi oi 1399 Mar 25 11:55 .

This would mean parent directory has 3 child directories
(i.e 5-2 = 3 child directories)

Why minus 2 -- Current directory has 2 links so the same
number need to be deducted from the total number

Is This Answer Correct ?    19 Yes 2 No

what is ls -ltd?..

Answer / satish

ls - ltd

current directory information.
Option l: Long listing
t: Time Stamp
d: Information about current directory
(Useed with -l Option)

Is This Answer Correct ?    13 Yes 2 No

what is ls -ltd?..

Answer / shweta

It wil display long listing of current directory only

Is This Answer Correct ?    3 Yes 2 No

what is ls -ltd?..

Answer / raj

ls - Display all the files available in the system
(listing of files)

ls -l Long listing of files

Is This Answer Correct ?    2 Yes 3 No

what is ls -ltd?..

Answer / manu

ls -ltd will display long listing of directory in timely
order in the present working dierctory

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Unix Commands Interview Questions

Give the command to display space usage on the UNIX file system.

6 Answers  


Give Command that will change the name of a directly from paypal to eBay

3 Answers   Alcatel, IBM,


How to add content of one file into another file at the beginning

12 Answers  


In vi editor how do you execute unix commands?

10 Answers  


What is rmdir command?

0 Answers  






What is the difference between cat command and more command?

0 Answers  


What is the procedure of "at" and crontab" commands?

4 Answers  


what is the shell for dos,nt operating systems?

1 Answers  


What does find command return in unix?

0 Answers  


How do you stop a running process?

7 Answers  


How do you copy a directory with many files and folders into another directory?

2 Answers  


Which command will you use to change the permissions on file?

7 Answers  


Categories