linux tag

403 questions


1 answers
117 views
0
Code to locate the C file currently running

How do I find the location (absolute path) of the C file currently running in the code?I want argv[0] to accept it, but he doesn't.

2 years ago

1 answers
48 views
0
Increase VM Ubuntu Disk Capacity

I'd like to increase the capacity because the ubuntu I'm using in VM is still running out of capacity.Originally, it's 15GB now, so search it and increase the hard disk capacity, and even disk mount? ...

2 years ago

1 answers
41 views
0
Using Python 3 on Linux

You must use Python 3.6 on Linux.Even though I set the alias python='/usr/bin/python3,6', the python 2.7 version was executed I went into the /usr/bin folder myself and looked at it, but there seems t...

2 years ago

1 answers
167 views
0
Does anyone know why the main function returns 9?

ISO/IEC 9899:201x Committee Draft — April 12, 2011 viewed in 5.1.2.2.3 Program termination ..reaching the } that terminates the main function returns a value of 0. It says that when the return value i...

2 years ago

1 answers
43 views
0
What error is errno=2?

I called execl() and found errno=2.What does errno=2 mean? What if I just give you the error number?

2 years ago

1 answers
37 views
0
Linux question.

This is the last step of the project I've been asking about since last time.If the L2 cache miss exceeds 50%, the LED is lit up. Thank you so much, @Daeyoung Heo and Tod.However, in order for L2 Cash ...

2 years ago

1 answers
65 views
0
There are some parts of Linux shell file programming that I don't understand.

It's very basic, so I have no idea what's wrong.test.sh#!/bin/bashecho TEST START !!VAL = `ps -ef | tail -3`echo $VAL Execution resultTEST START !!./test.sh: 5: ./test.sh: VAL: not foundIs there anyth...

2 years ago

1 answers
157 views
0
I want to sleep in milliseconds

I know that the sleep(x) function of C++ POSIX is sleep in secondsI want to do sleep in milliseconds, but is there a function like this?

2 years ago

2 answers
38 views
0
I'm curious about the linux fork() routine

at fork() on Linux,I wonder which parts of the memory are shared by Parent and Child, and which parts are copied and kept.(Before the COW happened.))

2 years ago

1 answers
131 views
0
This is a question related to linux jar.

Currently using Linux, turn tomcat server to war, We are building a server to run java application through jar.Socket communication is required through jar. If you run with Eclipse, it works normally ...

2 years ago
« - 38 - »

© 2024 OneMinuteCode. All rights reserved.