Questions tagged [linux]
NOTICE: All Linux questions must be related to programming; those that aren't will be closed. 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 https://unix.stackexchange.com or the specific Linux distribution's Stack Exchange site like https://askubuntu.com or https://elementaryos.stackexchange.com/
linux
227,790
questions
0
votes
0
answers
11
views
How do I debug a troublesome bash backup script?
I'm pretty new to bash/shell scripting and I'm having a bit of trouble figuring out exactly were I'm going wrong with this simple bash backup script that I am trying to write for my server.
when I run ...
0
votes
0
answers
7
views
Direct I/O in kernel space fails
For some specific reasons, I'm managing to read file directly from disk (i.e., bypassing the page cache) in a x64 Linux kernel (v5.4.0).
In user space, this can be done by passing the the O_DIRECT ...
-2
votes
0
answers
16
views
Fedora: updating the NVIDIA driver succeeds but on reboot it changes back to older version [closed]
On a desktop pc, Fedora39, new kernel 6.9.7 and an NVIDIA GTX-650 gpu, I have done an update which included a kernel update.
Now, I am updating the NVIDIA driver (from 470.239.06 to 470.256.02, as ...
-1
votes
0
answers
9
views
Permission denied when build webrtc for linux
I meet this error when try to build webrtc for linux on windows
[E2024-07-05T15:15:45.929653+07:00 21096 0 builder.go:222]
[P21305 15:15:43.263 action_plan.go:163 I] In root:
[P21305 15:15:43.263 ...
0
votes
0
answers
7
views
How can I disassemble a whole obj file in valid asm, amend some sections of such asm code and reassemble to obj?
Is it possible on Linux to use objdump (or any other utility) to fully disassemble an obj file to asm code, modify such code and then pass the asm to as?
The challenge I have with objdump is that it ...
0
votes
0
answers
18
views
Using an R studio server built on University GPU - Package installation stops and prompts resulting in a non zero exit status
I have been using a GPU hosted RStudio server to conduct a bunch of analyses. Whilst I was able to install a few packages and run them, however, for some other packages despite installation - they ...
0
votes
0
answers
10
views
How to config cmake to link to `$CONDA_PREFIX/x86_64-conda-linux-gnu/sysroot/lib64/` instead of `/lib64`
I use conda to setup a environment with gcc and cmake to build a program
cmake -D PKG_PLUGIN=ON -D PKG_EXTRA-FIX=ON -D PKG_KSPACE=ON -D PKG_MISC=ON -D PKG_PLUMED=ON -D LAMMPS_INSTALL_RPATH=ON -D ...
-1
votes
0
answers
10
views
Preserve Linux capabilities when extracting an archive (tar, cpio) [closed]
I need some help with preserving Linux capabilities on target Linux.
What I tried to do is to create an archive (tar, cpio) of some files with their capabilities, and than extract them on target Linux....
0
votes
0
answers
9
views
Always etting error 404 when trying to enter traefik dashboard
I'm trying to run traefic on my docker, I instaled it, everything work I even have let's encrypt staging certs, but when I'm trying to login to dashboard I'm geting 404 error page not found
i'm gona ...
-2
votes
0
answers
19
views
How to restore user to sudoers? [closed]
The system is Ubuntu 22.04.2.
I mistakenly removed my user from sudoers, and the root account cannot login directly.
Now, if I use the "sudo" command, "user is not in the sudoers file. ...
0
votes
10
answers
75
views
How to get the mounted point full path while it has space in bash
I have an UBUNTU installation USB disk.
The disk name is "UBUNTU 22_0" and will be mounted on "/run/media/UBUNTU 22_0-sda1".
There is a space on it so the command "df | grep /...
0
votes
0
answers
19
views
ChromeDriver and ChromeDriverService Do Not Work
The test server worked well, but when you try to deploy it to another server, it stops working at chromeDriverService = ChromeDriverService.createDefaultService(); even if you remove the ...
-1
votes
0
answers
21
views
Linux libvirt iptables forwarding using Natted mode [closed]
I'm trying to host a web server in a VM using port forwarding. I set up the required iptables rules, and I can successfully access my website using the host IP. However, after setting these rules, the ...
-1
votes
0
answers
24
views
Not allowing SSH server to publish host key [closed]
I am trying to understand the authentication flow of ssh, handshaking of client and remote server. I want to allow only specific ssh clients to ssh into the remote ssh server. To do this, I need to ...
-3
votes
0
answers
27
views
installing linux on windows 10 dell laptop [closed]
when I tried to install ubuntu linux on my laptop i faced alot of problems
So First I installed linux on a windows 10 by installing ubuntu iso file and unitbootin and i created a partition from c ...