#General questions
50 messages · Page 1 of 1 (latest)
Awesome!
I'm not enough of a linux expert to give a good explanation, but I think sudo allows a user to run commands with root privileges without logging into the root account.
ah i see
Okay, for some reason, only firefox-esr is available, which is strange.
So sudo apt install firefox-esr should get you the extended support release version of the firefox web browser.
nice that worked
i mean hey it is what it is right 🤷♂️
it is what it is, and that is overpriced
ok, but ⭐ apple ⭐
apple is like a fashion brand, they have some good things but it's overpriced
sudo allows a user to launch a command or session as the root user, su let's you switch user (to root with the password). Sudo can be replaced with programs like doas aswell, they all achieve the same thing
I see, tthanks for explaining
#3 Windows Hater received a thank you cookie!
Syscalls are pretty cool, they are like functions provided to executables to do stuff like fork processes, write to files etc, if you write assembly hello world you will learn about them
https://godbolt.org is good for looking at what different programming languages do under the hood (syscalls, assembly etc)
thanks, probably will be useful one day once i understand these stuff
#3 Windows Hater received a thank you cookie!
do you recommend learning assembly before i get more into C and Rust?
i really want a solid foundation before i head deeper into this field
is there like a long tutorial that starts with basic information about operating systems, then teaches assembly and then C? i can learn rust later i just want the important things first
like i want it to cover all these abi gnu ffi bsd etc etc stuff
and important terminal commands
I'd recommend c or rust first tbh
In assembly you are completely on your own and manipulating pointers, ram, registers and the stack all by yourself
C might be easier as it still lets you do alot of it, but at a much simpler syntax
thats the wrong way to do it, its supposed to be C -> assembly -> OS
also just saying, languages like rust make it very easy to write an OS without assembly
is that really the way to do it tho
i feel like understanding operating systems is the foremost thing to build a foundation of knowledge
you cant understanding operating systems unless you understanding its code first
C is a simple way to get started, then you could go asm which gives you machine knowledge as i call it
how long would it generally take for someone to grasp C, then assembly and then os stuff?
C can be grasped easily in a few weeks
Assembly too is easy if you start with Arm and not x86 (risc is just easier)
Also, going to quote osdev wiki, "operating system development is the last frontier for a programmer"
whats that supposed to mean?
the last thing any programmer should learn?
The last thing a programmer will ever conquer
Except maybe a compiler, but llvm made that easy
man thanks for this
bri*ish received a thank you cookie!
https://wiki.osdev.org/Expanded_Main_Page this is the resource i've been looking for
just a reminder, osdev assumes you know intermediate knowledge about low level in general
but
its the best wiki ever
Intermediate 👀
Been skimming through it, all i see are stuff i never knew existed