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 / rajesh

ls -l | awk '{print $5}'

Is This Answer Correct ?    7 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shell geeksforgeeks?

1110


What is console line?

965


What is scripting used for?

1044


What lives in a shell?

962


How to get the first line from a file using just the terminal?

1127


Is bash a shell script?

1063


What is the use of "$?" Sign in shell script?

1171


Why do we write bin bash in shell scripts?

1016


What is wc in shell script?

987


What is sh in shell script?

1027


How to debug the problems encountered in the shell script/program?

1148


what is tickets $ what low,medium,high priorite pls define time also

2168


What makes c shell a more preferable option than the bourne shell?

976


What does echo mean in scripting?

1007


Why is a script important?

1070