10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I'm trying to print the value of my cursor in the dbms_output.put_line in shell script, but it only shows "PL/SQL procedure successfully completed." nothing else. I have set serveroutput on,
Below is my script : Any advise would be really helpful.
sqlplus -s $ORACLE_LOGON <<EOF >>... (2 Replies)
Discussion started by: mail.chiranjit
2 Replies
2. UNIX for Dummies Questions & Answers
I have came across a few websites stating some custom actions for Thunar -
crunchbang
ubuntu
I tried inputting the stated commands to Thunar, but it doesn't display at all in mine.
I tried "gksu thunar %f" ( Opens current folder with root permissions.) , but when I right click in a... (0 Replies)
Discussion started by: Hijanoqu
0 Replies
3. UNIX for Dummies Questions & Answers
I have a need to grep a large number of files, but only display the first result from each file. I have tried to use grep, but am not limited to it. I can use perl and awk as well. Please help! (9 Replies)
Discussion started by: dbiggied
9 Replies
4. HP-UX
Hello folks,
I've found an HP-UX server with a rare 'ls -l' output. Please see the attached file.
Anybody knows how can I change the output to not have this extra tabulations?
Thanks in advance! (10 Replies)
Discussion started by: carpannav
10 Replies
5. Shell Programming and Scripting
A simple question, but i am finding it diffcult to find the answer.
Can you please tell me how i can get the output of two line on one.
I am aware i need to enter \ something, but no sure which charcter, can you advice.
CODE
for i in `cat LDN_HOSTS_190813 | grep -i LDN | awk '{print... (7 Replies)
Discussion started by: Junes
7 Replies
6. HP-UX
Hi,
I have one hp-ux sytem date display problem when viewed remotely
hostA 21: date
Fri Jul 5 11:18:51 SST 2013
hostA 22: remsh hostB -l username -n date
2013年07月05日 11時32分27秒
But on actual system it display correctly:confused:
hostB 21: date
Fri Jul 5 11:40:33 SST 2013 (4 Replies)
Discussion started by: jorendain
4 Replies
7. Shell Programming and Scripting
I am trying to parse through set of data from large txt file and only intersted in output below . i am using below awk command to get the output but it only shows first line , i need to see the rest of the output under hardware inventory. see below
]$ awk '{ if ( $0 ~ "^Hardware inventory" )... (10 Replies)
Discussion started by: Jared
10 Replies
8. Programming
Dear All,
As I'm new here, please forgive me if any rule violation occurred.
I have a script like this:
#! /bin/ksh
# Author : Saptarshi
# Date : 18-Mar-2011
# Version : 1.0
Return_op=`sqlplus -s <<ENDOFSQL
db_user/db_pass@db_nm
WHENEVER SQLERROR EXIT 1
set ... (1 Reply)
Discussion started by: saps19
1 Replies
9. UNIX for Dummies Questions & Answers
Hi folks,
Please advise which command/command line shall I run;
1) to display the command and its output on console
2) simultaneous to save the command and its output on a file
I tried tee command as follows;
$ ps aux | grep mysql | tee /path/to/output.txt
It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies
10. Shell Programming and Scripting
Hi,
I have created a pl/sql block utilises dbms_output.put_line. This script works fine when I call from sqlplus ie sqlplus @./scriptname but when I embed it within my shell script I get no output to screen so I end up with an empty spool file. I know it's executing successfully when called from... (6 Replies)
Discussion started by: stuck1
6 Replies