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
How to print all array elements and their respective indexes?
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
I have 2 files and I want to print the records which are common to both.
What are the different types of variables used in shell script?
How to get the 3rd element/column from each line from a file?
What is shell company all about?
How do I stop script errors?
Explain about the exit command?
Explain about debugging?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
What is awk in shell scripting?
What is shell chemistry?
What language is bash written in?
What does $1 mean in bash?
How do I set bash as default shell mac?