I'm trying to execute delete SQL like below in ksh. In this roop, I can delete row one by one. But what I want to is to delete multiple rows like 5 ...
I'm trying to execute delete SQL like below in ksh. In this roop, I can delete row one by one. But what I want to is to delete multiple rows like 5 ...
I would like to print the last line above the command, only if the line starts with "#" and there is no space or tab before it, even if there is an em ...
I am trying to store some sqlplus value to unix variable but its not working. kindly help profile value in the database is AB_ORACLE_DBREFRESH_PROFIL ...
I have updated /etc/profile on an AIX host and would like to reload in the same session without logging off. Any idea how can we do it? I tried sourc ...
Inside shell script it is picking some files from UNIX directory. Sometimes when any of these file missed then throw error & shell script got fail ...
As the title says, nameref (typeset -n) fails when not using positional arguments (ex: $1). Version: sh (AT&T Research) 93u+m/1.0.0-beta.2 2021-1 ...
Inside the script there is one error i am getting as syntax error operand expected (error token is "-") at line 109 In the above live getting error ...
I just posted a question about using grep on multi-line shell variable, but I just realized that what I needed was slightly different. grep multiline ...
I'm trying to grep lines from a execution output with a multi-line shell variable, but I'm not quite sure how to do it for example, if I execute a fil ...
Objective: Check for zombie processes, but if any are found to be owned by the account nagios, ignore them. If a zombie process is found to be owned b ...
I have a linux script that runs SnowSQL where two files are created and placed in a particular folder. Due to a downstream process, there needs to be ...
I'm using pax to backup a directory over a ssh link. If like to have a progress report saying how much of the transfer has occurred. With the -v optio ...
I have a conversion function in a KSH script: The value is coming from a configuration file which has a line like this: The code capturing the v ...
There is a "&" symbol in one of the files' name. If I try to use mv command, I'm not able to correctly get the file name. Actual filename : m ...
I have a set of commands chained with pipes like this: The CSV file to be processen is quite big (10-20GB), so I would like to keep it in one strea ...
I have some text with a password which may contain special characters (like /, *, ., [], () and other that may be used in regular expressions). How to ...
This particular script doesn't have any practical value. I'm just trying to get better at KSH scripting as that and bash are what are predominantly us ...
Here is my code in ksh file Fisrt, I cat a sql file in KSH file and then I want the a string called "&1" and "&2" in sql file are replaced ...
I am connecting thru sftp in shell script file and trying to -mget all files from multiple directories like below: When any file is empty then proc ...
I've an input file that consists of IP Address and subnet masks. As an example, 1.example.com,10.135.10.111,255.255.255.0,some comment 2.example.com, ...