How do I practice Unix programming in C?

后端 未结 8 1406
猫巷女王i
猫巷女王i 2021-01-29 21:18

After five years of professional Java (and to a lesser extent, Python) programming and slowly feeling my computer science education slip away, I decided I wanted to broaden my h

8条回答
  •  盖世英雄少女心
    2021-01-29 21:45

    Reinvent a lot of the core Unix utilities. Most of these were (and still are) written in C, so they are a good way to start off learning. Depending on your skill, pick harder or easier utilities to copy.

    Try writing your own malloc. You'll learn a lot about Unix and a lot of C programming as well.

    Google for computer science operating system courses and do the projects there. Many schools have these projects on public websites so you could get everything you need. Here is a link to Purdue's site. Give the shell project a shot; it was difficult, but really educational.

提交回复
热议问题