Search Results

Search: Posts Made By: james94538
769
Posted By james94538
need help in scripting
Hi, I need help for the following

assume I need to change all the files under a directory
from *sh to *sh.bak, also there are files under directory/directory need to get changed too

so how to...
2,619
Posted By james94538
check duplicate elements
hi
if i have arry with lots of intergers , how to check if there is duplicate integers
in perl ?

say I ahve @intergers=( 1,2,3,3,4,5,4,99,99,100)
2,393
Posted By james94538
awk question
Hi, in the following script, what does " a[NR]=$0} END " mean ?
do we need that ? Thanks


awk '{a[NR]=$0} END {for (i=NR; i>=1; i--) print a[i]}' file
3,767
Posted By james94538
wc -l, wc -w,we -c
Hi

I have the following in the file

I love scripting
I love Unix

I know how to use wc in unix to figure out words, characters, lines

but how about Perl, what approach should I take?
1,438
Posted By james94538
Also, if possible, can this be written in Perl as...
Also, if possible, can this be written in Perl as well?
1,438
Posted By james94538
scripting help
Does anyone knwo how to write the following script

In case I have script name as Test

Test pattern Filename will print the lines which contain the pattern for a given file name

so if I have...
18,448
Posted By james94538
find , grep
HI
what is the difference between find and grep

if I want to find all the files from different directories which contain "ORA" error, and the line number in each file which has ORA error
should...
25,921
Posted By james94538
sorry.I mean du & df
sorry.I mean du & df
25,921
Posted By james94538
du & df
anyone knows what exactly is the difference between du & dk?
1,583
Posted By james94538
shell scripting
Hi

Can anyone does the scripting by using AWK? or other ways in shell scripting?

if I have input as "I love shell scripting ", I want to get output as "scripting shell love I "

Thanks
...
1,351
Posted By james94538
script questions
Does anyone know how to use shell scripts to write the following


if input is

a
b
c
d

I wnat output as


d
c
b
a

Thanks
2,361
Posted By james94538
command questions
Hi, can anyone answer the following questions?



1.How do you check for particular exception in a growing log file?

2.How do you terminate a long running process? What if there are multiple...
Showing results 1 to 12 of 12

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