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...

How to sort a result of Ls -l command based on columns. Ex.
i want to sort 5th column from output of ls -l command.

Answer Posted / vikas

ls -al | sort | cut -d ' ' -f 5

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find all the files modified in less than 3 days and save the record in a text file?

1062


What can scripts do?

1103


What is path in shell script?

1097


Tell something about the super block in shell scripting?

1035


Explore about environment variables?

1044


Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.

2218


What is bourne shell scripting?

984


What is a scripting language simple definition?

1103


What are the zombie processes?

972


Print the 10th line without using tail and head command.

2177


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

997


Explain about sourcing commands?

1103


What is shell geeksforgeeks?

1111


How do I run a bin bash script?

1038


what is info area how many types?

2768