Search Results

Search: Posts Made By: Jared
9,459
Posted By Jared
hi, i try to run the command from my home...
hi,

i try to run the command from my home directory. but dont seem to work. may be i m missing or typo:
find . -type f -exec grep -Fli 'ipv6' +
9,459
Posted By Jared
thanks!
thanks!
9,459
Posted By Jared
thanks! no ipv6 is not a file name, it is ...
thanks! no ipv6 is not a file name, it is "string" mention in many files which are spread over multiple directories. so answer to your question. # 3 and # 4 is what i am looking for?
you are...
9,459
Posted By Jared
How to find particular word in directories?
Hello,

i have multiple directories on my server. i need to find specific word like lets says for e.g IPV6 from those directories. can somebody tell me the right command which will let me to that?
2,106
Posted By Jared
Hi , I agree it may not be doable but here...
Hi ,

I agree it may not be doable but here is the number you requested.

xe-8/ >xe-16/
xe-9=17
xe-10=18
xe-11=19
xe-12=20
xe-13=21
xe-14=22
xe-15=23
xe-16=32
xe-17=33

thanks!
2,106
Posted By Jared
i am trying to replace multiple xe- numbers by...
i am trying to replace multiple xe- numbers by using the below sed commands. but i like to know if there is any easy way to do it instead the one i am using.

sed -e 's/xe-36/xe-41/g' -e...
2,106
Posted By Jared
Below is the snipet from configuration , as you...
Below is the snipet from configuration , as you can see :
xe-0/0/0 need to change it to xe-8/0/0.


set interfaces xe-0/0/0
set interfaces xe-0/0/0 hold-time up 2000
set interfaces xe-0/0/0...
2,106
Posted By Jared
i will try this later. thanks
i will try this later. thanks
2,106
Posted By Jared
Using sed or awk
I have a .txt file with almost few hundreds interfaces address which need to be changed or mapped to the new interface naming convention. for e.g interface

xe-8/0/0 should be xe-16/0/0
xe-9/0/0...
1,258
Posted By Jared
Tutor or help needed (online)
Hi,

i like to know if any of the forum member happens to know any good tutor who is willing to provided on-line help to my scripting skills?


jared
1,977
Posted By Jared
OK Corona, here you go, so i want upto fan...
OK Corona,

here you go, so i want upto fan try 2 , nothing after that like no rpc-reply line etc..

Fan Tray 1 FFANTRAY-M320-S
Fan Tray 2 ...
1,977
Posted By Jared
hi, output is very large so i will paste...
hi,

output is very large so i will paste first line of the unwanted text from the working output. keep in mind this unwanted output shows up after my hardware lines (which i do like to see) i...
1,977
Posted By Jared
thanks it work! but do add more line which i dont...
thanks it work! but do add more line which i dont need, do you know how can i filter those? or refine it littel better?

i been looking to do this for few days and you solve my problem atleast i...
1,977
Posted By Jared
awk getline question
hi experts

i like to know how to print more line using getline command using awk. with below command i can only see one line (line no:1)

however i do have more line as shown below line...
1,890
Posted By Jared
thanks and it did solve part of my problem:) can...
thanks and it did solve part of my problem:) can you suggest how to specify line in awk..i cant seem to find it , played around for hrs but not getting desrired result.
awk '/Hardware/ {print;...
1,890
Posted By Jared
Hardware inventory: Item Version ...
Hardware inventory:
Item Version Part number Serial number Description
Chassis D3636 M320
Midplane REV 08 710-009120 TS0977...
1,890
Posted By Jared
so can you tell me if this is even posisble how...
so can you tell me if this is even posisble how to see line below hardware uisng awk?


Video tutorial on how to use code tags in The UNIX and Linux Forums....
1,890
Posted By Jared
i like to see output under hardware inventory...
i like to see output under hardware inventory which is like below...but you can see it only shows Hardware inventory line and thats it!

Item Version Part number Serial number ...
1,890
Posted By Jared
awk issue
Hi all,

i am trying to use below command to see the output of hardware inventory, but i only see 2 first line no output of the command.

awk '/Hardware/ {print $0}' XXX_result.txt
Hardware...
1,612
Posted By Jared
i should see whatever is under the hardware...
i should see whatever is under the hardware inventory like below...

Hardware inventory:
Item Version Part number Serial number Description
Chassis ...
1,612
Posted By Jared
i tried your suggestion dos2unix and then ran the...
i tried your suggestion dos2unix and then ran the cmd awk with same result. i am still not able to see the desired output under hardware inventory.
any suggestion.

dos2unix wor3e01_result.txt ...
1,612
Posted By Jared
oK COOL....I WAS ABLE TO DO WHAT I WAS TRYING TO...
oK COOL....I WAS ABLE TO DO WHAT I WAS TRYING TO DO VIA USING GREP....WORKS FINE...BUT DO LIKE TO KNOW IF SAME CAN BE DONE USING AWK.

grep -A45 "Hardware" XXX.txt

or

cat xxx.txt | grep...
1,612
Posted By Jared
when i try dos2ux i get following error message. ...
when i try dos2ux i get following error message.
bash: command not found

also the output i like to see is below:

Item Version Part number CLEI code FRU model number...
1,612
Posted By Jared
Cant see rest of the output of the file using awk
I am trying to parse through set of data from large txt file and only intersted in output below . i am using below awk command to get the output but it only shows first line , i need to see the...
Showing results 1 to 24 of 24

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