10-21-2015
As I said, the file works perfectly and there is no need to change it at this point. The command make a mess.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have been given a perl script to modify but which is not running completely.And it is not showing any errors also.
The script is :
#!/usr/local/bin/perl
print "Which transaction? ";
print "\n";
print "1 - Inquiry";
print "\n";
print "2 - Delete Bank";
print "\n";
print... (8 Replies)
Discussion started by: usha rao
8 Replies
2. Shell Programming and Scripting
Hi,
I want to run a Perl script on multiple files, with same name ("Data.txt") but in different directories (eg : 2010_06_09_A/Data.txt, 2010_06_09_B/Data.txt).
I know how to run this perl script on files in the same directory like:
for $i in *.txt
do
perl myscript.pl $i > $i.new... (8 Replies)
Discussion started by: ad23
8 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Discussion started by: pointers
3 Replies
4. Shell Programming and Scripting
Hi legends,
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh... (1 Reply)
Discussion started by: anishkumarv
1 Replies
5. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies
6. Shell Programming and Scripting
Hi all,
I have more than 12000 files in 46 different directories and each directory has 2 sub-directories named “dat” or “gridded”. Dat sub-directories have files with extension “jpg.dat” and gridded sub-directories have files with extension “.jpg”.
I need to... (1 Reply)
Discussion started by: AshwaniSharma09
1 Replies
7. Shell Programming and Scripting
Hi
I have 100 files under file A labled 1.txt 2.txt.....100.txt(made up name)
I have 1 files under file B labled name.txt
How can i run the same perl script on 100 files and file name.txt
I want to run
perl script.pl A/1.txt B/name.txt
perl script.pl A/2.txt B/name.txt
.......
perl... (3 Replies)
Discussion started by: grace_shen
3 Replies
8. Shell Programming and Scripting
Hi All,
I would like to use a Perl (not Bash) script to work with multiple files of the same name in different directories (all in the same parent directory). I tried to create a loop to do so, but it isn't working.
My code so far:
while (defined(my $file = glob("./*/filename.txt")) or... (1 Reply)
Discussion started by: elgo4
1 Replies
9. Shell Programming and Scripting
how can i move "dataName".sql.gz into a folder called 'database' and then move "$fileName".tar.gz * .htaccess into a folder called 'www' with the entire gzipped file being "$fileName".tar.gz? Is this doable or overly complex.
so
mydemo--2015-03-23-1500.tar.gz
> database
-... (5 Replies)
Discussion started by: wyclef
5 Replies
LEARN ABOUT DEBIAN
ltpdriver
LTPDRIVER(1) LTP executables LTPDRIVER(1)
NAME
ltpdriver - LTP transmission test program
SYNOPSIS
ltpdriver remoteEngineNbr clientId nbrOfCycles greenLength [ totalLength]
DESCRIPTION
ltpdriver uses LTP to send nbrOfCycles service data units of length indicated by totalLength, of which the trailing greenLength bytes are
sent unreliably, to the ltpcounter client service process for client service number clientId attached to the remote LTP engine identified
by remoteEngineNbr. If omitted, length defaults to 60000. If length is 1, the sizes of the transmitted service data units will be
randomly selected multiples of 1024 in the range 1024 to 62464.
Whenever the size of the transmitted service data unit is less than or equal to greenLength, the entire SDU is sent unreliably.
When all copies of the file have been sent, ltpdriver prints a performance report.
EXIT STATUS
0 ltpdriver has terminated. Any problems encountered during operation will be noted in the ion.log log file.
1 ltpdriver was unable to start, because it could not attach to the LTP protocol on the local node. Run ltpadmin to start LTP, then try
again.
FILES
The service data units transmitted by ltpdriver are sequences of text obtained from a file in the current working directory named
"ltpdriverAduFile", which ltpdriver creates automatically.
ENVIRONMENT
No environment variables apply.
DIAGNOSTICS
Diagnostic messages produced by ltpdriver are written to the ION log file ion.log.
ltpdriver can't initialize LTP.
ltpadmin has not yet initialized LTP protocol operations.
Can't create ADU file
Operating system error. Check errtext, correct problem, and rerun.
Error writing to ADU file
Operating system error. Check errtext, correct problem, and rerun.
ltpdriver can't create file ref.
ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
ltpdriver can't create ZCO.
ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
ltpdriver can't send message.
LTP span to the remote engine has been stopped.
ltp_send failed.
LTP system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
BUGS
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu>
SEE ALSO
ltpadmin(1), ltpcounter(1), ltp(3)
perl v5.14.2 2012-05-25 LTPDRIVER(1)