02-06-2021 03:41 AM
In a IOS command line, I can use the "include" command to filter piped results.
PC1#show running-config | include inter interface FastEthernet0/0 interface FastEthernet0/1 interface FastEthernet1/0 interface FastEthernet1/1 PC1#
How can I , or is it possible, to filter the result of the helping information get from "?"? I tried to type the question mark with ctrl+v ? but it doesn't work.
PC1#show ? | include con ^ % Invalid input detected at '^' marker. PC1#
Solved! Go to Solution.
02-07-2021 03:16 AM
Cisco use (Coding methodology) what is the best used, it all depends on how they write core on C or whatever language they incorporate as IOS.
In Linux, you have many possibilities for what you looking for since that is a full OS
02-06-2021 05:37 AM
PC1#show ? | include con
not sure what you trying to achieve, are you looking to show command get output only have con?
02-06-2021 06:39 AM
When I type "show ?", I get the following result:
R1#show ? aaa Show AAA values aal2 Show commands for AAL2 access-expression List access expression access-lists List access lists acircuit Access circuit info ...
R1#show
How can I filter this result and get only the lines that include "con"?
02-06-2021 07:19 AM
Hello!
You can invoke the context-sensitive help partway through a phrase to obtain a list of commands matching that phrase. For example:
R1# show con? console confirm ...
I hope this helps - thank you!
-Christopher
02-06-2021 08:13 AM
why not use simple show con? will give you more granular output.
02-06-2021 05:54 PM
I know I can use "show con?". I'm just discussing the possibility of filtering the result of "show ?". Is it possible to filter the result of "show con?"?
02-07-2021 03:16 AM
Cisco use (Coding methodology) what is the best used, it all depends on how they write core on C or whatever language they incorporate as IOS.
In Linux, you have many possibilities for what you looking for since that is a full OS
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide