04-17-2008
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to pass arguments to a sh program and I want to use these arguments in the program as variables?
Will I use argc and argv in a main function can anyone around me write the full code please
for example when I write in th command
sh myprogram.sh argument1 argument2
I want to use... (1 Reply)
Discussion started by: walnut
1 Replies
2. AIX
Hi,
I have an AIX 4.3 H80 running oracle 8i.
My /(ROOT) partion is mounted seperately from others (/usr, /var, /tmp, etc)
However, the partion fills up almost nightly.
Appreciate any ideas that'll help solve my problem.
Thank you. (1 Reply)
Discussion started by: svjn
1 Replies
3. Shell Programming and Scripting
Still trying to get the basics down and I would like a different solution to what I'm currently doing and a better understanding of why it's happening. I've written a simple backup script that tars individual directories and then dumps them to a NFS drive. STDERR is being dumped into a process... (2 Replies)
Discussion started by: mandelbrot333
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am in /home/development/project/abc directory. Now I want to remove one file which is kept in /trial/dev/<file> directory.
I would like to do it in one command.
I tried changing directory in one command like:
pwd
/home/development/project/abc
cd ~/trial/dev/
bash: no command... (2 Replies)
Discussion started by: palak08
2 Replies
5. Shell Programming and Scripting
Hello,
Have been trying to develop a script that reads a string from an input file then looks up that string in a reference file to get a number, then inset that number back into the original file at a certain point (_____):
Input File:
HARRY JON _____ AA M N
PETER PIE ... (8 Replies)
Discussion started by: dendright
8 Replies
6. Shell Programming and Scripting
Hello everyone!
I am new here and by new i don't mean only in this place, but in this shell scripting area. I started learning about Operation Systems only 2 months ago.
I want to learn more but i found a problem which I don't really know how to solve. :confused:
I have a directory with 4... (2 Replies)
Discussion started by: Stripes07
2 Replies
7. Solaris
Hi guys,
one of my services in solaris 10 is in maintenance mode. When I checked why, the reason is that the service is "restarting too quickly."
# svcs -x svc:/application/management/snmpdx:default
svc:/application/management/snmpdx:default (Sun Solstice Enterprise Master Agent)
State:... (2 Replies)
Discussion started by: cjashu
2 Replies
LEARN ABOUT MOJAVE
ucblinks
ucblinks(1B) SunOS/BSD Compatibility Package Commands ucblinks(1B)
NAME
ucblinks - adds /dev entries to give SunOS 4.x compatible names to SunOS 5.x devices
SYNOPSIS
/usr/ucb/ucblinks [-e rulebase] [-r rootdir]
DESCRIPTION
ucblinks creates symbolic links under the /dev directory for devices whose SunOS 5.x names differ from their SunOS 4.x names. Where possi-
ble, these symbolic links point to the device's SunOS 5.x name rather than to the actual /devices entry.
ucblinks does not remove unneeded compatibility links; these must be removed by hand.
ucblinks should be called each time the system is reconfiguration-booted, after any new SunOS 5.x links that are needed have been created,
since the reconfiguration may have resulted in more compatibility names being needed.
In releases prior to SunOS 5.4, ucblinks used a nawk rule-base to construct the SunOS 4.x compatible names. ucblinks no longer uses nawk
for the default operation, although nawk rule-bases can still be specifed with the -e option. The nawk rule-base equivalent to the SunOS
5.4 default operation can be found in /usr/ucblib/ucblinks.awk.
OPTIONS
-e rulebase Specify rulebase as the file containing nawk(1) pattern-action statements.
-r rootdir Specify rootdir as the directory under which dev and devices will be found, rather than the standard root directory /.
FILES
/usr/ucblib/ucblinks.awk sample rule-base for compatibility links
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
devlinks(1M), disks(1M), ports(1M), tapes(1M), attributes(5)
SunOS 5.10 13 Apr 1994 ucblinks(1B)