LCL 31 - cut - Linux Command Line tutorial for forensics

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 9

  • @IdAdvancedmonkey
    @IdAdvancedmonkey 16 дней назад +1

    Great video... well done - not seen any other language sets tackled before in other videos. Really interesting.

    • @BlueMonkey4n6
      @BlueMonkey4n6  16 дней назад

      Thank you for the compliments! I have had cases from all over the world so I actually had to work with those other languages.

  • @mikehettinga
    @mikehettinga 2 года назад +2

    Perfect timing again. We just started learning how to digest logs and were told to look at the awk, sed, and cut commands. You just finished the trifecta, thank you and I don't know if I said it before but congratulations on having over 1k subs.

    • @BlueMonkey4n6
      @BlueMonkey4n6  2 года назад

      so glad that these videos are helpful. and thanks for helping me reach 1k subs!

  • @aMulliganStew
    @aMulliganStew 2 года назад +1

    In my case, I’m looking for the last 8 bytes of lines with variable length. At the moment I’m thinking grep (maybe sed?) with a positional parameter. We’ll see.

    • @BlueMonkey4n6
      @BlueMonkey4n6  2 года назад

      Fantastic question! Here is one possible way of doing it:
      since cut doesnt have a specifier for selection from the end of the line, you can use the "rev" command to reverse the line, then select the bytes you want, then reverse the line again:
      $ rev inputfile.txt | cut -b 1-8 | rev
      Like I've mentioned many times, there are MANY ways of doing any task in Linux. Any viewers have another way of doing this using cut or other tools? Please post and share

  • @dmytrobilovol9073
    @dmytrobilovol9073 Год назад +1

    Thank you for the clarification, Blue Monkey. Good job. Like, Subscribe :)
    P.s. Jak Spravy means How are you doing ;)

    • @BlueMonkey4n6
      @BlueMonkey4n6  Год назад +1

      Ласкаво просимо! Laskavo prosimo!

  • @peterkwok4445
    @peterkwok4445 2 года назад +1

    Pog