• Important: We recently upgraded our forum software - please let us know if you run into any issues.

Search results

  1. L

    Programming with BASH

    Hello, I would like to know if it is possible to write in a log file from script without having to put all the time >> filenema in each command. I have a draft bash file to create the one I need with lots calls to the same log file. #!/bin/bash extract_log=/home/joserodriguezan/extract.log...
  2. L

    Programming with BASH

    Hi Rob, This is what I need. I was using tail -n 20 extract.log | grep "word", but yours is better. Thank you very much.
  3. L

    Programming with BASH

    Hi, I need to know how to extract text from a log or txt file with a bash. for example, looking for some words into the file and grab the information after : text : 0 I am looking for text and I will get 0 I hope I can explain correctly. Thank you,
Top