10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Greetings.
I'm on section 2.7 Including Other Files into Your Program in "The GNU Awk User’s Guide". I am on HP-UX POSIX running GNU Awk 3.1.0
I have written Test1.awk and Test2.awk as shown here:
$cat test1.awk
BEGIN {
print "This is script test1.\n"
}
$cat test2.awk ... (2 Replies)
Discussion started by: RUCerius
2 Replies
2. Linux
Can someone translate this code to .bat for me? I have no clue.
#!/bin/sh
WAS_HOME="/opt/websphere/appserver/profiles/AppSrv01"
WAS_APP_SERVER="server1"
WAS_PROFILE_NAME="AppSrv01"
echo "Stopping App Server"
"${WAS_HOME}/bin/stopServer.sh" -profileName $WAS_PROFILE_NAME $WAS_APP_SERVER... (1 Reply)
Discussion started by: Blogger11
1 Replies
3. Shell Programming and Scripting
First off, let me apologize if I'm posting this in the wrong place!
I am a newbie to this forum, to shell scripting and to Linux so please bare with me.
I created a script on the windows environment that makes a call to a java application and extracts a return value from the java app. It... (7 Replies)
Discussion started by: arod291
7 Replies
4. Shell Programming and Scripting
I need to put/get files from Windows machine to Unix machine and vice-versa.
I wrote a text file "ftp1.txt" as below.
naga
naga06
cd /root/Naga
prom off
get time.unl
bye
I wrote another bat file "ftp.bat" as below.
ftp -n -s:C:\Users\Naga\Desktop\ftp1.txt IP_ADDRESS
but... (2 Replies)
Discussion started by: Naga06
2 Replies
5. Shell Programming and Scripting
I have serverfiles of same game. and there are bat files. I wont to run this on debian.
The files are difficult, eg
:########################################################################
:# File name: server_start.bat
:# Edited Last By: Mike Gleaves (ric)
:# V 1.0 1-10-2008
:# Comment:... (5 Replies)
Discussion started by: Qentinios
5 Replies
6. Windows & DOS: Issues & Discussions
hi
I need to rediret an content of one file and append it to another file. I need it in .bat script. I tried this,
first.txt
I love to write script
type first.txt >> out.txt
type first.txt >> out.txt
out.txt
I love to write scriptI love to write script
you see the... (6 Replies)
Discussion started by: ilugopal
6 Replies
7. Shell Programming and Scripting
hi
I need to rediret an content of one file and append it to another file. I need it in .bat script. I tried this,
first.txt
I love to write script
type first.txt >> out.txt
type first.txt >> out.txt
out.txt
I love to write scriptI love to write script
you see the second... (1 Reply)
Discussion started by: ilugopal
1 Replies
8. Shell Programming and Scripting
Hi,
We are having igawk statement calling gawk function and processing a master file, each gawk function have rules and action. We are using associative array to keep the output of each rule and finally printing the associative array. We are seeing the memory is growing incrementally in TOP... (1 Reply)
Discussion started by: satvelucbe
1 Replies
9. Windows & DOS: Issues & Discussions
Hi!
I'm very sorry for such simple and silly question but I cannot answer it by myself.
Can you please help me?
In .bat file I should run the C program which is in other directory, and the input configuration file is in this directory too.
This dir name is in dirRun variable. The... (3 Replies)
Discussion started by: Anta
3 Replies
10. UNIX for Dummies Questions & Answers
Hi, can you run a windows bat file or a VBscript from a shell script?
#!/bin/sh
PATH=/
$PATH/test.bat (1 Reply)
Discussion started by: cmac
1 Replies