Solaris 10 booting from EMC SAN DISK
Hi All, I have server : Sun-Fire-V490 configured with Solaris 10 zfs .. and I have configured three mirror the third one from EMC storage. PHP Code: root@server # zpool status -v  pool: rpool state:...
View ArticleProblem running a makefile
I have written this makefile and am getting an error saying Code: make nfd gfortran -O -Wall -fbacktrace -fno-align-commons -c -o fd.o fd.f fd.f:49: Error: Can't open included file 'fd.par' make: ***...
View ArticleEnabling Solaris Audit log: Solaris 9
Dear All, I have one of my Servers, running Solaris 9. I wanna enable the Audit log enabling, the way I did in Solaris 10 Servers. After running, the bsmconv script, giving the reboots, modifying all...
View ArticlePassword Protecting a File
Hi Guys, I am generating a csv file using a shell script in Unix. Please can you guys advise if I can also password protect the file. Best Regards, Shaz
View ArticleDVD to write
Hi , I am using Solaris 10 OS x86. I have brand new DVD wanted to mount the DVD and make the filesytem type as ufs instead of hsfs FS. And need to write the data. I tried /etc/init.d/volmgt start After...
View ArticleWhy doesnt if inside a while loop work ?
I am looping through a file in bash and performing some operations on it. Here is the code. cat test.dat - One Two Three Case 1: With if inside while loop Quote: #!/bin/bash cat ~/tmp/test.dat | while...
View ArticleRocks cluster 6.1 and MPICH2 problem??????
Hey friends, I am trying to execute a simple hello world in mpi on MPICH2 on Rocks cluster. here is the c source code. Code: #include <mpi.h> #include <stdio.h> int main( int argc, char **...
View ArticleHow to find and move boot sectors?
Hi A mismatch occurred on my system (Debian, Sid). I've got 3 disks sda, b, c. Unfortunately, when I was adding a third disk (sdc) it all finished so that both sdb and sdc now have a boot flag. So, the...
View ArticleUNIX mail and wrapping
Greetings, I am by no means a Unix expert and hope that someone here can help me out. I am sending an email from within a Progress character program. This works fine. My issue is that I would like to...
View ArticleDate to Day in loop
Hi All, I have a file in the following format.I need to pick up 25th field which is a date and convert it into a day and add it as a field in the file. Code: "AAGENAS,PEARL...
View ArticleHow can I get rid of this error?
Hi, I have a quick question about sed and the r (read) command, whenever I use it on my mac I get an error that says sed: \r: No such file or directory. Although the script works fine and behaves as it...
View ArticleThe Start Of A Simple Audio Scope Shell Script...
This is a DEMO shell script to generate a simple graticule and plot inside it... Apologies for any typos... it is another building block along with my other two shell uploads recently to start a...
View ArticleFind command to search and delete files older than 1 days at a desired location
Hello All, Can someone please help me out in creating the find command to search and delete files older than 1 days at a desired location. Thanks in advance for your help.
View ArticleUsing UNIX command in perl script.
I wish to know if there is any limitation in using unix commands in perl script or it is just we should avoid using them in our perl script. For e.g Below is the command to get the recent file in a...
View ArticleMerging rows in awk
Hello, I have a data format as follows: Code: Ind1 0 1 2 Ind1 0 2 1 Ind2 1 1 0 Ind2 2 2 0 I want to use AWK to have this output: Code: Ind1 00 12 21 Ind2 12 12 00 That is to merge each two rows with...
View ArticleBuild Linux Desktop ?
Hi, Just trying to make a plan as to if this doable or not? Currently in the company all the desktop are Windows, users get MS-Word, some kind of Virus program. and all connected to Windows domain. If...
View ArticleBash - OR within an IF statement
Hey guys, Currently trying to write a wee script that runs only when logged in as one of two users. The rest of the script is working fine, but no matter what user I try to run it as, it always fails!...
View ArticleRouting Issue
we are not able to ping client server (falcon-ebr.sbms.bsc.com) from netbackup master server (135.179.96.122 tsprd-ebr.edc.single.net) However from client server we are able to ping the master Server....
View Articlesed print first line before regexp and all lines after
Hi All I'm trying to extract the line just above a regexp and all lines after this. I'm currently doing this in two steps Code: sed -n -e "/^+---/{g;p;}" -e h oldfile.txt > modified.txt sed -e...
View ArticleHow to use variables in 'sed' append command?
HELLO!! I'm trying to pass a variable with in the 'sed' command (which would add some piece of code to file at a particular line). We can use Code: sed '{line-number}a\ alfjaljf\ aslfjsfsjafl\...
View Article