I want to learn unix and programming. so i installed openbsd VM. what should i learn next?? I want to be a good programmer be smarts so now what? which lang should I learn first? Do I have to study electronics too?
what do you know about programing? you do not need to learn electronics. start with the basic shell, openbsd uses ksh most people use bash, all shells are pretty much the same. start off with learning how to move around and interacting with your OS. figure out how to install packages. get a text editor you want and figure out /etc/ all of your system's configs will be there. learn what a daemon is. on openbsd has httpd by defualt. you should peek into its configs in /etc/examples/ and get a basic web server running. get to learning how to start,stop,enable,disable daemons. you would use rcctl another thing is learning how to combine programs. so using pipes and understanding basic stranderdIO like how to cat a file and then run it thu grep. sed. or any other programs. ffmpeg, curl, imagemagic, wget are good ones to do real things like edit videos or images or scrape stuff off the internet. this standerdIO will get you started in learning shell scripting. witch is really powerfull. programing C on openbsd i found to be tricky when first starting out. if you know programing terms and the ideas of it. use perl. its like the shell and quite more powerful. use AI to help you learn. its knolage with openbsd is bad but it is useful for understanding concepts. this is also aimed at beginers you should try going thu bandit https://overthewire.org/wargames/bandit/ it will teach you basic unix stuff. and some shell scripting
>>367 i know how to install openbsd and linux and how to do do basic shit like moving files around and exploring the file hierarchy but no programming langs or anything
i assume u want unix stuff. if you wanna harden ur shell knowlage. do bandit, look into useful shell one liners and try making one you want u want. doing some shell scripting with common useful tools sed grep curl ffmpeg wget. i find that shell learning material is really shit but chatgpt can prob give you something that works. if you wanna know unix layout and workings. look into daemons, rc scripts, cron, what /etc/ has (base install has cleanest slate to study from), what a chroot is, user premitions and why u should have unprivlaged users for daemons. a good task for learning parts of ur system is making a router or setting up a webserver, both are pretty basic but if you look into how it is ran and why it will make sense. now for programing, perl is a lot like shell syntax and not like othee languages syntax will look weird compaired to othersx. learning perl book (lama book) is what i am reading, it expects u to know a language and some jargen but u seem smart enough. there is shit like c and c++ and python if u dont want a unix like language, perl is old and companies prefer c++ and python more. u wont be making 3d games in perl. but perl is known as glue language, and a data wrangling language. its the sysadmin's choice to make ur unix do work u want. https://man.openbsd.org/hier https://man.openbsd.org/man8/intro.8 faq should be really good on openbsd
if you keep working at ur unix knokagd u can make a website like this one (i started unix like late in 2020 ish just doing manjaro linux and playing games not learning and using it like windowz. and it was not until like 2022 is when i started getting arch linux server and hosted a shitty website. i then made a music archive website i shared with people, not my music just previous site disappeared so i rehosted it. then i dicked around more and then got openbsd running, and i been doing unix on and off with openbsd and i love openbsd. shitty support for file systems and u have to use amd or intal graphics. and wifi id a gamble, but most all wired connections work. it also lets u be like gentoo and easily roll out a custom kernal and things. openbsd makes it super easy if u wanted to do that stuff. i later made this website from scratch with help of chatgpt and learning php. if u wanna do website programing like this. learn cgi. u can use any old language for cgi but perl and php is better as it grew from there.. dont use shell scripts for cgi unless u wanna get pwnd..