10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a quick question which must be deferred to those with greater skill than myself :)
In this situation, I wish to create a list of all the files on an entire partition in descending order sorted by date. I tried numerous switches for ls, and found this line to be the closest... (4 Replies)
Discussion started by: LinQ
2. Shell Programming and Scripting
I have following contents in the file and i want to list out non-zero values only out of it.
I am using following loop; but not getting desired results
for line in `cat /tmp/raw`
Name=`echo $line |... (4 Replies)
Discussion started by: sdosanjh
3. UNIX for Dummies Questions & Answers
Could you please help to resolve my following issues:
Suppose my user name is "MI90".
i.e. $USER = MI90
when i run below command, i get all the processes running on the system containing name MQ.
ps -ef | grep MQ
But sometimes it lists... (8 Replies)
Discussion started by: KDMishra
4. UNIX for Dummies Questions & Answers
I want to list out the files for a particular date recursively along with timestamp and directory name .
I tried using command
ls -lRt this list out all the files along with directory structure
but i want for a particular date so i tried with
ls -lRt | grep 20110809
in... (9 Replies)
Discussion started by: Abhi2910
I have a server running AIX 188.8.131.52 ML 5, and on two occasions have seen issues where when the client side executes an 'ls', the output doesn't return all files (there is no difference in permissions between a file that can be listed, and a file that can't be listed), and I'm using the... (4 Replies)
Discussion started by: RichGreen
6. Shell Programming and Scripting
I am trying to get a file name only. Could anyone help me on the same.
Meaning I have a file say list.out which holds below output
I want an output as below
i.e I want to delete everything before abc.txt
Please help me out if any one has... (4 Replies)
Discussion started by: spark
I have several hundred files for everyday each month (below example is September)-
..... (3 Replies)
Discussion started by: thepurple
8. Shell Programming and Scripting
If i use ls to list file, the output will be like this:
list1.txt list2.txt list3.txt list4.txt list5.txt
How can I list file like below (I tried to us ls -ltr list*.txt, but all of them with time, date in font of the file...but I don't need it)?
list1.txt... (3 Replies)
Discussion started by: happyv
From a Unix book, i'd found that the way to list files in a directory.
But those file info are all not shown, wat is shown is only the file name.
Can anyone pls teach me how to show the file details?
(etc file size, read/write permission, modified date)
struct... (3 Replies)
Discussion started by: AkumaTay
10. UNIX for Dummies Questions & Answers
Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Discussion started by: psingh