9 More Discussions You Might Find Interesting
1. Solaris
Hi Guys,
I use a script sdcmdeploy.ksh to deploy java application to respective dev/test environment. This script is being executed on SunOS. These apps are weblogic apps & the script internally calls weblogic deploy script to deploy application to weblogic cluster.
But at this point it... (2 Replies)
Discussion started by: raj100
2 Replies
2. Shell Programming and Scripting
Hi
I have a program
int main(int srgc, char *argv)
{
for(int i=1; i<50; i++)
{
system("dd if=/dev/zero of=file$i bs=1024 count=$i");
}
return 0;
}
My doubt is how to use the "$i" value inside C code
Please help (2 Replies)
Discussion started by: Priya Amaresh
2 Replies
3. Shell Programming and Scripting
Hi,
I have coded a program in Haskell using the compiler Hugs and the program requires multiple commands (with parameters) to be entered into it, it then outputs the result of its execution. I need to test a lot of different options (i.e. the parameters) so it would be obvious to automate the... (0 Replies)
Discussion started by: tz742
0 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I am using the below command to find the latest file in a dir:
ls -tr $v_sftphomedir/$v_sourcefile |tail -1
or
ls -t1 $v_sftphomedir/$v_sourcefile |head -1
and the outpur returned is below:
/home/cobr_sftp/var/controllingload/Backup/Dbrwds_Div_1796050246.txt
I need only the... (5 Replies)
Discussion started by: abhi_123
5 Replies
5. Fedora
hello everyone,
I have Matlab installed on Fedora 16. I tried running it by simply typing on terminal:
$ matlabBut it returned the follwoing error:
--- can anyone suggest a solution?
cheers,
peter
---------- Post updated at 10:57 PM ---------- Previous update was at 10:54 PM ----------... (1 Reply)
Discussion started by: peter_071
1 Replies
6. UNIX for Dummies Questions & Answers
hi,
want to create script that takes name of directory and all files and will copy each file to new directory.
then fix errors like files do not exist or no permission to create new directory...
these what I have so far...
#!/bin/sh
dir=~/Documents/Scripts/Copy
for i in $(pwd) $(ls)... (23 Replies)
Discussion started by: me.
23 Replies
7. HP-UX
Hi Everyone,
My var directory is showing near to 100% ? What are the files should i delete to make it less??
Kindly suggest
# bdf -i
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/vg00/lvol3 1048576 107616 933616 10% 3342 29394 10% /... (10 Replies)
Discussion started by: yadvinder
10 Replies
8. UNIX for Dummies Questions & Answers
Hello, I know this isn't exactly a Unix question, but I wasn't able to find much information elsewhere.
I'm trying to run a program in the background using Cygwin on a Windows machine, then use the wait command to pause before proceeding. Unfortunately, as I've confirmed using ps aux, the... (0 Replies)
Discussion started by: ocdcollector
0 Replies
9. Shell Programming and Scripting
I saw someone use this line and sometimes I see it interchanged with EOF which I understand to mean end of file. What is the purpose of this usage?
cat something <<EOT
something else
EOT (2 Replies)
Discussion started by: glev2005
2 Replies