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 have a problem . I have few directories like inpTDT_1, inpTDT_2, inpTDT_3 and so on inside HOME directory . In one of my perl script (which is in my HOME), the above directories like inpTDT_1, inpTDT_2, inpTDT_3 are sorting out in an order So I wanted to sort all the inpTDT_1, inpTDT_2,... (1 Reply)
Discussion started by: venkatesh
3. Shell Programming and Scripting
I need to list files in ascending order. Filenames are in format inpTDT_1, inpTDT_2, inpTDT_3 and so on.
I want to list them in the ascending order based on the digit after underscore and send the output to a file.
Please help (5 Replies)
Discussion started by: Neelkanth
4. UNIX for Dummies Questions & Answers
It is for HP-Unix B.11.31.
1. List the directories, having given pattern in the directories name, sorted by creation date.
Example: Directories with name "pkg32*" or "pkg33*"
2. On the output of 1. list the directories by creation date as sort order, with creation date... (2 Replies)
Discussion started by: Siva SQL
5. 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
6. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7. 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
8. UNIX for Dummies Questions & Answers
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Discussion started by: pointers
i have appliction which runs on all servers in background and creates log at one particular place /tmp/ABCD/logs on all servers. and we hosted one website for internal purpose on one of the server say server A.
now problem is when this job compiles code and writes in log ppl do not go... (1 Reply)
Discussion started by: zedex
10. UNIX for Dummies Questions & Answers
How do I list files of type "*.file" for example by size order recursively ? (2 Replies)
Discussion started by: ferretman