10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi All
I am trying to create a shell script to insert in to oracle table
so far insert happens with out an issue,
but i cant pass message variable to sqlplus script insert. i have highlighted the variable in red.
Please help.
thanks in advance.
#!/bin/sh
df -H | grep -vE... (3 Replies)
Discussion started by: LPK
3 Replies
2. Shell Programming and Scripting
I have input data looks like this which is a part of a csv file
7,1265,76548,"0102:04"
8,1266,76545,"0112:04"
I need to make the output data should look like this and the output data will be part of text file:
7|1265000 |7654899 |A|
8|12660000 |76545999 |B|
The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies
3. Shell Programming and Scripting
i am new to unix shell scripting, could someone please help me. i was asked to develop a unix script and requirement of the script is as follows:
1. In source directory, if any new files are being dropped by external system then an email should be sent out with a message saying "files are... (3 Replies)
Discussion started by: crefi1545
3 Replies
4. UNIX for Dummies Questions & Answers
Hai,
How to insert a new line chracter "\n" in a line if it has more than 72 characters. My requirement is if the line has 72 characters i have to split it into two lines as follows.
I/p line :
this is a test line which is crossing seventy two characters so i have to split it -- this is of... (4 Replies)
Discussion started by: Sivajee
4 Replies
5. Linux
Hi gud day,
I would like to ask if possible to load the driver i compiled module without installing it in the ubuntu-kernel-distro/updates* or simple not executing "make install". what i mean is i compile the compat wireless driver using make and i want to try to load
on the system without... (1 Reply)
Discussion started by: jao_madn
1 Replies
6. Shell Programming and Scripting
Hi,
I need to ping all the systems in my network and then create a log for the ones, from where I successfully get the ping-response (ICMP packet).
Now, I've used the ping command successfully, but am unable to use 'grep' command to locate the IPs for which the ping was successful (so that I... (5 Replies)
Discussion started by: psychoTHEIST
5 Replies
7. Shell Programming and Scripting
Hi Frnds,
in shell script I have one problem while inserting into oracle table .
my script
#! /usr/bin/sh
while read record
do
echo $record
X=`sqlplus -s STN/errrmddb20@MAHFDR <<eof
insert into STN.STN_ERROR_TABLE values($record);
eof`... (12 Replies)
Discussion started by: Gopal_Engg
12 Replies
8. Shell Programming and Scripting
Hi,
Anybody know on how to insert C code in shell script. I am writing BLOB data to a database table in C but I don't know on how to insert the C code in shell script. Thanks in advance. (1 Reply)
Discussion started by: badbunny9316
1 Replies
9. Shell Programming and Scripting
Is there a way to append or insert a word into a text file?
for example:
if a file contains the lines......
profilename="test_profile"
ear="${WpsInstallLocation}/installableApps/"
conntype="SOAP"
What I would like to have is the word test.ear inserted as below.....
... (4 Replies)
Discussion started by: norman_d_builde
4 Replies
10. Shell Programming and Scripting
i have a small problem getting a batxh shell script to run in shell
this is the code
the problem seems to be centered around the ffmpeg command, something maybe to do with the ' ' wrapping around the vhook part command
this is a strange problem , if i take the ffmpeg command and... (1 Reply)
Discussion started by: wingchun22
1 Replies