Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is ls -ltd?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enumerate some of the most commonly used network commands in unix?

1216


Which unix command lists files/folders in alphabetical order?

1852


What are some command words?

1203


What does grep v do?

1100


How do you grep a case insensitive?

1114


What is the use of sed command in unix?

1258


Which command should you use to find the remaining disk space in unix server?

1350


What is the command to compare two files in unix?

1171


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1630


How do I search a whole word in vim?

1222


What do chgrp command do?

1288


Why is awk called awk?

1136


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

1274


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1450


What is the use of tee command?

1239