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)
I have an output from a database query on the unix standard output as under:
abc
dsagh
dsflsfds
dsfsdfsdfsd
sdf
sdfsd
sdfsd
sdfsdf
sdfsdfs
sdfsdf
sdfsdf
sdfsdf
sdfsdf
sdfsdf
sdfsdff
dsfsdf
sdfdf
sdf (8 Replies)
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
Hi All,
I Have written a script through that i am calling sql file
Sqlfile.sql
set time on
set timing on
set echo on
set head off
set scan on
set feedback on
set serveroutput on
set linesize 1000
DECLARE
v_acc_no NUMBER(10);
v_product_no NUMBER(10);
BEGIN... (3 Replies)
how can I get the df -h command output into excel format or csv file.
df -k | tr -s " " | sed 's/ /, /g' | sed '1 s/, / /g' | column -t
df -h | column -t
I have tried as above but the format is not right. I'm not able to load the format into a excel or a table.
... (2 Replies)
I'm just wondering is there any way to capture the output of a unix command in a csv format.
df -h gives the result of filesystem,free space,Used space, use %,mounted on.
Is there a way to capture the command output and format it as comma sparated or fixed length file. (3 Replies)
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)
Hi ,
i am generating some data by firing sql query with connecting to the database by my solaris box.
The below one should be the header line of my excel ,here its coming in separate row.
TO_CHAR(C. CURR_EMP_NO
---------- ---------------
LST_NM... (6 Replies)
Hi
I have script to collect file system usage statistics from few remote unix hosts and email . On the UNIX system the column spacing is fine but the email output is not aligned properly. Any tips to fix this ? (1 Reply)
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
LEARN ABOUT LINUX
aideinit
AIDEINIT(8) System Manager's Manual AIDEINIT(8)NAME
aideinit - create a new AIDE database
SYNOPSIS
aideinit [options]
DESCRIPTION
aideinit creates a new AIDE database. It will initialize an AIDE database in the default database_out location. It will then prompt you to
replace your existing AIDE database. In most cases you will want to check for any problems before doing this.
aideinit attempts to automatically detect the correct locations of your database and database_out files based on your aide.conf settings.
These settings may be overridden on the command line, as may the prompts.
OPTIONS -y, --yes
Overwrite database_out file
-f, --force
Force overwrite of database with new database
-c, --config
Specify alternate config file
-o, --output
Specify alternate output file
-d, --database
Specify alternate database file
-b, --background
Run in the background (will mail any errors to aide.conf MAILTO or root)
FILES
/etc/aide/aide.conf, /etc/aide/aide.conf.d
Default AIDE configuration files
/var/lib/aide/aide.db
Default location for AIDE database
/var/lib/aide/aide.db.new
Default location for newly-created AIDE database
AUTHOR
This manual page was written by Mike Markley <mike@markley.org>, for the Debian GNU/Linux system (but may be used by others).
Dec 19, 2003 AIDEINIT(8)