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

what does the job command do?

4 Answers  


use of ls command

9 Answers  


How do you grep recursively?

0 Answers  


What is the nmap command?

0 Answers  


how will you convert a general file to a hidden file?

4 Answers  






What is the use of sed command in unix?

0 Answers  


what is the function of grep command?

4 Answers  


Give the command for finding the current date.

0 Answers  


What are the differences among a system call, a library function, and a unix command?

0 Answers  


What is s and g in sed command?

0 Answers  


What does grep v grep do?

0 Answers  


What is used to type command?

0 Answers  


Categories