Linux is a popular, open source operating system kernel. Linus Torvalds started development of the kernel in 1991.

learn more… | top users | synonyms

-1
votes
2answers
109 views

How to write code for different versions of linux

So, I've written some fairly big code for cent OS 7.1. The code essentially makes use of different command line tools by parsing the text output and shoving it in a database... pretty straight forward....
-2
votes
2answers
36 views

Using Python to start up multiple programs simultaneously

I am attempting to write a python script that with remove some of the tedium of my everyday actions. Specifically, I always need to run Eclipse, Java VisualVM, and a docker container. I had planned ...
0
votes
1answer
86 views

How to package a SDL2-based Linux app?

I've written a small toy application using SDL2. I want to distribute it the most user-friendly way, for Linux. I should make a deb package, but then I should also make packages for other distros, ...
1
vote
0answers
56 views

Auto Create VM and display IE

I have just acciquired an old Dell Poweredge SC1425 from an old friend, this server will act as a development box for web based applications. All has been going well, I have installed the following ...
0
votes
0answers
20 views

Is there a cross-platform way to execute a Python3 script fullscreen?

I'm currently developing a small CLI game in Python for practice. While I can set the shell width and height quite easily, there are lots of different screen sizes in use right now, and I would like ...
0
votes
0answers
14 views

Update Mechanism for Web-Application embedded on Linux SBC

For one of my current projects (that will later turn into a commercial end product) I was looking for a way to perform updates to the software and I came up with the following solution: Details to ...
0
votes
0answers
32 views

using pthread_cond_broadcast with no mutex or waiting thread?

Assuming some pthread_cond_t condvar; properly initialized with pthread_cond_init am I allowed to pthread_cond_broadcast it without any mutex locked and thread blocked with pthread_cond_timedwait on ...
0
votes
0answers
28 views

Monitoring interfaces and subscribing to multicast on them

How can a program enumerate the available IP interfaces, and monitor changes in them, to subscribe to and send IP multicasts on all of them? I ask because I am troubleshooting a problem with the ...
0
votes
0answers
73 views

A callback for when data is received?

So, my understanding is that the Kernel could receive TCP at any time, and that generally a C program asks the Kernel synchronously/asynchronously if it has data available. Would it be possible for a ...
0
votes
0answers
617 views

Best way to signal all child processes to terminate using C

I have been assigned the task of designing a simple web server using C in my UNIX & C class. The webserver listens and forks when a successful connection is made so that multiple clients may be ...