Hi all,
this will be a quick question for some of you: I am trying to find the UUID of iSCSI disks that my RedHat Linux sees. I am looking in /sys/class/... but I keep finding symbolic links that send me round in circles:
[root@ovs1-ec host6]# pwd
/sys/class/iscsi_host/host6/subsystem/host6...
Hi,
I am trying to concatenate the output of a while loop to a $message variable that will be printed once the loop has completed, but as it stands, it returns nothing from the inside $message variable.
I am currently not very interested in the else condition. As long as $inexistent has...
Hi!
I have a table with an id column which I would like to update with values 1 to n. Value n is to be defined each time the script is run.
I´m using the MOD function, but it´s not working as desired. If I set NUMBER_SCRIPTS=3 most of the rows are assigned ID=3. Should be assigned in the order...
Hi!
I have a table with an id column which I would like to update with values 1 to n. Value n is to be defined each time the script is run.
I´m using the MOD function, but it´s not working as desired. If I set NUMBER_SCRIPTS=3 most of the rows are assigned ID=3. Should be assigned in the...
Hi!
I need to select from a field just part of a character string. The field, specifically is comment_text from dba_audit_trail, and contains:
Authenticated by: OS; Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.203.31)(PORT=59609))
I´m only interested in the IP address from each row...
Hi all!
I include below my script and the files involved.
Currently, it prints the sqlnet.ora files that contain SQLNET.AUTHENTICATION_SERVICES set to something other than (NONE).
However, I need to add a condition that includes in this list files that don´t contain this parameter as well...
Please see my script and other file contents below.
What I´m trying to do is check whether the sqlnet.ora file in each directory it checks contains SQLNET.AUTHENTICATION_SERVICES!=(NONE) and get an error message for every file checked that either doesn´t contain this parameter, or its value is...
Hi,
I need help with a loop in a script that is not doing what I want it to do. I include the whole script at the bottom of this message. The intention is that (1) it reads a file /var/opt/oratab into an array (this works), (2) It should go line by line, and separating the fields by : so that...
Hi,
I´m preparing a perl script that reads a file and then treats it line by line.
The line
print "$_\n";
prints correctly the 4 lines the file it is reading has.
However, the line
print "@lines\n";
prints an output of:
Line1
Line1Line2
Line1Line2Line3
Line1Line2Line3Line4...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.