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

What does the command '$ls | wc –l > file1' do?

1296


What is “chmod” command?

1236


What do chmod command do?

1282


What command will change your prompt to myprompt?

1382


What is the unix command to confirm a remote host is alive or not?

1276


What is unix command line?

1331


What is the command to find maximum memory taking process on the server?

1262


Differentiate cmp command from diff command.

1230


What is the difference between cat and more command?

1359


What is the search command in unix?

1128


What are awk commands?

1219


Name the general commands in using unix os for a beginner?

1213


Who wrote grep?

1105


What do chown command do?

1247


Describe the zip/unzip command using gzip.

1218