9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The db2 table stores the unix path as below
$SRootDir is set in the env variable as /home/test/root
In the shell script i read the table value and store it in a variable
pth=db2 -x "select VALUE from... (2 Replies)
Discussion started by: 2jnags
2. Shell Programming and Scripting
if i want to display the contents of a file between say line number 3 and 10 then i use the following command
sed -n '3,10p' filename
if this 3 was contained in x and 10 was contained in y then how wud this command modified?
sed -n '$x,$yp' filename does not work..please advise (2 Replies)
Discussion started by: arindamlive
Hi all, this is the code:
n = notify_notification_new ("Summary",
"\nThis is the message that we want to... (0 Replies)
Discussion started by: hakermania
4. UNIX for Dummies Questions & Answers
My stored procedure returns a value.
How to retrieve the value and display in unix.
CREATE OR REPLACE
PROCEDURE gohan(num INT) IS
DBMS_OUTPUT.PUT_LINE('My lucky number is ' || num);
Unix Scripting i used
sqlplus -s... (7 Replies)
Discussion started by: gohan3376
5. UNIX for Dummies Questions & Answers
I want to delete a folder on my webserver via ftp, but the server said "Operation not permitted".
So I want to delete the folder via ssh - not successfull.
This is what I have done and what the server said:
rmdir: views: Directory not... (12 Replies)
Discussion started by: Lkwjoe
6. Shell Programming and Scripting
Environment: Sun UNIX
Language: Bourne Shell
I have the following script and it works fine. Unfortunately, from user's perspective, it looks very messy because the user is able to see the output of the process caused by the print command.
Is there a better way to overcome it?
Here's the... (10 Replies)
Discussion started by: totziens
7. UNIX for Advanced & Expert Users
I want to run/execute a stored procedure (sybase) from unix command prompt not by login in isql utility which is provided my Sybase guys.
Is there way ..?
Thanks in advance for your help !!!
Arvind S. (0 Replies)
Discussion started by: arvindcgi
8. UNIX for Advanced & Expert Users
I have 2 stored procedures to be executed.
if the sysdate is between 12 am and 6 am i want to run procedure 1 else procedure 2
How do i do it with variables for time in the script.
The DB is oracle
Thanks (7 Replies)
Discussion started by: kris01752
9. UNIX for Dummies Questions & Answers
I logged in to a Sun unix box. I would like to know where my unix id is stored. So I did a "more /etc/passwd | grep <my unix id> but it did not show up. Where can I find my unix id and what is the command to see it?
Thanks in advanced,
XZOR (4 Replies)
Discussion started by: XZOR