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

Place the selected 5th coloumn in the file file1 and sort
the file1.


$ ls -l | cut -f 5 > file1
$sort file1

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I edit a .sh file?

1152


What is a scripting language simple definition?

1106


How do I run a .sh file on mac?

1202


What exactly is a shell?

1091


What are script files?

1040


How will you connect to a database server from linux?

1054


What is a file basename?

1059


What does debug script mean?

985


Why are there shells on the beach?

1158


write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

4136


c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again

6459


‎What is a shell? · ‎Types of shell · ‎what is shell scripting?

985


What are zombie processes?

1034


Is cmd a shell?

1031


How to check if the previous command was run successfully?

1046