Search Results

Search: Posts Made By: Ariean
1,663
Posted By Ariean
Graphical Display Of Script Execution & Output
Hello All i have a KSH script which basically takes attribute name as input argument and searches whole Netezza appliance and prints information of where that column is used (Table/Views) etc....
3,287
Posted By Ariean
Hello All, i am trying to extract the data file...
Hello All,
i am trying to extract the data file via sqlplus and i wanted to capture the output of sqlplus into a log file and check for any syntax,Connection, DB errors etc.
But for some reason my...
3,287
Posted By Ariean
I am remember doing that in the past because the...
I am remember doing that in the past because the database username & passwords are visible, when if anyone else issues ps -ef command.
3,287
Posted By Ariean
SQLPLUS calling Via Script
Hello All,

Could you please help me if i am doing anything wrong in below script, especially the sqlplus part performance wise or anything else i could improvise in the script. Thank you.

...
2,665
Posted By Ariean
Split Command Generating Incomplete Output Files
Hello All,
May i please know how do i ensure my split command would NOT generate incomplete output files like below, the last lines in each file is missing some columns or last line is complete.
...
7,205
Posted By Ariean
How to get/print host string only from tnsping output?
Hello All,

I am using Linux OS. My idea is get the host name when we do tnsping in oracle.

output of : tnsping DOELO01
TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on...
1,750
Posted By Ariean
yes that flag would never be Y but still for some...
yes that flag would never be Y but still for some reason script is putting that message to standard output, hence the question.
1,750
Posted By Ariean
Kerberos Utility Error Message
Hello All,
I have below piece of code executing via shell script but for some reason even if the flag is set to KERBEROS_FLAG="N" It displays an message at the end of script execution. It should not...
1,581
Posted By Ariean
List only required files in single command
Hello,
I would like to combine below 2 commands (list, egrep) them into a single command and list only the required files using AWK or anything else. Could you please help.

ls...
2,094
Posted By Ariean
sorry i don't think i understand the solution you...
sorry i don't think i understand the solution you are proposing for my question.
2,094
Posted By Ariean
How to set colorscheme for a shell while/after logging in?
I am trying to put the below in a file .vimrc and sourced the file, however when i vi any file it is not showing/reflecting color scheme i wanted, Is there any way i can make this work? we use common...
2,652
Posted By Ariean
Thank you it worked. I am trying to put the...
Thank you it worked. I am trying to put the same/below in a file .vimrc and sourced the file, however when i vi the file it is not showing color scheme i wanted and i have to explicitly define the...
2,652
Posted By Ariean
My bad we log in to CSH and then change the shell...
My bad we log in to CSH and then change the shell to KSH and do the coding. I looked at the man page of HISTORY it talks more about events and other stuff, do not understand how to change the...
2,652
Posted By Ariean
How to make each login shell history independent for same account?
Hello All,
Many developers in our company use same application account to log in Linux Box for code development, how can i redirect my log in shell history to a different file to avoid history being...
1,688
Posted By Ariean
Passing Shell Variable to awk
Hello All,

May i please why my shell variable is not getting passed into awk script.

#!/bin/bash -vx

i="1EB07C50"

/bin/awk -v ID="$i" '/ID/ {match($0,/ID/);print...
3,111
Posted By Ariean
How To Find GPG Keys In Encrypted File With Out Decrypting it?
Hello All,
Is there a way to determine how many public keys are embedded or used to encrypt in a GPG file with out decrypting the actual encrypted file. I know i can see the keys & email id's used...
963
Posted By Ariean
Formatting The Output Files & Matching Keys
I have the following 2 output files, one contain the standard output after i decrypt the encrypted file and another keys listed from the gpg trust db,

Provider File:
gpg: encrypted with 2048-bit...
1,632
Posted By Ariean
I extended your code further to print the count...
I extended your code further to print the count or line number. But is there a way to print only 3 instead of 7 as it has some additional blank lines in the output file.

awk -F"[<>]" '/@/ {print...
1,632
Posted By Ariean
Formatting File Decryption Output
Below is the out put of the decrypt command.

Decrypt Command:
/usr/bin/gpg --yes --batch --output file.xml --decrypt file.xml.gpg

Output:
gpg: encrypted with 2048-bit RSA key, ID 96301328,...
2,665
Posted By Ariean
Turn off logging while doing LFTP
Hello All,
Is there a way to turn off the caching of the login/password details in ~/.lftp/transfer_log file when i do lftp to remote site. we are using Red Hat Linux OS
/usr/bin/lftp<<-ftp_script...
9,564
Posted By Ariean
Thanks it worked pretty fast, but in my below...
Thanks it worked pretty fast, but in my below excerpt of output file how do i remove the tags highlighted below. Looks like first tag is because of some junk characters from input file as i see it.
...
2,343
Posted By Ariean
But the user dwdev is part of dwdev group and the...
But the user dwdev is part of dwdev group and the group has r-x permissions would that be enough to execute the script? i am i missing something
2,343
Posted By Ariean
Error executing the script
I have the following script test.sh owned by dwdev account and group dwdev, the permissions on the script are as follows.
-rw-r-x--- 1 dwdev dwdev 279 Sep 17 13:19 test.sh
Groups:
cat /etc/group |...
9,564
Posted By Ariean
Thank you i just put it for a test against 5.8 GB...
Thank you i just put it for a test against 5.8 GB XML file, it running for past 1 hour, is there any way we can fine tune this, appreciate your help.
9,564
Posted By Ariean
could you please explain a little bit what you...
could you please explain a little bit what you are doing in your code i am naive to awk. Many Thanks
Showing results 1 to 25 of 237

 
All times are GMT -4. The time now is 08:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy