linux tag

403 questions


1 answers
142 views
0
Tell me how to do a unit test in C language, samples, and experiences!

Hello.I'm a beginner developer.I want to do a unit test while doing a socket program with c in the centos Linux environment, so I am posting a question like this.Could you briefly tell me the Unit Tes...

2 years ago

1 answers
87 views
0
Linux kernel question.

After adding one module as insmod to the kernel space, the added driver tries to generate a SIGUSR1.At this time, I want to receive and process the SIGUSR1 signal of kernel space from user space, so w...

2 years ago

1 answers
53 views
0
Problems with using Telnet in Mac OS

I'm trying to run the server to LinuxIf I connect remotely, it looks like a picture, but I can't connectSSH is allowed remotely, but it is still not possible to access it through telnetIf there is any...

2 years ago

1 answers
41 views
0
Linux proc question!

I'm going to make the following with C or Python, how should I make it? ㅜ

2 years ago

2 answers
111 views
0
This is a question about the development environment (beginner)

It's not a question about the code, but if it's against the rules, I'll delete itI'm a beginner who started Python codingOnly Many educational classes use Linux environment or virtualenv? Or I saw you...

2 years ago

2 answers
100 views
0
How to set relative paths by file, not by path criteria for entering commands?

The title is weird because I don't know it well.The result depends on where the command written in the shell script runs the script.For example:#!/bin/shpwdScripts like this home p parent ch Child te...


2 answers
120 views
0
Can you copy the Linux server itself so that it can return to the same environment on the local virtual machine?

As per title Can you copy the Linux server itself so that it can return to the same environment on the local virtual machine?How should I do it if I can?

2 years ago

2 answers
41 views
0
Linux Driver Questions!

I made a driver and installed the insmod and added it to the module.Other programs have even added values to variables in this module, but is there any way for me to read the variable values that have...

2 years ago

1 answers
47 views
0
I have a question about using Python on Linux.

I check the L2 cache miss rate using perf, but if it goes over 50 percent, I want to light the LED on the raspberry pie. You want to write this in Python.When you turn it off, Linux in Raspberry can t...

2 years ago

1 answers
61 views
0
Preprocessor C treated linux as constant 1. Why is that?

Preprocessor C in GCC treated variable name linux as constant 1.//test.c:#include <stdio.h>int main(void){ int linux = 5; return 0;}Looking at the result of pretreating this with gcc-E test.c,...

2 years ago
« - 36 - »

© 2024 OneMinuteCode. All rights reserved.