Search Results

Search: Posts Made By: Siva SQL
1,604
Posted By Siva SQL
I have to search perform on the file content into...
I have to search perform on the file content into case-insensitive search; that's why using toupper()
1,604
Posted By Siva SQL
Using awk to search case insensitive
Hello ,

Using the below scrip to search a string in a file , by case-insensitively
Please assist on using the toupper() as getting error !.


#!/usr/bin/ksh
set -x

curr_dir=`pwd`...
2,325
Posted By Siva SQL
Hello Neo, Please give me some example. It...
Hello Neo,

Please give me some example. It will be much useful.

Thanks, Siva SQL
2,325
Posted By Siva SQL
In HP-UX how to find the date time difference ?
Hello,
In HP-UX how to find the date time difference ?

Start time: 28-APR-2019 21:36:01

End time : 29-APR-2019 00:36:04

----------------------
Difference is

...
1,445
Posted By Siva SQL
Thanks RudiC, it solved the issue.
Thanks RudiC, it solved the issue.
1,445
Posted By Siva SQL
Thanks for the response. However, Using the...
Thanks for the response.
However,
Using the cat the alignment of the source file is getting changed , when this is getting merged into a single file !!
1,445
Posted By Siva SQL
Shell Script to Read the given file contents into a merged one file
Like to have shell script to Read the given file contents into a merged one file with header of path+file name followed by file contents into a single output file.

While reading and merging the...
3,733
Posted By Siva SQL
Thanks for the reply. However the code...
Thanks for the reply.

However the code below, did not work.

find "/app/oracle/build_lib/"${folder} -name "*.[Ss][Qq][Ll]" -exec egrep -il "(CREATE|ALTER|DROP)[ ]+ TABLE" {} \;
...
3,733
Posted By Siva SQL
Loop through the folders and search for particular string in files
Hello,

Opearting System Environment : HP Unix B.11.31 U

I look for script to

On specific folders list
On specific filelist
Search for given string

For Example :

...
1,278
Posted By Siva SQL
Thanks jim mcnamara rbatte1. After...
Thanks jim mcnamara rbatte1.

After creating the directory based on the Process ID ( pid=$$ ), if I want to move the output files from the respective Process ID folder to some other directory,...
1,278
Posted By Siva SQL
What will be the effect of environment variable, when mulitple sessions are opened by same login?
Hello,

What will be the effect of environment variable, when mulitple sessions are opened by same login?

Following code snippet is part of a shell script.

Environment : HP-UX ...
Forum: HP-UX 09-09-2015
23,067
Posted By Siva SQL
Thanks for the reply. But I can not use tar...
Thanks for the reply.

But I can not use tar as it skips the files which are greater than 8 GB.

Please suggest other than tar.
Forum: HP-UX 09-09-2015
23,067
Posted By Siva SQL
HP-UNIX How to zip/compress files in a folder?
Environment: HP-Unix Operating System B.11.31 U ia64

I have a folder with around 2000 files. There are some files which sizes are more than 8 GB. I need to compress all the files in the folder...
3,003
Posted By Siva SQL
Don Cragun, It would be much helpful, if...
Don Cragun,

It would be much helpful, if you can explain the command as what it does in detail. Since being newbie I finding it difficult to understand the commands used.
3,003
Posted By Siva SQL
Getting error as; awk: Input line <?xml...
Getting error as;

awk: Input line <?xml version = '1.0 cannot be longer than 3,000 bytes.
The source line number is 1.

Is that possible using sed ?
3,003
Posted By Siva SQL
Extract Element from XML file
<?xml version = '1.0' encoding =...
3,942
Posted By Siva SQL
user@server1:$ ls -ldt wp411* | awk 'BEGIN{print...
user@server1:$ ls -ldt wp411* | awk 'BEGIN{print "Folder Name \t\t Date"} {print $9,"\t",$6," ",$7," "$8}'
Folder Name Date
wp411.0_20150311/ Mar 11 00:31
wp411.0_20150304/ ...
3,942
Posted By Siva SQL
Using awk to get folder name and date fields with heading
It is on the HP-Unix

Output desired:

Folder Name Date
Folder1 Mar 18 10:00
Folder2 Mar 17 12:23

Tried with
ls -ldt wp411* | awk '{print $9,"\t",$6," ",$7," "$8}'
...
Forum: Linux 09-17-2013
2,425
Posted By Siva SQL
LSB Version: ...
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch Distributor ID:...
Forum: Linux 09-16-2013
2,425
Posted By Siva SQL
Linux Kernal version numbering
Please clarify on below two which one is the latest Kernal version.

Also clarify me , how to break and understand, which part meant for what?

kernel-2.6.18-348.6.1.el5.i686.rpm...
5,341
Posted By Siva SQL
Script to collect log files in case of server crash
Environmnet: HP-UX B.11.31 U ia64
RDBMS: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

Question:

When server hangs or node evicts, we open up tickets with...
6,283
Posted By Siva SQL
I have been advised by our Unix System...
I have been advised by our Unix System administrator that "I-Noe Usage Warning threshold of 5%" set after witnessing an issue in the past when our production batch cycle slowed down to the i-node...
6,283
Posted By Siva SQL
Inode usage
Environment: O.S Version HP-UX B.11.31 U ia64

What is the recommended Inode free nodes?

On our server Unix Sys Admin, have setup warning email alert when % of I-node usage is above or equal...
10,685
Posted By Siva SQL
HP UNIX: How to find files which are older than one hour.
HP Unix Version: HP-UX B.11.31 U ia64

Question
I look for script or command to find files which are older than one hour.

Tried below;


# set the file time to 1 hours ago
touch -t...
2,891
Posted By Siva SQL
FIND matching pattern of lines in a file
I need to search for two patterns in a file and find number of matching lines.



find . -type f | xargs grep "DROP TABLE" | wc -l
find . -type f | xargs grep "DROP SYNONYM" | wc -l


The...
Showing results 1 to 25 of 40

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