Hi,
i want to create a text file (init${x}.ora) and write information to it via a korn shell script.
Is it right to do it as shown below (the file doesnt exist yet)?
x=$1
file="$ORC/dbs/init${x}.ora"
echo "info here..." >> $file
will this file get created? (2 Replies)
I am trying to create a new file(string) with todays date in a backup folder
string= `date '+%d%m%y'`
find * * * /home/SMB-2000/* -print |cpio -ovm > /home/bkups/$string
After excecuting I get the messege
# ./b2 ... (3 Replies)
hi
i am reading a directory, and reading those files one by one
i need to write some of file contents to a new file ,for this i need to create a new file for each file
please tell me how to create new file in shell script
thanks
Satya (4 Replies)
Hi ,
I have a text file text.txt which contains values as
ULTRA,OTHERS,Mumbai,16912
ULTIMATE,OTHERS,Mumbai,16913
ULTIMATIUM,OTHERS,Mumbai,16914
I want to read the file line by line and create insert scripts like
INSERT INTO TAB ( DESC,PLACE,NUMBER ) VALUES... (3 Replies)
I have a requirement, which is as follows
*. Folder contains list of xmls. Script has to create new xml files by copying the existing one and renaming it by appending "_pre.xml" at the end.
*. Each file has multiple <Name>fileName</Name> entry. The script has to find the first occurance of... (1 Reply)
hi,
How to create a log file of a script. Like spool does .
I want to create a log file of whatever the script is doing step wise.
like -xvf does or something better then that.
thanks ... (3 Replies)
Hi all
Below this is my script..I want to write the command to create a text file in my script below. If anyone know how to do...show me the result.I also want to do this script run automatically without type in terminal.
Thanks.
#!/usr/bin/sh... (6 Replies)
Hi to all,
I got this content/pattern from file http.log.20110808.gz
mail1 httpd: Account Notice: close igchung@abc.com 2011/8/7 7:37:36 0:00:03 0 0 1
mail1 httpd: Account Information: login sastria9@abc.com proxy sid=gFp4DLm5HnU
mail1 httpd: Account Notice: close sastria9@abc.com... (16 Replies)
I created a script that will go out and so a "/sbin/chkconfig --list | egrep XXX" against a server list that would create an output file like the following example:
----------------------------------------------------------------------------------
SERVER1
RC_Script_1 0:off 1:off 2:off... (4 Replies)
Hello all :)
Here is my code i try to complete:
address1="$(ssh root@$machine -x "lxc-info -n $machine-worker1 -H -i")"
if //ifthe file addrfile does not exist
then create the file addrfile
echo "$address1">"$addrfile"
fi
"$address1">"$addrfile"
How, can i... (4 Replies)
Discussion started by: chercheur111
4 Replies
LEARN ABOUT DEBIAN
lnptest2
lnptest2(1) General Commands Manual lnptest2(1)NAME
lnptest2 - LNP Client Test Application #2 (shorter test)
SYNOPSIS
lnptest2
DESCRIPTION
lnptest2 is an LNP Daemon test client used to test the connection between a client LNP program (in this case lnptest2) and the LNP daemon
through the Ir Tower to a corresponding test program running in an RCX. See the FILES section for the location of the RCX test program
source code (distributed with this package).
OPTIONS
lnptest2 does not support command-line options.
USAGE
To run the test:
- compile the lnptest2.c RCX program
- start the lnpd daemon
- download the lnptest2.lx program to the RCX
- at the RCX, run the program just downloaded to the RCX
- run this lnptest2 program
- inspect the output looking for lack of failure messages
FILES
/usr/share/doc/lnpd/examples/rcx
In this directory is the source to the RCX-side program which is called lnptest2.c but written to be compiled against BrickOS.
SEE ALSO lnptest(1), lnpdll(1), lnpd(8)
You can find additional documentation in /usr/share/doc/lnpd (on Debian GNU/Linux systems)
AUTHOR
lnptest2 was written by Michael Obenland <mobenland@users.sourceforge.net> This man page was written by Stephen M Moraco
<stephen@debian.org>
January 23, 2005 lnptest2(1)