# Grep command use

**URL:** <https://community.asterisk.org/t/grep-command-use/106804>\
**Category:** Asterisk Support\
**Created:** [February 5, 2025, 7:55pm UTC](https://community.asterisk.org/t/grep-command-use/106804 "2025-02-05T19:55:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daras](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@daras](https://community.asterisk.org/u/daras)\
**Post date:** [February 5, 2025, 7:55pm UTC](https://community.asterisk.org/t/grep-command-use/106804/1 "2025-02-05T19:55:11Z")

</div>

hi, newbie here!  
How are we using grep , with what options to find something in the full.log or asterisk cli during a call ?

if i want to find a specific verbose how can i filter it ?

thanks

---

<div class="post-metadata">

**Author:** ![Pooh](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@Pooh](https://community.asterisk.org/u/Pooh)\
**Post date:** [February 5, 2025, 8:12pm UTC](https://community.asterisk.org/t/grep-command-use/106804/2 "2025-02-05T20:12:05Z")

</div>

On Wednesday 05 February 2025 at 20:56:39, daras via Asterisk Community wrote:

> How are we using grep , with what options to find something in the full.log  
> or asterisk cli during a call ?

I find your question very unclear.

If you are asking how to use the grep command, I think the Asterisk mailing  
list / forum is not the right place - it is far too generic a question, and  
not about Asterisk.

On the other hand if you are asking how to find something in the Asterisk log  
file, then tell us what it is you want to find and we might be able to assist.

> if i want to find a specific verbose how can i filter it ?

A specific verbose what?

I assume that English is not your native language, so please try to say more  
about exactly what it is you are doing, and perhaps post also a full version  
of your question in your native language so that we might try to translate it  
and understand what information you are asking for.

Antony.

–  
3 logicians walk into a bar. The bartender asks “Do you all want a drink?”  
The first logician says “I don’t know.”  
The second logician says “I don’t know.”  
The third logician says “Yes!”

---

<div class="post-metadata">

**Author:** ![daras](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@daras](https://community.asterisk.org/u/daras)\
**Post date:** [February 6, 2025, 8:46am UTC](https://community.asterisk.org/t/grep-command-use/106804/3 "2025-02-06T08:46:16Z")

</div>

ok, maybe i didnt explain it ver clear

I want to search a specific call in for a specific date/time in /asterisk/full.log

i will use grep ‘number\_of\_caller-id’ to find it ?

---

<div class="post-metadata">

**Author:** ![Pooh](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@Pooh](https://community.asterisk.org/u/Pooh)\
**Post date:** [February 6, 2025, 9:03am UTC](https://community.asterisk.org/t/grep-command-use/106804/4 "2025-02-06T09:03:50Z")

</div>

On Thursday 06 February 2025 at 09:57:07, daras via Asterisk Community wrote:

> I want to search a specific call in for a specific date/time in  
> /asterisk/full.log
> 
> i will use grep ‘number\_of\_caller-id’ to find it ?

If that is all the information you have with which to identify the call, then  
yes.

It’s difficult to tell you how to search for something without knowing what  
information you have available in order to find it.

Sometimes you might need to find a call from a particular Caller ID, sometimes  
you might need to find a call in to a specific DDI, sometimes you only know the  
date/time and have to see how many calls came in around that time.

It all depends on what informatin you have to identify the call you are  
looking for.

Antony.

–  
Numerous psychological studies over the years have demonstrated that the  
majority of people genuinely believe they are not like the majority of people.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [March 8, 2025, 9:04am UTC](https://community.asterisk.org/t/grep-command-use/106804/5 "2025-03-08T09:04:41Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
