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
How to find all the files modified in less than 3 days and save the record in a text file?
What can scripts do?
What is path in shell script?
Tell something about the super block in shell scripting?
Explore about environment variables?
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.
What is bourne shell scripting?
What is a scripting language simple definition?
What are the zombie processes?
Print the 10th line without using tail and head command.
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
Explain about sourcing commands?
What is shell geeksforgeeks?
How do I run a bin bash script?
what is info area how many types?