LCL 31 - cut - Linux Command Line tutorial for forensics

Поділитися
Вставка
  • Опубліковано 4 сер 2024
  • Linux Command Line tutorial for forensics - 31 - cut
    ♥️ SUBSCRIBE for more videos: ua-cam.com/users/bluemonkey4n6...
    Difficulty Level: beginner
    Prerequisites: basic understanding of linux command line
    In this video, we will look at the cut commands to help you trim down files, in particular log files
    Video timeline
    00:00 intro
    01:10 cut -b: byte range
    02:56 cut -f: select only these fields, cut -d: delimiter
    03:50 cut --complement
    04:22 cut --output-delimiter
    06:44 cut -c: character range
    10:16 recap
    ⭕️ For other videos about the Linux command line, see other videos in this series: • Linux Command Line tut...
    Linux distro:
    CAINE  linux (www.caine-live.net)
    Virtualization software:
    Virtual Box (virtualbox.org)
    🔨 Gear mentioned in this video:
    sed & awk: UNIX Power Tools (Nutshell Handbooks) from Amazon: amzn.to/3BsBv59
    Sed and Awk: Pocket Reference, 2nd Edition from Amazon: amzn.to/2WXon94
    Icons made by freepik from @flaticon www.flaticon.com/authors/freepik
    Icons made by Smashicons from  ttp://www.flaticon.com/authors/smashicons
    This course was designed to provide information on how to use the command line environment in a Unix/Linux system to accomplish tasks such as imaging, data acquisition, and archiving.  his course covers the basics of Unix/Linux commands that allow users to view and edit text files, obtain hardware and system information, partitioning and formatting, process related commands, manipulating disks and partitions, imaging, archiving, logical acquisition, live system response, and basic networking.
    This would be beneficial for folks who are interested in digital forensics, incidence response, system administration, ethical hacking, or just plain linux.  his course covers material for beginners as well as for advanced users. This course would also be helpful if you are considering taking the CompTIA Linux+ certification test.
    DISCLAIMER: Links in this video description might be affiliate links. If you purchase a product or service using one of these links, I may receive a small commission at no additional cost to you. Thank you!

КОМЕНТАРІ • 7

  • @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