top of page
book of spells.webp

Start your journey towards mastering the CLI with our FREE Command Line Book of Spells.

By entering your email address you agree to receive emails from Command Line Wizardry. We'll respect your privacy and you can unsubscribe at any time.

Cybersecurity Ops with bash - Chapter 8 Solutions

  • Writer: Cybersecurity Ops with bash
    Cybersecurity Ops with bash
  • Apr 1, 2019
  • 1 min read

Below are selected solutions for the Chapter 8 workshop questions from Cybersecurity Ops with bash.


Question 4


Modify wintail.sh to allow the user to specify the Windows log to be monitored by passing in a command-line argument.


Answer


The first line of code in wintail.sh identifies the Application log as the one that will be monitored.


The first line can be replace with the following:


This will use the value of the first argument passed to the script as the log to monitor. If no argument is provided it will default to Application.

 
 
 

3 תגובות


Bagas31 pk
Bagas31 pk
31 במאי

Discover premium apps without limits — only on Bagas31.

לייק

Mawto Org
Mawto Org
24 במאי

Enjoy free daily downloads of premium software with Sigma4PC.

לייק

Kms Pico
Kms Pico
22 במאי

Ativar o Windows de forma prática é possível com o kmspico Ativador. O kmspico Ativador permite o desbloqueio total do sistema operacional. Usar o kmspico Ativador é seguro, rápido e não requer conhecimento técnico. Baixando o kmspico Ativador em nosso site, você tem a melhor versão disponível. O kmspico Ativador é compatível com todas as versões mais usadas do Windows. O processo de ativação com o kmspico Ativador é direto e eficaz. Com o kmspico Ativador, você elimina todas as notificações de sistema não original. O kmspico Ativador também ativa diferentes versões do Microsoft Office. Use o kmspico Ativador quantas vezes quiser, sem limitações. Ao instalar o kmspico Ativador, sua máquina fica mais funcional. Milhares de usuários recomendam o uso do kmspico Ativador. Não perca tempo: ative…

לייק
bottom of page