Search Results

Search: Posts Made By: Kalia
1,737
Posted By Kalia
Thanks Don sorry for haven't clearly mentioned my...
Thanks Don sorry for haven't clearly mentioned my assignment
its require here-document to complete assignment if will pass arguments then its generate reports
if we pass 2 times or may be 3 times...
1,879
Posted By Kalia
We can find zero size file using below comand if...
We can find zero size file using below comand if we want search 0 size and along with empty file
(File not contain any data may be space which is greater then 0 size ) want to remove
those file...
1,737
Posted By Kalia
parameter should be pass under the EOD and...
parameter should be pass under the EOD and missing the syntax and space also

${APPS}/kali/bin/u_tra <<EOD
CUSTOM
18658
AQBCD
Squrt mob


EOD
Please use code tags (as required by forum...
1,737
Posted By Kalia
Thanks for replay sorry for getting confusing ...
Thanks for replay sorry for getting confusing
This is the main script

cd /u/kali/temp


${APPS}/kali/bin/u_tra <<EOD
CUSTOM
18633
ABRTC
Auto mob

EOD


Below code if we will do...
1,737
Posted By Kalia
How to pass arguments based on input file?
This script is running some exe file we are passing three argumnet below custome key word

Want to update script based on input files every time it will take argument from input file

below is...
1,879
Posted By Kalia
if will create emty file using touch command it...
if will create emty file using touch command it will create empty file with zero size and if we will create emty file in vi editor then size will be greater then 0 with no data
1,879
Posted By Kalia
Remove empty files in home directory
how to remove empty files tried below command its remove only zero bytes not empty file which is greater then zero byte.


for x in *
do
if [ -s $x ]
then
rm $x
fi
done
933
Posted By Kalia
Remove files send through mail
I wan't to remove last 5 and 10 days files from two directory and send the remove files list in mail

Output send through mail


find /kalia/cd/ -type f -mtime +5 exec rm {} \;
find /kalia/uk/...
2,838
Posted By Kalia
Thanks a lot its working fine giving out correct...
Thanks a lot its working fine giving out correct Have basic knowledge of shell script.
1)sed ' ' ? and g ,G
2)sed {} ? or differeance or else u can ignore
3,354
Posted By Kalia
Thanks a lot its exactly matching my requirement...
Thanks a lot its exactly matching my requirement .:b:

---------- Post updated 12-07-17 at 12:30 AM ---------- Previous update was 12-06-17 at 09:23 PM ----------

Please share if some AWK doc u...
2,838
Posted By Kalia
Thanks to all......:)
Thanks to all......:)
2,838
Posted By Kalia
How to insert header with underline?
How to insert header with underline
AM able to insert only header not underline


sed '1i NAME COUNTRY' test.txt
input file

UK 1234
USA 2354
AUS 2253
IND 4256
Output file

...
3,354
Posted By Kalia
1-Getting bug It is printing exact first 4...
1-Getting bug It is printing exact first 4 occurrences but if the lines are repeated more then 4 those line are not printing,need those line also if possible

2-few step am not able to understand...
3,354
Posted By Kalia
Thanks a lot for ur replay not getting correct...
Thanks a lot for ur replay
not getting correct output
While using below command getting wrong output


awk '{x=$0; $1=""} s[$0]++<4 {print x}' test.txt



...
789
Posted By Kalia
working file but the content are nor display in...
working file but the content are nor display in the text mail
789
Posted By Kalia
is it correct or any other way we can send plz...
is it correct or any other way we can send plz sugest
789
Posted By Kalia
Mail command help
I want to send file data not attachment through email in unix tried
below line



file=t.txt

mail -s "INPUT DATA" "kali@gmail.com" <<eof
HI Team

Please find the below details

echo...
3,354
Posted By Kalia
Thanks quick respond Missed first coulmn in...
Thanks quick respond

Missed first coulmn in input file have attaced input file
The output should display
lines has been deleted repeated 4 times


lines has been deleted repeated 4 times...
3,354
Posted By Kalia
We can remove or display the line which has been...
We can remove or display the line which has been repeated 4 times
3,354
Posted By Kalia
Thanks lines repeated up to 4 times should be...
Thanks
lines repeated up to 4 times should be printed as once
3,354
Posted By Kalia
If u see the test.txt below lines are repeated 4...
If u see the test.txt below lines are repeated 4 times wanted remove those line in to test.txt


/usr/libexec/gvfsd-burn --spawner :1.7 /org/gtk/gvfs/exec_spaw/1...
3,354
Posted By Kalia
Remove duplicate lines which has been repeated 4 times
Remove duplicate lines which has been repeated 4 times attached test.txt

below command tried and not getting expect output.

for i in `cat test.txt | uniq`
do
num=`cat test.txt...
2,803
Posted By Kalia
Thanks a lot for ur quick respond Am runing below...
Thanks a lot for ur quick respond Am runing below script passing 1 because no duplicate job runing now it giving correct output-AIX operating system

my question::Will it work if runing more then...
2,803
Posted By Kalia
Thanks to all ,MadeInGermany for below...
Thanks to all ,MadeInGermany

for below script below script matching my requirement.
doubt- is it possible to print job with process ID if not please ignore


jobs=$(ps -u abcd -o...
2,803
Posted By Kalia
Thanks for replay yes it is working fine...
Thanks for replay

yes it is working fine please let me know below syntax

2..Also if you can add to send alert massage with running job name more then 10 time with their process ID,Will...
Showing results 1 to 25 of 36

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