So I have a .bat file that will connect to putty and execute the scripts in the path Documents\Heroes\e1_scripts.txt.
In the file e1_scripts.txt
I am just executing svn commands that I want instead of doing it manually to be executed from this external file. If I type manually in putty all this commands it works fine but whenever I execute from this .bat file and reading the scripts file, it is getting stop in the line
without proceeding with the next line.
I researched a little bit by looking that the $PATH variable if I run it manually opening putty is different than being executed from this external .bat file.
I have a person running a perl script that is parsing > 2G log files and pipes to cut -d " " -f 1,6,7,8...
The script itself is in a nfs mounted home directory. It runs fine when started from a solaris 8 box but fails after about 400 lines when started from the solaris 10 box. The solaris... (1 Reply)
Hey everyone,
A coworker of mine has written a csh script that starts with #!/usr/bin/csh -f. It's my understanding that the -f should skip the .cshrc and .login files, but here's the problem: In the script "line" is used, and I happen to have a "line" in my ~/bin. When the script is ran my... (4 Replies)
Hi
I'm writing a script and I've put #!/bin/bash as the first line so that I can just type my scripts name 'whodate' at PS1 instead of ./whodate. This has suddenly stopped working for me. It used to be the case that I could start a script with #!/bin/bash and it would work, but for this script... (2 Replies)
Hello,
I am facing a very strange problem when I run my script manuallu ./Fetchcode which is using to connect with MKS integrity from linux end it workks fine but when I run it from cron it doesn't work.Can someone help me
1) How could I check my script when it is running from cron like... (3 Replies)
Hello,
I am working one one script where I am using the below code which is using to connect with MKS client when I run my script manually it works effiecently i.e. it connects with MKS client but when I run it from CRON it doesn't connect.
1)Can some one tell when it is running from cron... (1 Reply)
Legends,
I am not able to set "expr" function in ksh script.
Below is the sample code i used, and output is as "Syntax error"
Please help me to come out of it.
OUTPUT (9 Replies)
I am trying to connect to a solaris server using putty from a indows client. SSH connection is not working. The terminal indow just gives an error message "Network error:Connection refused".
I verified SSHD and its running correctly!
#svcs -p ssh
STATE STIME FMRI
online 17:54:44... (3 Replies)
Help. My script is working fine when executed manually but the cron seems not to catch up the command when registered.
The script is as follow:
#!/bin/sh
for file in file_1.txt file_2.txt file_3.txt
do
awk '{ print "0" }' $file > tmp.tmp
mv tmp.tmp $file
done
And the cron... (2 Replies)
i have a script running using variable defined in .profile
when i run that script manually its working
but when i run the same script through cron its giving path not found
I had defined path in .profile (3 Replies)
Hi,
I am trying to do if inside the If in /usr/xpg4/bin/awk. But I am getting below error :
/usr/xpg4/bin/awk -v a="${THREADIDARR
}" 'BEGIN {FS="|"; n=split(a,b," "); for(i=1; i<=n; i++) c]=1;} length($3) == 0{ftag == 1{{print}}; length($3) != 0{$3 in c{ftag=1;print;} !$3 in c{ftag=0;}}'... (4 Replies)
Discussion started by: nes
4 Replies
LEARN ABOUT DEBIAN
pev
PEV(1) General Commands Manual PEV(1)NAME
pev - show information about MS-Windows excutables files
SYNOPSIS
pev [OPTION]... file
DESCRIPTION
Make an analysis and show useful information of PE32/PE32+ file given.
OPTIONS -A, --all
Equivalent to -cdhoprs. This is the default action if none is specified.
-c, --coff
Show the COFF file header.
-d, --dos
Show the DOS file header.
-h, --help
Show usage and exit.
-o, --optional
Show the Optional (a.k.a. PE) file header.
-p, --product-version
Show the Product Version (if added by programmer/compiler) of PE file.
-r, --resources
Show first level resource items information.
-s, --sections
Show information about executable sections.
-v, --version
Show version and exit.
EXAMPLES
To get only the Product Version of putty.exe file:
$ pev -p putty.exe
To show DOS and COFF file headers of cards.dll:
$ pev -dc cards.dll
Display all possible information about svchost.exe file:
$ pev svchost.exe
AUTHOR
Written by Coding 40o group
REPORTING BUGS
Report pev bugs at http://sourceforge.net/p/pev/tickets/
COPYRIGHT
Copyright (C) 2010-2011 Coding 40o. Licensed GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
PEV(1)