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 / amrapalee jawalikar

ls -l | sort +4 -5

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to print all array elements and their respective indexes?

916


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

967


I have 2 files and I want to print the records which are common to both.

1124


What are the different types of variables used in shell script?

1003


How to get the 3rd element/column from each line from a file?

1159


What is shell company all about?

950


How do I stop script errors?

1063


Explain about the exit command?

941


Explain about debugging?

980


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

921


What is awk in shell scripting?

994


What is shell chemistry?

936


What language is bash written in?

966


What does $1 mean in bash?

1046


How do I set bash as default shell mac?

959