10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am running ubuntu 16.04 and trying to list all files inside a directory, I need to sort them in ascending order. While surfing on the site, I found an old thread but somehow it did not work.
Ascending order with sort -nk2 myfile.txt command gives below output:
file... (5 Replies)
Discussion started by: baris35
2. Shell Programming and Scripting
I am just trying to list my files in ascending order so that in some other software, I just want merge with some modification, when I list its coming like this
new-19.txt... (2 Replies)
Discussion started by: nex_asp
3. UNIX for Advanced & Expert Users
Hi am using unix aix
we have a lots of files which comes from server and fetch in one directory. the files will be in the format as
File name as :
pprr0103 (01 as date and 03 as month)
Missing files as... (2 Replies)
Discussion started by: Venkatesh1
4. Shell Programming and Scripting
Hey guys I'm new to unix and need help printing files in a specified directory according to size in bytes as well as files with equal bites in alphabetical order
the part i have done so far prints out all files in the directory as well as setting a time limit in which they have been modified
... (2 Replies)
Discussion started by: wessy
5. Shell Programming and Scripting
How can I check if array is in ascending order?
---------- Post updated at 01:53 PM ---------- Previous update was at 01:25 PM ----------
Done it now (0 Replies)
Discussion started by: kristinu
6. Shell Programming and Scripting
I am very new to unix as well as shell scripting. I have to write a script for the following requirement.
In a particular mount, have to list all the directories and sub directories along with size of the directory and sub directory in ascending order.
Please help me in this regard and many... (4 Replies)
Discussion started by: nmakkena
7. UNIX for Advanced & Expert Users
I want to merge two files in ascending order on the first field. And if the first field matches sort on 3rd field i.e, TXADDR should come ahead of RXADDR .
9 : TXADDR : 00000000
65 : TXDATA 0000000000000011
83 : TXDATA 0000000000000012
453 :... (10 Replies)
Discussion started by: user_prady
8. Shell Programming and Scripting
I appreciate all the help that I've already received but am running into one problem. I can find how to add something before a file with ascending numbers but not like this. I basically have a file that looks like this:
I need to add the following before each line with... (5 Replies)
Discussion started by: kerpm
9. UNIX for Advanced & Expert Users
i want to display modified files in descending order. "ls -t" will display modified files in descending order.
pls help. (1 Reply)
Discussion started by: balareddy
10. UNIX for Dummies Questions & Answers
What's the command to sort a file in ascending order and redirect the output to another file?
Thanks!!!!!! (1 Reply)
Discussion started by: gyik