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
heckle
HECKLE(1) User Commands HECKLE(1)NAME
heckle - mutate Ruby code and run test
SYNOPSIS
heckle class_name [method_name]
DESCRIPTION
`heckle' is a mutation tester. It modifies your code and runs your tests to make sure they fail. The idea is that if code can be changed
and your tests don't notice, either that code isn't being covered or it doesn't do anything.
-v, --verbose
Loudly explain heckle run
-V, --version
Prints Heckle's version number
-t, --tests TEST_PATTERN
Location of tests (glob)
-F, --force
Ignore initial test failures
Best used with --focus
--assignments
Only mutate assignments
-b, --branches
Only mutate branches
-f, --focus
Apply the eye of sauron
-T, --timeout SECONDS
The maximum time for a test run in seconds
Used to catch infinite loops
-n, --nodes NODES
Nodes to mutate
Possible values: call, cvasgn ,dasgn, dasgn_curr, false, gasgn, iasgn, if, iter, lasgn, lit, str, true, until, while
-x, --exclude-nodes NODES
Nodes to exclude
-h, --help
Show this message
heckle 1.4.3 June 2012 HECKLE(1)