10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
help me (2 Replies)
Discussion started by: sonu pandey
2 Replies
2. Shell Programming and Scripting
Hi All,
I wrote below script
for i in `ls`
do
echo "list of files $i"
done
but i want display as like ls -ltr,it's displaying as one column
Thanks (14 Replies)
Discussion started by: bmk
14 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Could you please help to resolve my following issues:
Problem Description:
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
8 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
Whenever i try to execute ls with l as an option the system hangs.
The workload on server is not more than 1.
What could be the reason .
Normal ls works fine but ls -l causes the system to hang.
This is happening when i m in /usr/local/sbin directory.
I can see that the... (4 Replies)
Discussion started by: pinga123
4 Replies
5. Solaris
Hi ,
Server details –
Machine hardware: sun4u
OS version: 5.9
Processor type: sparc
Hardware: SUNW,Sun-Fire-880
When I put ls –ltr command I get –
/users/testuser> ls -ltr
-rw-rw-r-- 1 testuser dba 76 Jan 13 2009 ftp.scr
-rwxr-xr-x 1... (6 Replies)
Discussion started by: rahulbahulekar
6 Replies
6. Shell Programming and Scripting
I am writing a script where in i have to log into a remote machine and check for necessary file by typing (ls -ltr *200505) (this gets all 05month of 2008 yr files) and if files are found get them to the local machine. If not found print a message saying no files on local machine.
When i was... (2 Replies)
Discussion started by: vasuarjula
2 Replies
7. Shell Programming and Scripting
i have to list some file with certain exemption
suppose for example i have two files
file1.log.1
file1.log.1.123
i want ls -ltr command to list only 1st type of files
so i want like this
ls -ltr *.log.*---------it should grep 1st kind of files but this command greps all the files... (4 Replies)
Discussion started by: ali560045
4 Replies
8. UNIX for Advanced & Expert Users
when I write the command ls -ltr it shows the detail of the files. Like
-rwxrwxrwx 1 mqsiadm mqbrkrs 0 Aug 29 14:03 dspmq_temp
-rwxrwxrwx 1 mqsiadm mqbrkrs 666 Aug 30 06:12 dspmq_script
In this,DATE TIME is shown, Now the question is : how can I see the all the times... (5 Replies)
Discussion started by: varungupta
5 Replies
9. UNIX for Dummies Questions & Answers
Hi,
THe following is the output when i run the command ls -ltr
can anyone explain the meaning of the field in red
-rw-r----- 3 orca orca 20924 Sep 08 19:21 BTL027SASI.gnt
-rw-r----- 3 orca orca 20924 Sep 08 19:21 BTL027RITD.gnt
-rw-r----- 3 orca orca ... (2 Replies)
Discussion started by: ranjita.c
2 Replies
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
4 Replies