10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
First post on here. So I use csh shells for my research (physics... not a CS person). I am trying to rerun the same scripts, but there are ~10 files that have similar variables that I have to change for each different configuration, so I would like one central file for the variables I change that... (3 Replies)
Discussion started by: sabrepride
3 Replies
2. SCO
Installing SCO UNIX 507 on Dell Poweredge T610. It has no floppy so I downloaded the BTLD onto CD from SCO site to load without floppy drive. BTLD loads ok. when i get to the Media to be used, no matter what option i chose i get the error: No controller for device you have chosen. During bootup you... (9 Replies)
Discussion started by: romanglad112
9 Replies
3. Hardware
Hi,
We have a Sunfire 4150 with On-Board Internal Raid Controller connected to 4 X 146 GB SAS disks.
This also has an External Raid Controller (Storagetek Eight-Port, External HBA
Model SG-XPCIESAS-R-EXT-Z) connected to a JBOD array ( Storagetek XTA2530 ) which has 5 X 300 GB Hard disk.
... (1 Reply)
Discussion started by: ranjansukumar
1 Replies
4. SCO
I'm "attempting" to install SCO 5.0.7 on an HP ML370 G4 server and am ready to bash the keyboard with head now. I keep getting the error message "WARNING hd: no root disk controller found" when running the bootable install cd.
I have a raid 5 array with an online spare created using 4 36.3 GB... (2 Replies)
Discussion started by: FrictionBurn
2 Replies
5. Shell Programming and Scripting
Hi,
I had a scripts which calls two function. One function will call another function, script is working fine but the second function is not calling the first function. Below is the script
#!/usr/bin/ksh
fun1() {
echo $DATETIME >> Test1.ksh
return 0
}
fun2() {
typeset DATETIME=`date... (5 Replies)
Discussion started by: somu_june
5 Replies
6. Shell Programming and Scripting
Hi ,
Here is my piece of code--
main();
sub main
{
$result = GetOptions ("LogDir=s" => \$LogDir,
"Summary" => \$Summary,
"Indiviual=s" => \$Individual ,
"Diagnostics=s" => \$Diagnostics,
... (1 Reply)
Discussion started by: namishtiwari
1 Replies
7. AIX
Hi,
I'd like to share this...
I see all the luns on my aix when I do lspv, 10 of them, configured by the san contractor. I defined the first sanvg no problem, the second one no problem, but the third got problem and so on. It's random after the second, I think. The error is 0516-024 mkvg:... (5 Replies)
Discussion started by: itik
5 Replies
8. Shell Programming and Scripting
please help:
I want to append the word "world" after every line that ends with hello:
$cat file
hello
hello$ sed '/hello/ a world' file
sed: Function /hello/ a world cannot be parsed.
What's wrong with the above command??
If a hit a new line it works:
$ sed '/hello/ a\
> world' file... (1 Reply)
Discussion started by: andy2000
1 Replies
9. Shell Programming and Scripting
Hi all,
I am calling one shell script from other ...as follow
---calling_proc---code
line_no=10
proc_name='test'
echo "set verify off feedback off pagesize 0
select count(*) from tp_mpolicy2 " | sqlplus -s/@CMKT | read cnt
if ; then
export $line_no $proc_name
global_proc... (2 Replies)
Discussion started by: dhananjaysk
2 Replies
10. Shell Programming and Scripting
Hi,
we can call the subroutines using two ways ....
1) calling subroutine name preceeded by & symbol.
2)Another one is without &symbol....
what is the diff b/w these two....
############################
#usr/bin/perl
fun;
sub fun
{
print "hi this is from perl\n";
}... (1 Reply)
Discussion started by: sarwan
1 Replies