Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: abhigrkist
9,343
Posted By abhigrkist
Shell script to send mail alert
HI Guys,

I am writing one shell script to send the mail alert to some email id's if the file not modified in last 10 mins but its not working, I believe MTIME is null string is wrong . can you...
799
Posted By abhigrkist
Code: awk -F\|...
Code:
awk -F\| 'BEGIN{OFS=FS;}{$2=$2".";$3=$3".";}1' input_file

Hi msabhi can you please let us know the meaning of putting 1 at the last of awk command.thanks in advance
1,282
Posted By abhigrkist
script for connecting database in loops
Hi experts.

I have different database and schema and their passwords in one file.
In Unix : I want to create the script that connect the sqlplus and execute the select query one by one schema...
4,179
Posted By abhigrkist
Thanks dear!!!!1
Thanks dear!!!!1
4,179
Posted By abhigrkist
Thanks Jim, OS is redhat hat linux and shell is...
Thanks Jim,
OS is redhat hat linux and shell is bash.
4,179
Posted By abhigrkist
Crontab running bi-weekly
Hi experts,

Need your help to schedule the script(test.sh) bi-weekly in linux machine.
script need to run at every alernate thursday at 9 am .
Please help to run the same.
2,330
Posted By abhigrkist
Password expiry report
Hi All,
I want to write a script that will send the alert when linux server password expiry for user 'x' is less than 12 days.
I have written the below script but this is not working for...
1,407
Posted By abhigrkist
grep by limit search
Hi
I am in new in unix,can any one tell how to grep the data by limit.
suppose I have below data:-

is :[1249]mSecs
is :[585]mSecs
is :[160]mSecs
is :[50]mSecs

requirement is how to grep...
5,029
Posted By abhigrkist
hi try egrep command for this
hi
try egrep command for this
5,614
Posted By abhigrkist
how can u read a file line by line in shell script ?
hello ,
plz help for below script req:-

how can we read a file line by line in shell script ?
Forum: Red Hat 11-08-2010
2,515
Posted By abhigrkist
interview questions..plz help
hello,
I have some doubts .plz help



if i try to ping from a server, it doesnt ping & gives different ip address, and in nslookup i get different ip address, what is the problem ?
...
905
Posted By abhigrkist
Help Required For String Matching
I am new to shell scripting !!!!!!!!!!.ANY HELP WOULD BE APPRECIATE :-
i want to write a script that will check the log for string:
waiting for [10] seconds

for this I am using :-
tail -10...
1,465
Posted By abhigrkist
how to find the pattern inside the file and replace it
hello everybody,
I have a group of file
eg-

sample1
sample2
sample3
sample4


each file contain this :-

cat sample1
SEQ_NUM,1,UPESI1


My requirement is to
change...
1,852
Posted By abhigrkist
thanks a lot !!!!!! alister
thanks a lot !!!!!! alister
1,852
Posted By abhigrkist
How to count the pattern in a file by awk
hello everybody,
I have 3 files
eg-

sample1
sample2
sample3


each file contain word babu many times

eg-

cat sample1
babu amit msdfmdfkl babu...
9,144
Posted By abhigrkist
try this SUBJECT=path loaction ...
try this
SUBJECT=path loaction
TO_LIST=someone1@gamil.com,someone2@gamil.com,someone3@gamil.com
echo "[$(date)] [Script Location $(pwd)] " >> path.lst
mail -s "$SUBJECT" $TO_LIST < $path.lst
1,103
Posted By abhigrkist
kill the process if its not updating
hello friends,
I want to shell script to monitor the process.
I want to check the timestamp of log ,if its not updating from 10 min then script will kill that process and restart....
15,160
Posted By abhigrkist
How to split a file with adding sequence number and extension.
I have a file name -HRCFTSIN05PLA1602100430444444
my requirement is to split the file in 10000 count each file and to add sequence number.rch at the end of each file.
output should be in this...
4,913
Posted By abhigrkist
in HP unix command is giving error -sed: Function...
in HP unix command is giving error -sed: Function 1i cannot be parsed.
is this possible through awk.
4,913
Posted By abhigrkist
hi plaudi/curelb, is there...
hi plaudi/curelb,
is there any other method to accompolish this.ie.through awk .
4,913
Posted By abhigrkist
sed -i not working in HP unix
hi i want to append the number in each file,but when i ran this command:-
sed -i "1i 50" filename

its giving error sed: illegal option -- i in HP unix

but its working in linux.

any...
1,597
Posted By abhigrkist
thanks a lot rehka ...its working....
thanks a lot rehka ...its working....
1,597
Posted By abhigrkist
appending the count of line in each file at head of each file
hello everybody,
I have some files in directory.each file contain some data.
my requirement is add the count of each line of file in head of each file.
any advice !!!!!!!!
1,294
Posted By abhigrkist
hi all please help!!!!!!
hi all please help!!!!!!
4,990
Posted By abhigrkist
use this ssh-keygen -t rsa then save this ...
use this
ssh-keygen -t rsa
then save this
then scp this public key in another server (.rsa file) in this path /home/emg/.ssh/authorized_keys2
then ssh to another server it will not ask password...
Showing results 1 to 25 of 27

 

Featured Tech Videos

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