This repository contains sample codes for introduction to linux programming workshop conducted at Anadolu University in January 2020. There were no lecture notes therefore there is no notes in this repository either. However, we are working on to write lecture notes with the collaboration of participants. In the mean time, If you need resources take a look at the Good Resources section. Source codes in repository uses both POSIX API and System V API.
Now the executable files, under the build folder, are ready to run.
- Introduction
- Develepment Environment
- File Operations
- Sockets
- Process Management
- Multithreading
- Inter Process Communication
Clone the repository to your home directory:
cd ~
git clone https://github.com/incebellipipo/introduction-to-linux-programming.git
Enter the downloaded folder and create a new build folder, then enter the folder you just created:
cd introduction-to-linux-programming/
mkdir build
cd build/
Generate a Makefile with cmake
. Lastly, build and compile using make
command:
cmake ..
make
Any contribution is welcomed, as always. Most important part is how and what.
This repository needs:
- Translation. Any translation will be welcomed. You may create
README.<LANG_CODE>.md
file next toREADME.md
file. - More examples. Yes we need more examples
- Explanations for examples. I also didn't write what which code does. Sorry folks™, didn't have time to write docs, classic.
- Resources. Good ones. If you think you know a good resource, let us know.
How you can contribute:
- Fork this repository You'll need a github account. If you don't want to create it, clone it, change it, mail it.
- Do what you do.
- Test your code. or I'll. You may make me test your code.
- Use conventional commits. I'm really sensitive about it.
- Create pull request as usual.