• 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: September 7th, 2023

help-circle

  • I ran it as my primary distro on my main machine for a while way back when. I don’t recommend that.

    What I do recommend is going though the entire process even if it’s just in a VM. It’s incredibly educational and will teach you a ton about Linux and OS construction in general. I used to recommend it to everyone I was teaching linux/ Unix too and all the students who actually went through it and completed it now have successful IT careers. 100% an incredibly valuable teaching resource, you will look at all OS’s with new eyes after you’ve built one bit by bit from source by hand.



  • Lydia_K@startrek.websitetoLinux@lemmy.mlIs anyone using awk?
    link
    fedilink
    English
    arrow-up
    58
    arrow-down
    1
    ·
    11 months ago

    I use awk all the time, nothing too fancy, but when you need to pull out elements of text it’s usually way easier than using cut.

    awk {’ print $3 '} will pull the third element based on your IFS variable (internal field separater, default is whitespace)

    awk {’ print $NF ‘} gets you the last element, and awk {’ print $(NF-1) '} gets you one element from the last, and so on.

    Basic usage but so fast and easy for so many everyday command line things.