07-24-2008
My OS is red hat linux 8.0
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Sir,
Now I use oracle database on AIX server and found some user use iligal program such as development tool logon to my database.
I want to detect the process of illegal program and kill it.
Could you please suggest me to make detect process.
Thank you very much
Pkanonwe. (2 Replies)
Discussion started by: pkanonwe
2 Replies
2. Shell Programming and Scripting
i have this script that launches multiple xterm sessionon a CDE. i would like to test the xterm so that when i execute the script using an ordinary terminal it will detect that it will unable to launch the xterm and execute other script instead.
i tried using trap and exit status. maybe i am... (2 Replies)
Discussion started by: inquirer
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I would like to programmatically find if given OS is SLES 10 / RHEL 3/.RHEL 4/RHEL5 etc ..
For this do we have any library call/sys call? Or should we use any sys. structure which would give me detailed info. Share me if you have any pointers.
Thanks in advance
- Krishna (1 Reply)
Discussion started by: krishnamurthig
1 Replies
4. Shell Programming and Scripting
Hi all
Just curious , is it possible to detect changes in a file and sent to email .
For ex: demo.conf
I would like to receive an email everytime a particular file(demo.conf) changes and the content added/removed and who did the change (userid). Is it possible.
Thanks
CK (4 Replies)
Discussion started by: coolkid
4 Replies
5. Shell Programming and Scripting
Hello friends,
I want to write a shell script in bash shell .
Working for the script is to detect any key pressed and disply on screen as
"you have pressed: "
For example if user pressed F5 then a messaged has to be displayed as
"you have pressed F5.
Thank you. (4 Replies)
Discussion started by: pradeepreddy
4 Replies
6. Programming
Hello everyone. Thanks for reading. I am using Ubuntu 7.04 to experience this problem:
I have written my own programs that communicate to eachother and I am having a hard time detecting a TCP socket disconnect when the remote side's computer has a power-failure (for example).
On the computer... (6 Replies)
Discussion started by: pjwhite
6 Replies
7. Red Hat
Hi,
Is there command to detect the newly added LUN is linux box. I tried with below commands, but that doesn't work out.
fdisk -l,
fdisk -l | grep Disk
pvscan (5 Replies)
Discussion started by: gsiva
5 Replies
8. Shell Programming and Scripting
Dear All,
My server is running crontabs of 4 different users.
I want to develop a script that whenever a particular change occurs in a crontab , it is detected and the particular change is noted into a file.
Kindly let me know of suggestions on how it can be achieved.
My algo would be:
... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
9. Shell Programming and Scripting
whats the equivalent of detect OS in perl with an if then ?
platform='uname'
if ]; then
alias ls='ls --color=auto'
elif ]; then
alias ls='ls -G'
fi
In perl I see
perl -Mstrict -MEnglish -E 'say $OSNAME'
or
print "$^O"
Please use CODE tags as required by... (1 Reply)
Discussion started by: nixguynj
1 Replies
LEARN ABOUT OPENSOLARIS
mkcd
mkcd(1M) System Administration Commands mkcd(1M)
NAME
mkcd - create bootable Solaris ISO image
SYNOPSIS
/usr/bin/mkcd -v [-l label] media-root iso
DESCRIPTION
The mkcd utility takes media-root (the root of an on-disk Solaris install media) as input and creates a bootable Solaris ISO image in the
file iso, using mkisofs(8). The file can then be burned onto a CD/DVD with utilities such as cdrw(1) or cdrecord(1). (Neither mkisofs(8)
nor cdrecord(1) are SunOS man pages.)
Caution -
The directory tree media-root must contain the file boot/grub/stage2_eltorito, which will be written to the media boot sectors. This file
will be modified with some boot information, thus it must be writable. If necessary, first save a copy prior to running this utility.
OPTIONS
The following options are supported:
-l label
Sets label as the label/volume name of the ISO image.
-v
Verbose. Multiple -v options increase verbosity.
OPERANDS
The following operands are supported:
media-root
Top-level directory of an on-disk Solaris install media.
iso
Name of the output file which will contain the resulting ISO image.
EXAMPLES
Example 1 Creating an ISO Image and Burning a CD/DVD
The following commands create an ISO image from the content of s10u1 and burn the image to a CD/DVD.
# /usr/bin/mkcd s10u1 s10u1.iso
# /usr/bin/cdrw -i s10u1.iso
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO
cdrw(1), attributes(5)
mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package (not a SunOS man page)
SunOS 5.11 25 Jul 2008 mkcd(1M)