r/C_Programming • u/Dear-Ad6656 • 6d ago
Starting systems programming on my Fedora with C. Where should I start?
I'm on Fedora and I want to learn systems programming properly. I know python and some c++. What's the best first step, and what should I avoid as a beginner?
Thanks
18
Upvotes
14
u/bdowns328 6d ago
Write some code that can move around a filesystem. Read and write some files. Setup a basic client / server for some socket ping pong. Fork and exec would be fun to mess with then. Maybe after that, tie into dbus or inotify, etc.
5
u/mikeblas 6d ago
This sub's wiki has tons of resources. If you review them, I'm sure you'll find something you like.
4
u/tastygames_official 6d ago
hello world
3
u/mykesx 6d ago
man man
3
u/Dazzling_Music_2411 6d ago
Work through "Linux Systems Programming" by Robert Love, O'Reilly pubs, for starters.
It will take you quite a long way in.
If after that you're still interested you can get his books on kernel and embedded.
2
u/CarolinaKernel 3d ago
Hey I am in the same boat as you. Like exactly... Fedora, wanting to learn some C for systems programming, reverse engineering in the future with just some basic Python experience and a college C++ course a long time ago.
I just started reading Beej's Guide to C Programming. Its free, assumes you have a little experience but nothing crazy. To start it has me using Vim as my code editor after installing gcc. Im liking it so far and the way Beej explains things seems to click for me more than any tutorial or professor ever has.
Good luck! Let me know if you have any questions.
1
u/aieidotch 6d ago
https://rosettacode.org/wiki/Rosetta_Code
sources.debian.org
github.com
read code, patch code, build code, test code, verify code. repeat
1
u/AntMan5421 6d ago
the goated resource for kernel hacking (definitely some more advanced stuff here)
1
u/iu1j4 5d ago
man standards
1
u/laggySteel 4d ago
I hope this helps https://spirinova.dev/academy/systems/
1
u/JustNomalboy 2d ago
well if you know cpp. why do you want to learn C? I mean you can develop your cpp skills. and cpp is literally "c with classes"
0
u/ChippDipper 6d ago
I would start out with Microcontrollers stm32 or esp32 to learn the basics so you can crash the hardware at a very low level with no harm done to your main pc
-2
u/PlacentaOnOnionGravy 5d ago
AI tutorials