/
Tail Commands

Tail Commands

 

Tail Command Examples

  1. tail filename

    • This would show you the last 10 lines of the file

  2. tail -f filename

    • This would show you the last 10 lines of the file and as new lines come in it would show you the new lines in the file in realtime

  3. tail -n 1000 filename

    • This would show you the last 1000 lines of the file

  4. tail -n 1000 filename > filename2.pcap

    • This would take the last 1000 lines of filename and put them into a new file called filename2.pcap

 

Related content

System Admin-Packet Capture
System Admin-Packet Capture
More like this
Detect end of voice recording
Detect end of voice recording
More like this
Asterisk Logfiles
Asterisk Logfiles
More like this
Queue Callback Report
Queue Callback Report
More like this
Dialogic IMG - IMG 1010 - Call Tracing
Dialogic IMG - IMG 1010 - Call Tracing
More like this
Call Recording Reports-Admin Guide
Call Recording Reports-Admin Guide
More like this
Unable to render {include} The included page could not be found.