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
Is shell scripting a language?
How will you pass and access arguments to a script in linux?
Is shell scripting easy to learn?
How do I run a bin bash script?
Is powershell a language?
Given a file find the count of lines containing the word "abc".
What is the conditional statement in shell scripting?
What does path stand for?
Can we run shell script in windows?
Why is it called a shell?
How to replace following lines, catch (DAOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } catch (BOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw e; } catch (Exception e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } Needs to be changed in to, catch (DAOException e) { AppException.handleException (null, null, e, null, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); } catch (BOException e) { AppException.handleException (null, null, null, e, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 0); } catch (Exception e) { AppException.handleException (null, null, null, null, null, e, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); }
What are scripts in psychology?
How do I open the shell in cmd?
What is the use of "$?" Sign in shell script?
What are the two files of crontab command?