All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
13 views

rsync: mkstemp failed: Protocol error (71)

I ran into this issue with an rsync script after I changed the destination from a local directory to a CIFS mount. All of the files in the source directory will throw this mkstemp protocol error and ...
user avatar
0 votes
0 answers
10 views

btusb.ko file missing...Getting "Module not found error" [duplicate]

I have the issue of not being able to use my USB Bluetooth adapter(It is a CSR 4.0) on my Ubuntu OS 20.04.4 LTS with GNOME version 3.36.8... Normally this USB stick works perfectly on my Windows but ...
user avatar
-1 votes
0 answers
32 views

How to copy text from vim to the terminal?

I want to copy from vim into my clipboard. I tried to follow the answers of this question: How to copy text from vim to an external program? Inside Visual mode after having selected what I wanted to ...
user avatar
  • 295
0 votes
1 answer
29 views

Cannot append user to group

I'm having trouble adding a user to a group: # useradd -aG group user # useradd -a -G group user # useradd -G group user --append It tells me that the -a option is an invalid or unrecognized. Can ...
user avatar
  • 780
-2 votes
0 answers
15 views

How would you create an HTML code for an (RSS Feed Like) text box that [closed]

How would you create an HTML code for an (RSS Feed Like) text box that automatically creates next box in ascending order? It is Something Similar to TT-RSS Example: BOX3 (newest): HELLO TEXT 3 (DATE ...
user avatar
0 votes
2 answers
128 views

I'm trying to run a Debian 11 VM on my CentOS 7 Home Server, but get hit by this issue with virt-install

See below, the issue im having when trying to run virt-install on its own. Same issue when I try with all the config I plan to use: /usr/lib/python2.7/site-packages/requests/__init__.py:104: ...
user avatar
0 votes
2 answers
30 views

How to wget all Betacoronavirus .tar.gz files from BLAST database directory?

I'm trying to use wget to download all Betacoronavirus files ending in .tar.gz from https://ftp.ncbi.nlm.nih.gov/blast/db/. I can use wget and paste in the link to a single one of those files, and it ...
user avatar
  • 103
0 votes
0 answers
13 views

split column in R data.frame [migrated]

the data.frame is like: |col_1| |------| |A | |B | |B | |A | |A | The expected output should be: |col_A |col_B | |---------|-------| |A |NA | |NA |B | |A |NA | |NA |B | |...
user avatar
0 votes
2 answers
83 views

Finding values of one file within range of another file and selecting the top value

I have two files A and B. File-A has 4 columns and 600,000 rows. File-B has 4 columns and 5000 rows. Example: File-A: ENSB1 1 12245 0.53 0.002 ENSB2 1 13400 0.27 0.0003 ENSB3 1 14780 0.13 0.00001 ...
user avatar
-1 votes
3 answers
88 views

Appending a character to field records based on a repeated value from the second field

I have this input array='2 0.00000 -1.45191 6 0.81778 -0.63413 10 0.85020 -0.60170 8 1.40260 -0.04931 22 3.25781 1.80590 20 4....
user avatar
0 votes
3 answers
32 views

debian 8: My machine started to only use IPv6 for *outgoing* connections. How to go back to IPv4?

I'm running debian 8 on my server. Recently, the server starting only using IPv6 for all outgoing TCP connections. It still accepts IPv4 for incoming connections, however. Because of this, I can't ...
user avatar
  • 271
0 votes
1 answer
42 views

Error while upgrading from Fedora 35 to Fedora 36: VirtualBox requires libvpx.so.6()(64bit), but none of the providers can be installed

While upgrading my system from Fedora 35 to Fedora 36, I first ran sudo dnf upgrade --refresh And then, sudo dnf system-upgrade download --releasever=36 But it is giving rise to this error: Before ...
user avatar
1 vote
0 answers
10 views

How to run a child process inside firejail sandbox?

Hello Linux folks i need help running with firejail with a java program that is in sandbox firejail --private --trace java -jar program.jar But this program can't spawn child process (chromium) due to ...
user avatar
  • 11
0 votes
2 answers
40 views

Get values from pipe delimited file to the normal text file in Linux

I have a pipe delimited file Lookup.txt: Column1|yellow|value|628291 Column9|red|value|346801 File.txt: Yellow YellowDiamond Redgold I am trying to get the value of Yellow present In File.txt to the ...
user avatar
0 votes
0 answers
30 views

Securing Rsync Daemon Over SSH with NON-root user

Unfortunately, due to hosting provider, I am unable to access the rsync daemon as root and secure it accordingly. Instead, in order to take regular remote backups from the server, I have to access ...
user avatar
0 votes
1 answer
10 views

What's the difference between kmap and page_address in x64 system?

kmap() allows you to map a page to some address that functions in kernel or modules can access. While page_address() also allows you to retrieve the address to access the page. It says that kmap() is ...
user avatar
0 votes
0 answers
24 views

No sound output on Arch linux after suspend or some time of inactivity

Lately, I have encountered some issues with my Built-in audio device. I cannot play any sound for some reason after waking up from the suspended state or after some time of inactivity (I mean no apps ...
user avatar
0 votes
1 answer
25 views

unable to print a positional parameter in a script

I'm using this method to open a Gnome terminal window and run command(s) — in this case, to send me simple notification messages (will be scheduled via at): #!/bin/sh gnome-terminal -- /bin/sh -c '...
user avatar
0 votes
1 answer
13 views

Joining hosts to freeIPA without changing hostname

I've been asked to join linux hosts in my company to freeIPA. But the problem is that I'm not allowed to change hostnames. So I should leave hosts NetBios names intact. I am wondering if there is any ...
user avatar
0 votes
0 answers
9 views

Settings won't launch (PopOS)

I am currently running Pop!_OS 21.10 on my Raspberry Pi 400 (4GB RAM model) and upon trying to change the wallpaper today, (right click on desktop> change background) but it just shows a loading ...
user avatar
0 votes
1 answer
19 views

Auto detect network interface card, network init.d

I have build my LFS linux that based in this book, it's working fine and network interface card is working. Even it's configuring IP automatically with using dhcpcd service. According chapter 9 in ...
user avatar
0 votes
0 answers
17 views

How to choose the best low latency stack? [closed]

The use case is very simple: the program read data from a websocket conn the program process data the program send data to the websocket conn The goal here is: since the time spent between 2 and 3 ...
user avatar
0 votes
1 answer
32 views

rpm database lost, how to proceed?

I completely lost the rpm directory under /var/lib with no way to recover it. (I know what I should have done...) I have made a new one (rpm --initdb) but of course rpm and yum no longer know what's ...
user avatar
0 votes
1 answer
31 views

How to install gcc and build-essential on debian 11?

In the /etc/apt/sources.list, the allowed sources are deb http://deb.debian.org/debian buster main contrib non-free deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free deb ...
user avatar
0 votes
1 answer
28 views

Why k3s is still seeing swap on Debian Bullseye?

I've installed k3s on Debian Bullseye (on M1 Pro through qemu/UTM). k3s recommend to disable the swap. After reading the answers of the following questions: How to safely turn off swap permanently ...
user avatar
0 votes
0 answers
7 views

Reposync default temp-cache location

I'm trying to change the temp-cache directory (can do it using the flag "-t"), but I want to know what is the default location of this temp directory. How can I know that? Thanks!
user avatar
0 votes
1 answer
58 views

IP Subnetting /16 into 5 equal parts [closed]

I having a hard time understanding IP subnetting for /16 mask. I went through some tutorials and understood the host part and non-vlsm but with vlsm and dividing into equal parts, is something I am ...
user avatar
  • 101
3 votes
2 answers
352 views

tr command unable to process colour output piped from grep

I'm running macOS 12.3.1 I added a couple of lines to my .zshrc, viz. export GREP_OPTIONS='--color=always' export GREP_COLOR='1;35;40' After this, when I pipe grep output to tr, it returns the same ...
user avatar
  • 53
1 vote
0 answers
20 views

dovecot: Force TCP socket disconnect on imap login failure?

I'm running dovecot 2.2.13 under Debian 8. I'd like to force an immediate TCP socket disconnect after any imap login attempt that fails. Right now, if invalid credentials are supplied during an imap ...
user avatar
  • 271
0 votes
2 answers
36 views

Root password change method

I have try change root password and non of article mentions this command to change root password sudo passwd But how does that change root password with your you specifically stating root user
user avatar
1 vote
1 answer
68 views

How to avoid hardware damage with dd

I wanted to create an encrypted USB-stick. In the tutorial I used it said something like 'to avoid pattern based attacks dump random input to the drive'. So I did by dding /dev/urandom to the drive. ...
user avatar
0 votes
3 answers
84 views

How to replace a field by a shell variable being another field?

Consider the following code: renamed_column='2 6 10 8 22 20 6- 18 8- 12 16' array1='2 0.00000 -1.45191 6 0.81778 -0.63413 10 0.85020 -0.60170 8 1.40260 -0.04931 22 3.25781 1.80590 20 4.32051 2.86860 ...
user avatar
-1 votes
2 answers
57 views

awk no print if value from file1 not match value in file2

file1: G A 4 H B 3 I C 2 J D 1 file2: M H 6 N H 5 O K 4 P J 3 Q I 2 R I 1 S G 0 T L 1 Desired: M H 6 N H 5 P J 3 Q I 2 R I 1 S G 0 print only rows where $2 from file2 matches $1 from file1 I'm ...
user avatar
  • 1,631
1 vote
0 answers
35 views

Why isn't a systemd user session started by `su`?

When I use ssh to log in to the root user on my server, an entry 0 is created in /var/run/user because pam_systemd tells systemd-logind to do this. This is an indicator that a user session has been ...
user avatar
  • 147
0 votes
0 answers
10 views

command not in docroot (suexec)

I'm setting up a server but when I'm trying to config suexec it's returning this error: [2022-05-21 17:10:53]: uid: (1004/scripts) gid: (1008/scripts) cmd: register.cgi [2022-05-21 17:10:53]: command ...
user avatar
  • 48
0 votes
1 answer
24 views

I installed wget into my local directory because the system-wide wget was out-of-date. How do I use my updated wget instead of system-wide?

I have a directory on a computer (used by my entire department) that has out-of-date wget software (wget-1.14). I installed a new version into my local directory, where I have write permissions (I'm ...
user avatar
  • 3
0 votes
2 answers
29 views

How to open several local (HTML) documents in lynx?

I was planning to use lynx for reading all local HTML files in a folder: lynx ~/Documents/webpages/* I don't know how to move beyond the first document. Quitting with qq exits the program and returns ...
user avatar
1 vote
1 answer
22 views

What's required to let a domain send outbound emails from multiple domains?

Let's say I have: 40 outbound emails to send main domain - main_domain.com 4 separate domains-workers with Postfix - mail.my_postfix1.com...mail.my_postfix4.com Goal: send 10 emails via each of 4 ...
user avatar
  • 13
3 votes
3 answers
128 views

Every row of a file is converted to a new file

I have a file that contains four columns and 5000 rows. I want to make 5000 new files from this file so that each file has one row from the original file. Also, I want to name the new files according ...
user avatar
2 votes
1 answer
42 views

In tcsh, how can I keep '{' '}' in assigning a variable?

I am making a simple shell script using the tcsh shell. I assigned a variable as a command to use later. But brackets within single quotes disappear. set aaa = "test '10' '{}' ' " ; echo $...
user avatar
  • 23
1 vote
1 answer
20 views

systemd-networkd match for LAN

I want static LAN IP addresses for my devices (an ethernet and wifi ) but in my usual week I connect to two LANs: two gateways, two IP ranges: a 10.0... network and a 192.168.. network. I have been ...
user avatar
1 vote
0 answers
36 views

How to switch from Grub to rEFInd without breaking everything

Okay so a little backstory: I've been trying to install Linux as a dual boot (with Windows) since yesterday, here's how it went down : installed Debian, worked well but I had to boot in nomodeset for ...
user avatar
  • 23
1 vote
2 answers
35 views

Set up a shortcut to open terminal in a specific directory

As far as I know, when you hit Ctrl+Alt+T, the Linux terminal pops up. However, it opens in the default home directory. I want to set up this shortcut to open in the directory I am currently in at my ...
user avatar
1 vote
0 answers
19 views

Split pdf document based on section

(This may be a XY problem, more on the context at the end) Is there any way of programmatically splitting a pdf based on the section titles? That is from this pdf, produce 2 pdfs, where one contains ...
user avatar
  • 366
0 votes
0 answers
22 views

Why does glibc redefine structs already defined by the linux kernel?

The kernel defines struct statfs in statfs.h. glibc could simply include this file. Instead it redefines this struct under bits/statfs.h. I suppose glibc redefines many other things already defined by ...
user avatar
  • 321
0 votes
1 answer
40 views

How to jump to the file and line of the grep -nr output?

Let's say I run grep -nr . -e "This text was found" And get in the CLI: ./subfolder/file.ext:10 This text was found i.e. it's the 10th line in the file "file.ext" in the folder &...
user avatar
  • 145
1 vote
0 answers
25 views

Rework sed for vim's errorformat for circom compiler

compiling ciruits and intend to use quickfix. but the compiler output was not in standard format ... so tried parsing Need help fixing the sed command preping the output for error format so that i ...
user avatar
  • 31
1 vote
1 answer
27 views

What should be the equivalent apport package for CentOS 8

In Ubuntu Linux we can use apport service to get system crash report automatically. Generally following commands are used to manage apport. sudo systemctl enable apport.service sudo systemctl start ...
user avatar
1 vote
0 answers
36 views

Linux freezing after few minutes of using

Good day! Trying to install linux on new SSD but everytime, no matter what i do, even in LiveCD linux freezes and i have to restart PC from button. Tried to install PopOS, Fedora and Debian. Also used ...
user avatar
1 vote
0 answers
16 views

How can I see which is my boot partition in latest suse 12 and 15 OS's?

In SLES 12 S, SLES15 it is observed that the OS can be installed and booted without creating a separate /boot partition. My question is how can we know which is my boot partition as I can't be able to ...
user avatar

15 30 50 per page