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

How can you see the command line history?

1079


How do I find previous commands in unix?

1126


What is the command to find hidden files in the current directory?

1142


What command is used to check the current users?

1069


What is awk good for?

1091


How to use grep command to list find the records of a file containing 10 different strings?

1090


Who invented grep?

1109


What is the difference between cat and more command?

1228


What is the use of awk command in unix?

1072


What is a command and examples?

1157


Which command is used to find whether the system is 32 bit or 64 bit?

1078


What is the first character of the output in ls l command?

1159


What is rmdir command?

1049


Describe the usage and functionality of the command rm –r * in unix?

1969


What does 'mkdir' command do in UNIX?

1242