Hi,
how can I write a small script to run the following statement and output the result into check_result.txt
select /*+RULE*/ tapname from typetbl where tapname like 'AA%' and rejectcode=9;
Normally, I just type sql and get into SQL> (2 Replies)
Hello All,
I just want help in coding a simple shell script since i am a newbie for UNIX and i started learning unix and shell scripting basics recently.
I am having a data like this in .txt file.
Product Name : XYZ
Price : 678.1
Best Buy Price : 600
Product Name : ABC
Price : 465... (3 Replies)
Hello Everyone,
I am new to shell scripting and also i am very new to AIX machine
I have a question.
I have shell script which contains the follwing
"ps -e |grep $1
echo $2"
i run this schell script by doing this ./startSehllscript 3444 passed with two parameters .
Accroiding my... (4 Replies)
I am writing a script to write to and a sort txt file. After I sort the file I want to add 2 to each line of the file. My script thus far is
#!/bin/bash
cat > /ramdisk/home/stux/unsortedints.out
COUNT=0
FILE =/ramdisk/home/stux/unsortedints.out
for i in {1..100}
do
NUMBER = $
echo $NUMBER... (3 Replies)
Could anyone very kindly help me a simple way to perform the - perhaps - very trivial task of writing the name of a file as first line of that file which is in txt format?
And would be possible to do this recursively for some thousands files in the XY directory?
And, again, add to the simple... (3 Replies)
i'm trying to write a bash script that that will automatically extract zip files after the download.
i writed this script
#!/bin/bash
wget -c https://github.com/RonGokhle/kernel-downloader/zipball/master
CURRENDIR=/home/kernel-downloader
cd $CURRENDIR
rm $CURRENDIR/zipfiles 2>/dev/null
... (2 Replies)
I'm attempting to write a bash script that will create a network between virtual machines. It accepts three arguments: an RSpec that describes the network topology, and two list of machines (servers and clients).
I have a (working) Perl script that I want to call. This Perl script takes an RSpec... (6 Replies)
Hello experts, I need help writing individual files from a data matrix, with each new file being written every time there is a blank line:
From this
cat file.txt
col1 col2 col3
6661 7771 8881
6661 7771 8881
6661 7771 8881
col1 col2 col3
3451 2221 1221... (6 Replies)
I want to run commands inside a bash script.
An example is
I want to pass the command in a string as regexp as an argument to the script, then run sed on the bash variable
sed.sh regexp
sed.sh "-i \"s/<p>//g\""
then call
sed "$regexp" $fl (3 Replies)
Discussion started by: Kangol
3 Replies
LEARN ABOUT LINUX
erl_boot_server
erl_boot_server(3erl) Erlang Module Definition erl_boot_server(3erl)NAME
erl_boot_server - Boot Server for Other Erlang Machines
DESCRIPTION
This server is used to assist diskless Erlang nodes which fetch all Erlang code from another machine.
This server is used to fetch all code, including the start script, if an Erlang runtime system is started with the -loader inet command
line flag. All hosts specified with the -hosts Host command line flag must have one instance of this server running.
This server can be started with the kernel configuration parameter start_boot_server .
The erl_boot_server can both read regular files as well as files in archives. See code(3erl) and erl_prim_loader(3erl) .
Warning:
The support for loading of code from archive files is experimental. The sole purpose of releasing it before it is ready is to obtain early
feedback. The file format, semantics, interfaces etc. may be changed in a future release.
EXPORTS
start(Slaves) -> {ok, Pid} | {error, What}
Types Slaves = [Host]
Host = atom()
Pid = pid()
What = term()
Starts the boot server. Slaves is a list of IP addresses for hosts which are allowed to use this server as a boot server.
start_link(Slaves) -> {ok, Pid} | {error, What}
Types Slaves = [Host]
Host = atom()
Pid = pid()
What = term()()
Starts the boot server and links to the caller. This function is used to start the server if it is included in a supervision tree.
add_slave(Slave) -> ok | {error, What}
Types Slave = Host
Host = atom()
What = term()
Adds a Slave node to the list of allowed slave hosts.
delete_slave(Slave) -> ok | {error, What}
Types Slave = Host
Host = atom()
What = void()
Deletes a Slave node from the list of allowed slave hosts.
which_slaves() -> Slaves
Types Slaves = [Host]
Host = atom()
Returns the current list of allowed slave hosts.
SEE ALSO init(3erl) , erl_prim_loader(3erl)Ericsson AB kernel 2.14.3 erl_boot_server(3erl)