Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: learnbash
1,344
Posted By learnbash
Hello, I clearly mentioned in my thread i...
Hello,

I clearly mentioned in my thread i need to change the text in file and wants to increment the serial number.




OK. Let's be perfectly clear here. There is absolutely no mention of...
1,344
Posted By learnbash
Please can you give me any example of awk or...
Please can you give me any example of awk or perl, how i can achieve that?
1,344
Posted By learnbash
Yes true, but i have one question, for first and...
Yes true, but i have one question, for first and second both record you are breaking source ip address in block while target ip address you are not breaking... why?

---------- Post updated at...
1,344
Posted By learnbash
I tried below but it is giving error. ...
I tried below but it is giving error.



sed "s/^abcd.com\(.*\)A\(.*\)\$/^abcd.com\1A\2/15\.1\.1\.10$" abcd.com
1,344
Posted By learnbash
Thanks Don..... I need one more help, how to...
Thanks Don.....

I need one more help, how to change the ip address of domain name. It only change to below domain not disturb sub-domain or any other thing.

current output



abcd.com. ...
1,344
Posted By learnbash
yes it is working. ---------- Post...
yes it is working.



---------- Post updated at 03:06 PM ---------- Previous update was at 03:00 PM ----------

Is it possible i can use fgrep........
1,344
Posted By learnbash
Help required in searching of pattern.
i m searching a zone file my domain name is abcd.com


my zone file looks like this.



abcd.com. IN SOA ns1.abcd.com. root.abcd.com. (


abcd.com. ...
1,126
Posted By learnbash
I am using sed to change the ip address, but i...
I am using sed to change the ip address, but i don't understand the logic how to increment last two numbers, only that part is left.
1,126
Posted By learnbash
For domain replacement, i am able to do change...
For domain replacement, i am able to do change with sed. But i want to automate it that's why i need to change serial number with some calculation.



current number : - 18011324





new...
1,126
Posted By learnbash
Changes of text in a file
Please advise i need to change a text in a file, what should i do....



original text

18011324 ; serial number YYMMDDNN

m.abcd.com. 600 IN A 10.10.128.154
...
836
Posted By learnbash
If it is not commented then how we can check? ...
If it is not commented then how we can check?

line is like that



05,35,50 * * * * /usr/local/scripts/my.sh
836
Posted By learnbash
I am using AIX
I am using AIX
836
Posted By learnbash
Help about comment verification
Hello,

I have a file, in which line 40 is commented. It is basically a cron job,



#05,35,50 * * * * /usr/local/scripts/my.sh



how i can i verify the line 40 is commented, if not then...
1,137
Posted By learnbash
In file1 and file2, both contents usernames, i...
In file1 and file2, both contents usernames, i want to compare the username which is present in file1 but not present in file2.

---------- Post updated at 12:08 PM ---------- Previous update was...
1,137
Posted By learnbash
Thanks, Is it possible while hardcoding "file2"...
Thanks, Is it possible while hardcoding "file2" in script we can automatically fetch by script itself?



---------- Post updated at 11:41 AM ---------- Previous update was at 11:39 AM ----------...
9,860
Posted By learnbash
sqlcmd --login /oracle/baccess.xml --sql "$SQL"...
sqlcmd --login /oracle/baccess.xml --sql "$SQL" > /tmp/sqlcmd.txt





Above command will redirect the query output to /tmp/sqlcmd.txt then you grep it or whatever operation you want to...
1,137
Posted By learnbash
Help about comparison
Hello folks,

I have two files, which have usernames, I want to see the contents of file1.txt which is missing in file2.txt and another comparison file2.txt contents which is missing in file1.txt....
715
Posted By learnbash
Help about bind serial number
Hello folks.

Please let me understand the bind serial number. I am confuse.





13011321



---------- Post updated at 08:32 AM ---------- Previous update was at 07:55 AM ----------...
923
Posted By learnbash
Thanks so much for your help, problem solve.
Thanks so much for your help, problem solve.
923
Posted By learnbash
[Solved] Help with condition
I have below code, I am checking on one server where ppp.sh process not running it is perfectly fine, when i am checking the same script on another server where ppp.sh script is running, it is...
1,798
Posted By learnbash
Wonderfull explanation, I totally understand the...
Wonderfull explanation, I totally understand the problem now. So much thanks..........
1,798
Posted By learnbash
I am really sorry i don't understand how i can...
I am really sorry i don't understand how i can verify two characters. Can you please explain me some detail, i am so thankful to you.
1,798
Posted By learnbash
Oh i am sorry, it is generated by some windows...
Oh i am sorry, it is generated by some windows software, between how can i verify that file is having 16-bit unicode character? How to check this format in linux?
1,798
Posted By learnbash
It is showing file like, how to get my file in...
It is showing file like, how to get my file in original condition.



00027f80 77 00 77 00 77 00 2e 00 71 00 61 00 74 00 61 00 |w.w.w...r.a.t.p.|



---------- Post updated at 12:13 PM...
1,798
Posted By learnbash
Original file have no such character. when i am...
Original file have no such character. when i am opening a file with vi, everything is ok, but after awk operation i am getting problem, Please advise me is it some problem with my environment...
Showing results 1 to 25 of 363

 

Featured Tech Videos

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