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. UNIX for Advanced & Expert Users
I have the three following files available in the directory. But the job should be able to read only the first two files. Could any one help me in writing command to list only the first two files and omit the last file. I used ls -1 LSM_REP* > final.lst. It is copying all the three files. But I... (5 Replies)
Discussion started by: Ram Nukavarapu
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 make an unix script which create a file with the name and the date of creation of the different files that there are in a directory.
Can do you please help me?
Thank you in advance. (3 Replies)
Discussion started by: Jfka
5. 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
6. Shell Programming and Scripting
if i am having files as below in a directory----
-rwxrwxrwx 1 dsadm dstage 43 Nov 21 2005 CheckfreeFtpSeq.err
-rwxrwxrwx 1 dsadm dstage 37 Jun 22 2007 EDIRemitVendorAdviceSeq.log
-rwxrwxrwx 1 dsadm dstage 43 Jun 22 2007 EDIRemitVendorAdviceSeq.err... (2 Replies)
Discussion started by: Sagarddd
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
9. 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
10. UNIX for Dummies Questions & Answers
I can't seem to list all the files that begin with a lower case or upper case letter between a-m while being in that directory?
Please help I've tried everything from all the ls commands to even grep commands.
b (5 Replies)
Discussion started by: Astudent