Hi, I need help again. When I run this shell script, it only runs the unld_date.sql piece and exits. How can I structure this to run all the way to the end? When I don't have the unld_date.sql piece in here, everything runs fine from the date compare piece all the way to the end. Thanks in... (5 Replies)
Hi,
-How can I get number of files, cpu usage (percentage), memory usage, disk usage, ...etc, using C program ... I can use unix command ( system(command) )but I want the value to be returned back to my C program to use it in my code? How can I do that?
Thanks in advance ... (2 Replies)
Hi all,
In the directory '/temp/chris' the following files exist: chris.tar, chris.txt
What i am trying to do is to assign the 'chris.tar' filename in an argument through perl, in order to do that i use the system command:
$file=system("ls /temp/chris/*.tmp), but in the '$file' the exit... (2 Replies)
I'm trying to run a script file with multiple commands that I would normally type into the command line. The commands are:
#!/bin/bash
diff Test1.o0 /usr3/ronelso4/Desktop/verificationKPC/Test1.o0 > differences2
diff Test1a.o0 /usr3/ronelso4/Desktop/verificationKPC/Test1a.o0 >> differences2... (1 Reply)
Hi,
I would like to write a script with include more than 6 unix commands.
my script like below:
echo " script started"
ls -ld
bdf | grep "rama"
tail -10 log.txt
...
..
...
now, i want to run above unix commands one by one.
example:
first the ls -ld command will be... (3 Replies)
Executing two unix commads via perl script one after another
e.g: make clean
bsub -i -q short make
have tried using exec but the second command doesnt executes (1 Reply)
Hi,
Is there a way in Korn Shell that I can run multiple commands stored as a semi-colon separated string, e.g.,
# vs="echo a; echo b;"
# $vs
a; echo b;
I want to be able to store commands in a variable, then run all of it once and pipe the whole output to another program without using... (2 Replies)
RHEL 6.2/Bash shell
root user will be executing the below script. It switches to oracle user and expect to do the following things
A. Source the environment variables for BATGPRD Database (the file used for sourcing is shown below after the script)
B. Shutdown the DB from sqlplus -- The... (13 Replies)
Hi All,
I have put a perl script together to go and collect some information from multiple nodes/endpoints. The script works absolutly fine however I want to make it quicker.
You will see in the below that my script calls an expect script called ssh_run_cmd2.exp followed by the IP of... (7 Replies)
I am working on script. it reads a file which contains multiple lines
Ex;
curl --write-out %{http_code} --silent --output /dev/null http://hostname:port/input=1
curl --write-out %{http_code} --silent --output /dev/null http://hostname:port/input=2
curl --write-out %{http_code} --silent ... (2 Replies)
Discussion started by: oraclermanpt
2 Replies
LEARN ABOUT DEBIAN
installmgr
INSTALLMGR.1(1) Sword Module Utilities INSTALLMGR.1(1)NAME
installmgr - install, list, update and remove SWORD modules
SYNOPSIS
installmgr -init
installmgr -l
installmgr -u [ModuleName]
installmgr -s
installmgr [-r | -rl | -rd] [RemoteSrcName]
installmgr -ri [RemoteSrcName] [ModuleName]
installmgr -ll [PATH]
installmgr -li [PATH] [ModuleName]
DESCRIPTION
A command line utility to manipulate SWORD modules. It can be used to install, remove, list and update SWORD modules, from local and
network locations.
Please note modules will be installed into /usr/share/sword without using APT. If you use this utility you will not be able to uninstall
these modules using apt-get, aptitude, synaptic and similar tools.
OPTIONS -init
Creates basic user configuration file. This will overwrite existing one.
-l Lists currently installed SWORD modules.
-u [ModuleName]
Uninstalls module.
-s Lists available remote sources
[-r | -rl | -rd] [RemoteSrcName]
These are used to manipulate remote sources.
-r Refreshes remote source.
-rl Lists available modules from the remote source.
-rd Lists new/updated modules from the remote source.
-ri [RemoteSrcName] [ModuleName]
Install module from remote source.
-ll [PATH]
List available modules at a specified local path.
-li [PATH] [ModuleName]
Install module from local path.
Authors
This manual page was written by Dmitrijs Ledkovs <dmitrij.ledkov@gmail.com> for Debian project but may be used by others.
SEE ALSO SWORD 1.6.2+dfsg 2012-02-22 INSTALLMGR.1(1)