欧洲杯买球

A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [linux]

LINUX QUESTIONS MUST BE PROGRAMMING RELATED.Use this tag only if your question relates to programming using Linux APIs or Linux-specific behavior, not just because you happen to run your code on Linux. If you need Linux support you can try http://unix.stackexchange.com or the specific Linux distribution's Stack Exchange site like http://askubuntu.com or http://elementaryos.stackexchange.com/

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

Is there a way to read large (GB size) multiple text files fastly using python script? [duplicate]

There is a folder with Gb size text files (most of them are larger than 30 Gb ) and I need to read them and replace " to *. I used sed to do that. But it was very slow. How to do that using a python ...
0
votes
0answers
9 views

How to implement a datastructure(faster than priority queue) to store and process timing events?

Using priority queue is one way but can I improve the time complexity of insertion or deletion etc.
1
vote
0answers
17 views

C++ volatile: guaranteed 32-bit accesses?

In my Linux C++ project, I have a hardware memory region mapped somewhere in the physical address space which I access using uint32_t pointers, after doing a mmap.The release build of the ...
0
votes
0answers
4 views

runlevel2 chkconfig start service in runlevel3

Environment:Os: Centos 7.5I have configured few chkconfig for some services to start with system boot.chkconfig --listCRM 0:off 1:on 2:off 3:off 4:off 5:off 6:offThere ...
1
vote
1answer
16 views

What is the execution chaset with which linux is compiled?

I know that the -fexec-charset=charset flag for compiled Linux systems will probably be the default utf-8. My question is how do I verify that? Is there some /proc variable which will tell me that?...
0
votes
0answers
18 views

UDP packet destination address [duplicate]

I have an application which listens on a dedicated port (4000) of all IP addresses (INADDR_ANY) for UDP messages. 3 IP addresses can receive this message.When I’m receiving the message with a ...
0
votes
0answers
8 views

nohup not working on with my Node.js project on shared hosting server

It's my first web API and was able to deploy it on my shared hosting server. I followed this following step to upload my project. http://medium.com/@mayomi1/how-to-host-a-node-js-app-on-shared-host-...
-1
votes
3answers
36 views

Is there an way to get last 10 characters of a given line of a text file using a shell script? [duplicate]

I have a text file and I need to read last 10 characters of 4th line. Is there an way to do this? I wrote a script to read 4th line but I need to read last 10 characters of that line.sed -n '4p' /...
0
votes
0answers
17 views

Any Java input method framework for Linux? [closed]

I need to make a input method framework in java for linux platforms. This framework must work with any complex non latin writing systems (e.g. chinese, bengali). Any library to do this? I found this, ...
0
votes
0answers
24 views

How do I megre two git repositories and all branches?

I have two repositories I'd like to merge. Both are on github and the goal is to take the other person's repository and merge it onto mine. Keeping anything that is in mine but not theirs and anything ...
0
votes
1answer
21 views

Is there a way to nullify SIGSTOP for a certain script?

I have created a script and I want it to be virtually "immune" to SIGSTOP.I understand that both SIGKILL and SIGSTOP cannot be trapped or ignored.I know that the init system for Linux cannot receive ...
0
votes
0answers
12 views

Deploy React + Spring Boot JAR within service/process to AWS EC2 Linux Server

I have a full stack React.js & Spring Boot Application and I'm trying to figure out a good way to have it deployed to AWS EC2 Linux Server where i can leave it running 24/7. My issue is I can run ...
0
votes
0answers
11 views

SSH server not booting in Packer QEMU Debian VM [closed]

I'm using Packer to boot a pre-installed Debian Buster image on QEMU to provision it for deployment, but whenever Packer boots the image it is unable to connect over SSH. The Debian image is the ...
0
votes
0answers
12 views

Copy to vim clipboard on Digital Ocean droplet [closed]

I am ssh-ing into Digital Ocean Droplet — from an iPad Pro through Termius should it matter..Droplet is Ubuntu 18.04.3 (LTS) x64Vim 8.0 — with +clipboard and +xterm_clipboardI have set clipboard=...
0
votes
0answers
10 views

Map multiple kernel buffer into contiguous userspace buffer?

I have allocated multiple kernel accessible buffers using dma_alloc_coherent, each 4MiB in size. The goal is to map these buffers into a contiguous userspace virtual memory. The issue is that ...

15 30 50 per page