Onno (VK6FLAB)

Anything and everything Amateur Radio and beyond. Heavily into Open Source and SDR, working on a multi band monitor and transmitter.

#geek #nerd #hamradio VK6FLAB #podcaster #australia #ITProfessional #voiceover #opentowork

  • 0 Posts
  • 97 Comments
Joined 6 months ago
cake
Cake day: March 4th, 2024

help-circle










  • Onno (VK6FLAB)@lemmy.radiotoLinux@lemmy.mlBeginners Guides
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    18 days ago

    My first recommendation is to become familiar with one flavour of Linux. Debian is a solid choice and it will give you a good understanding of how a great many derivatives operate.

    The command line is a tool to get things done, it’s not an end to itself. Some things are easier to do with a GUI, many things are easier to do with the command line interface or CLI.

    Many Linux tools are tiny things that take an input, process it and produce an output. You can string these commands together to achieve things that are complex with a GUI.

    Manipulation of text is a big part of this. Converting things, extracting or filtering data, counting words

    For example, how many times do you use the words “just” and “simply” in the articles you write?

    grep -oiwE "just|simple" *.txt | sort | uniq -c

    That checks all the text files in a directory for the occurrence of either word and shows you how many occurred and what capitalisation they used.

    In other words, learning to use the CLI is about solving problems, one by one, until you don’t have to look things up before you understand why or how it works.









  • If you’re not a programmer, then what you’re saying sounds reasonable, but if you are, it’s not.

    Different operating systems use different ways to interact with the outside world, in fact, it’s pretty much the only thing an operating system does.

    Consider for example responding to a mouse click.

    Each operating system handles this differently, sometimes within the same OS it’s different depending on what else is happening, (Linux X11 vs Linux Wayland).

    A mouse is pretty trivial on the face of it, but the operating system needs to be able to track each pulse from a mouse and respond to that and then it needs to tell your program about it. In other words, it needs to interrupt your program, deal with the pulse, update the relevant information, then resume your program.

    The same is true for the screen, disk storage, keyboard, memory and even the CPU itself.

    Even if the various operating systems use the same CPU, and these days they mostly don’t, running the same program in multiple places is extremely rare, and that’s for companies who have the source code to the software they sell.

    Some programs are more universal, because they’re written in a language like python that’s compiled when you launch it, but dig inside and you’ll find code specific to each operating system.

    Source: I’ve been writing software for over 40 years.