04-12-2012
Quote:
Originally Posted by
Corona688
What, precisely, does this program do? Do you have to wait for it? There may be a reason it's not continuing, if it's still running in the foreground.
You can put an & on the end to run it in the background, but then you'll have to be sure somehow that the session is actually ready before you get too carried away, and kill it later.
This program need to create a b2k_session_id and passing that b2k_session_id for Finacle upload service as below(mcbx4005).Creating b2k_session_id will take 2 or 3 secods.
$TBA_E/mcbx4005 $B2K_SESSION_ID $text_file N ALL
"You can put an & on the end to run it in the background" can you explain me the purpose of putting & ?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
My tiny mind is struggling with the following script that shuts down Tomcat on Sol. 8 and kills any defunct processes Tomcat might leave behind (as it so often does). I realize that fixing Tomcat would be best, but this is a band-aid so I won't have to do as much off-hours support of... (3 Replies)
Discussion started by: dkaplowitz
3 Replies
2. UNIX for Dummies Questions & Answers
Lets say a user starts a process (either a shell script or a Perl script) and before that process finishes, he logs out (either intentionaly or network problems or ...), does the process continu running ?
Default shell is Korn.
This is because at my job (being trained), there are tasks to run... (2 Replies)
Discussion started by: Browser_ice
2 Replies
3. Shell Programming and Scripting
Hi..
I have a perl program that uses "system" to execute a shell script called startengine. The script "startengine" itself calls a lot of other smaller scripts to setup the engine etc. It finally has to execute ./engine which is another shell script which is long and takes a long time to... (3 Replies)
Discussion started by: JLJ
3 Replies
4. Shell Programming and Scripting
Hello, I need advice on how to check if started processes are finished in perl, here's explanation :
OS is RHEL 4, perl -v = "This is perl, v5.8.0 built for i386-linux-thread-multi"
The logic of the script :
#!/usr/bin/perl
use warnings;
$param1 = $ARGV;
$param2 = $ARGV;
$param3 =... (2 Replies)
Discussion started by: sysgate
2 Replies
5. UNIX for Dummies Questions & Answers
Hello All,
Good day! This is my first UNIX post. :D
Anyways, I would like to seek help from you guys if you know of any UNIX command that will skip a warning message once it is encountered but continue to run the execution.
Ok here's the situation in general:
An encypted file is sent to... (2 Replies)
Discussion started by: jennah_rekka
2 Replies
6. Shell Programming and Scripting
Hello,
I have a very long instruction to write, but, for lisibility reasons, I would like to cut it on more than one line and comment each lines.
is it possible ?
thanks :b: (1 Reply)
Discussion started by: shadok
1 Replies
7. Shell Programming and Scripting
Hi all.
I have a script like this
function check_filesize {
filesize_1="$(ls -la "$1"|awk '{ print $5 }')"
sleep 123
filesize_2="$(ls -la "$1"|awk '{ print $5 }')"
if
then
echo "OK"
else
echo "NOT OK"
sleep 1234
check_filesize $1
fi
}
function check_TR {
chk="$(tail -1 $1|grep... (5 Replies)
Discussion started by: aimy
5 Replies
8. Programming
def gob(url):
print "\n\t Running gobuster on target."
params = " -e -s '307,200,204,301,302' -t 20 -u " + url + " >> /tmp/%s/gobuster.txt" % (ip)
os.system("xterm -e bash -c "tail -f /tmp/%/gobuster.txt"")
for i in bflist:
dirbf = "gobuster -w " + i... (3 Replies)
Discussion started by: alvinoo
3 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I am writing a shell script where I am sourcing other shell script in that script I have mention exit 0 due to that it is not continue the first script. Except doing any changes to source script is there any way I can continue the my first script. (3 Replies)
Discussion started by: sonujatav
3 Replies
script(1) User Commands script(1)
NAME
script - make record of a terminal session
SYNOPSIS
script [-a] [filename]
DESCRIPTION
The script utility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the
record is saved in the file typescript. See WARNINGS.
The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends
when the forked shell exits or when Control-d is typed.
OPTIONS
The following option is supported:
-a Appends the session record to filename, rather than overwriting it.
NOTES
script places everything that appears on the screen in filename, including prompts.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
WARNINGS
script can pose a security risk when used in directories that are writable by other users (for example, /tmp), especially when run by a
privileged user, that is, root. Be sure that typescript is not a link before running script.
SunOS 5.10 30 Jan 2004 script(1)