{ 7 comments }
sort command
I have a large number of files stored in ~/Downloads/ directory. How do I sort and print sizes in human readable format using du -h command under Ubuntu Linux LTS version 12.04 or any other Linux distributions?
How do I sort all *.avi or *.py files in $HOME/Download/ directory by file size using Linux ls command line utility?
{ 6 comments }
How do I sort output of find . -type f -iname "pattern*" -ls command by seventh column in Linux?
{ 0 comments }
How do I use awk pattern scanning and processing language under bash scripts? Can you provide a few examples?
{ 25 comments }
I type the following command:
ps -auxf | sort -nr -k 4 | head -10
And I get the output along with warning message:
Warning: bad syntax, perhaps a bogus ‘-’? See /usr/share/doc/procps-3.2.7/FAQ
How do I fix this problem?
{ 0 comments }
Q. How do I sort date type of data stored in a text file which is in following sample format:
Code Date TIME HOS05 23/12/2008 10AM HOS06 15/12/2008 2PM HOS62 29/12/2008 10AM HOS64 23/12/2008 2PM HOS70 26/12/2008 10AM ZFT01 06/12/2008 10AM HOS73 11/12/2008 2PM MHOS051 05/12/2008 10AM MHOS041 20/12/2008 2PM MHOS042 27/12/2008 2PM MHOS053 11/12/2008 10AM MHOS043 30/12/2008 2PM
How do I sort data date and time wise?
{ 10 comments }




