10-19-2000
HI,
Thanks for replying but it's not working - when I run the script nothing happens!
What's wrong?
Pleas help again,
b
10 More Discussions You Might Find Interesting
1. 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
2. Programming
Hi,
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)
my code:
Dir *dirp;
struct... (3 Replies)
Discussion started by: AkumaTay
3 Replies
3. Solaris
Hi experts,
I have several hundred files for everyday each month (below example is September)-
PP023149200709010546.......PP028023200709012300
PP023150200709020023.......PP026096200709022134
..
..
PP021256200709201920.......PP025576200709202218
..
..... (3 Replies)
Discussion started by: thepurple
3 Replies
4. 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
2 Replies
5. Shell Programming and Scripting
Hi,
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
./xyz/abc.txt
./xyz/hij.txt
I want an output as below
abc.txt
hij.txt
i.e I want to delete everything before abc.txt
Please help me out if any one has... (4 Replies)
Discussion started by: spark
4 Replies
6. AIX
Hi,
I have a server running AIX 5.3.0.0 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
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
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
9 Replies
8. 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
9. Shell Programming and Scripting
Legends,
I have following contents in the file and i want to list out non-zero values only out of it.
OPge1 03
OPge10 121
OPge11 3
OPCge12 0
OPCge13 0
OPge14 25
OPC15 0
I am using following loop; but not getting desired results
for line in `cat /tmp/raw`
do
Name=`echo $line |... (4 Replies)
Discussion started by: sdosanjh
4 Replies
10. 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
5 Replies
rc3(8) System Manager's Manual rc3(8)
NAME
rc3 - Run command script executed when entering a multiuser run level
SYNOPSIS
rc3
DESCRIPTION
The rc3 script contains run commands that enable initialization of the system to a multiuser state; run level 3. In addition to commands
listed within the script itself, rc3 contains instructions to run certain commands found in the /sbin/rc3.d directory. The script defines
the conditions under which the commands execute; some commands run if the system is booting, other commands execute if the system is chang-
ing run levels.
By convention, files in the rc3.d directory begin with either the letter "S" or the letter "K" and are followed by a two-digit number and a
filename; for example: S00inet S55inetd S70mount S65lpd
In general, the system starts commands that begin with the letter "S" and stops commands that begin with the letter "K." Commands that
begin with the letter "K" run only when the system is changing run levels from a higher to a lower level. Commands that begin with the
letter "S" run in all cases. The numbering of commands in the /sbin/rc3.d directory is important since the numbers are sorted and the com-
mands are run in ascending order. Files in the /sbin/rc3.d directory are normally links to files in the /etc/init.d directory.
An entry in the inittab file causes the system to execute the rc3 run commands, for example: s3:3:wait:/sbin/rc3 < /dev/console > /dev/con-
sole 2>&1
The following operations are typical of those that result from executing the rc3 script and the commands located in the /sbin/rc3.d direc-
tory. The operation depends on which state the system is entering or exiting. Setting the time zone Checking the current run level Start-
ing network services and daemons Starting (or stopping) system services and daemons Mounting file systems
Setting the TIMEZONE variable is one of the first operations completed by the rc3 script. This action provides the default time zone for
subsequent commands.
FILES
Specifies the command path Specifies the directory of commands that correspond to the run level
RELATED INFORMATION
Commands: init(8), rc0(8), rc2(8) delim off
rc3(8)