All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

end anchor in regex with grep not working

I am attempting to list files that don't end in gz I have a minimal working example: ll chrX_PAR1.phased.vcf.gz | grep -v gz$ should show empty, but the file still shows, with or without quotes. I ...
user avatar
  • 105
0 votes
0 answers
3 views

Do MBR partition numbers need to be contiguous?

I am partitioning an external 1TB HDD for a small embedded Linux system. I want to encrypt the swap partition. According to the cryptsetep FAQ, you need to use kernel device names (/dev/sda, etc) in /...
user avatar
  • 173
0 votes
0 answers
3 views

What are the advantages of using an audio codec with mainline Linux support?

I am a hardware designer who is working on a custom processor circuit board with audio support. Our intention is to have the processor running some flavor of Linux and interface with the audio chip ...
user avatar
0 votes
0 answers
5 views

tmux - show scroll position indicator on left hand side?

How do you show the scroll position indicator on the left rather than on the right? I would like to display it on the top left.
user avatar
0 votes
0 answers
5 views

How to make grub configuration persistent

I recently did some tweaking on my kali Linux which I tried installing nvidia graphics driver and I had to disable nouveau driver. I tried reverting my changes by deleting /etc/modprobe.d/blacklist-...
user avatar
  • 3
0 votes
1 answer
11 views

Listing latest modified sub-directories

So I'm trying to get the sub directory that was modified last. IE. 1727 has 8 backups but I want my script I'm writing to only grep the contents of the latest backup directory. Every backup that gets ...
user avatar
  • 23
1 vote
0 answers
9 views

TWM f.exec automatic

When executing an application either through the terminal or through the TWM menu, it waits for you to click button 1 in order to continue with the process. I think the question is understood, when ...
user avatar
  • 11
1 vote
0 answers
9 views

Why does Windows 11 change the UEFI boot order?

I am dual booting a Dell Precision 7520 with Fedora 35 and Windows. Worked fine with Windows 10. "Up"graded to Windows 11 and now every time I boot into W11 it puts its own boot loader ahead ...
user avatar
  • 31
1 vote
0 answers
6 views

Fedora Laptop sometimes does not shut down and overheats instead

Sometimes (like once a week) when I turn off my laptop, the power is not turned off, while the OS seamingly shuts down. In these instances, the fan turns on maximum power, the battery drains as fast ...
user avatar
0 votes
2 answers
11 views

Erasing the boot disk on an external hard drive

I recently had my original computer stolen so I bought a second hand one and created a boot disk for Bullseye using dd in a linux VM on the original windows OS. This worked perfectly fine and bullseye ...
user avatar
  • 171
0 votes
2 answers
21 views

Filtering find results by length

I want to find all subdirectories inside a single directory. I need to filter by the name length. I have come up with the following: find ./directory -maxdepth 1 -type d How do I filter the results ...
user avatar
0 votes
0 answers
3 views

Linux device drivers: mapping mmio with devm_of_iomap() not working

I am writing platform Kernel device driver for booting group of remoteprocs. DT listed below. I am iterating over the groups of remoteprocs (child device nodes) and iomap them by their indexes inside ...
user avatar
  • 101
-1 votes
1 answer
30 views

When is mandatory send SIGINT programmatically?

I know the recommendable way to terminate a foreground process is through the SIGTERM signal, it because it gives the opportunity to the process itself to clean/release resources. This signal only can ...
user avatar
0 votes
0 answers
11 views

How to automate screen to run a command, extract some text and detach the screen?

I am trying to automate a simple task which contains four steps : A bash script which takes one argument as the port number Open a screen name "Notebook" run a command in the screen ...
user avatar
0 votes
0 answers
14 views

can't download seahorse

Hello I hope someone can help me I want to install seahorse on Linux to delete the keyring but it doesn't work it show me this
user avatar
  • 1
0 votes
0 answers
9 views

PHP Extensions Are Not Enabled

I am running RHEL 7 and I am trying to use PHP 8.1. PHP is installing and the extensions are installed (per-Yum) but not enabled per-PHP. For example, if I run php -m | grep dom from the command line ...
user avatar
  • 101
0 votes
1 answer
23 views

Jq substract 2 keys and add it to json

I have a json like this one { "status": "InProgress", "transactionId": "1652807586", "startTime": "2022-05-17T17:13:06Z", "...
user avatar
1 vote
2 answers
16 views

Setting up debian archive keys on risc64: new key but contains no user ID

I have a Sipeed Lichee RV that runs a Debian image, but I cannot install software due to missing key. I have followed the Package Authentication Instructions but am getting this error: root@sipeed:/...
user avatar
  • 655
0 votes
1 answer
8 views

CUPS - Printing process stuck in "Connecting to printer."

I am trying to set up a Raspberry Pi running on Raspbian GNU/Linux 11 (bullseye) as printer server. My printer is a Brother-MFC-L2710DN. I have connected the printer and the computer with an ethernet ...
user avatar
-3 votes
0 answers
39 views

Why does company uses different linux flavour? [closed]

I had seen in company where they use different Linux Distros RHEL, SUSE and Ubuntu in the same environment. I just don't get it why multiple Linux flavors are needed in production environment. Thanks
user avatar
1 vote
1 answer
25 views

Why does paste command truncate one of the input files?

I have two files which contain only one column of numeric data each, and the same number of rows. When using paste, it does combine the rows from the two files into one row, but the text of the first ...
user avatar
  • 341
1 vote
1 answer
30 views

What is correct or suggested approach to send the signal name through 'kill' command?

I read many tutorials about the use of kill command, mostly 3 approaches kill -15 <pid> kill -SIGTERM <pid> kill -TERM <pid> For scripts purposes and for portability with macos too, ...
user avatar
0 votes
0 answers
4 views

Cinnamon login / lock screen on Plasma desktop enviroment

I originally installed the linux-mint version with Cinnamon as the desktop environment. I subsequently installed Plasma and decided to keep it, (since I feel it handles my multi-monitor setup better). ...
user avatar
  • 101
0 votes
1 answer
42 views

Convert windows batch to linux

I need help getting the following command line(used on windows) to work on linux(debian) for %%a in (*.mkv) do mkvmerge -o "output\%%~a" --subtitle-tracks ara --default-track 3 "%%~a&...
user avatar
  • 1
0 votes
0 answers
9 views

Double tunnel hop via SSH

I'm using WinSSHTerm to connect to a proxy, from which I then connect to a server hosting a data warehouse. I just can't figure out how to reproduce my Putty connection using a shell command. Short ...
user avatar
  • 101
0 votes
1 answer
12 views

Meaning of fields in ip6tables logs

I am parsing ufw logs, and running into limitations with the documentation that I am able to find for the ip6tables entries for ufw. This very nice blog post describes the iptables format well, but ...
user avatar
0 votes
0 answers
9 views

How to limit IO bandwidth using systemd?

I'm trying to limit IO usage of a service (or process/command). (Limit for IO read/write on hardware device, not for network.) I found IOAccounting from systemd: systemd-run --scope --user -p "...
user avatar
0 votes
0 answers
36 views

How to update, instead of flush and re-write, iptables rules

Currently I'm updating my iptables rules using a bash script, where I call the command: iptables -F then I apply the rules. The problem being that I need to update the rules to gain access to port 80,...
user avatar
0 votes
2 answers
27 views

/var/log/httpd permissions reset from 705 to 700 after reboot

After a reboot /var/log/httpd permissions reset from 705 to 700. Could this be a SELinux issue? OS is RHEL 8.
user avatar
0 votes
0 answers
12 views

VSFTPD 500 OOPS: cannot change directory:/logs

I am getting error 500 OOPS: cannot change directory:/logs while using file zila client to access this directory. My linux kernel version is "4.9.11". I have created a user called log_user ...
user avatar
0 votes
1 answer
42 views

awk print only modified lines

I have file like this d1000 1000 d1001 100 d1002 10 d1003 1 I want to modify second column where length is not equal 4. But I want to print only lines that are modified, so original text in column 2 ...
user avatar
  • 1,601
0 votes
0 answers
10 views

Unable to shutdown or reboot Zorin OS

Since a few weeks, I am unable to shutdown or reboot Zorin OS. When I manually reboot, I end up with a black screen but the laptop is still running. When I manually shutdown, I end up with the ASUS ...
user avatar
0 votes
0 answers
5 views

Problem while updating or downloading any package using yum on REH 8.5(Oopta)

I am installing a module "canberra-gtk-module" on REH 8.5 (Oopta) per receiving error [root@localhost Pictures]# sudo yum install libcanberra-gtk-module libcanberra-gtk3-module Updating ...
user avatar
2 votes
2 answers
59 views

Replace matched regex in file content with variables

I would like to do the following Search file content with pattern (^[ \t]*services:[ \t]*) If found, replace the pattern by a String (in variable) Else, append the String (in variable) at end of file ...
user avatar
  • 121
0 votes
1 answer
30 views

sort numbers according to last number in line [duplicate]

the following is file example 585.3 M netG ple jdhe jdhe_daily se 1732 pcv DC month 202204 day 20220413 585.5 M netG ple jdhe jdhe_daily se 1734 pcv DC month 202204 day 20220413 585.8 M netG ple ...
user avatar
  • 10.9k
0 votes
0 answers
21 views

PAM allow only a specific su command for a user

i created a rule to allow mygroup group to do su command. In /etc/pam.d/su auth sufficient pam_succeed_if.so use_uid user ingroup mygroup Now i want mygroup to be able to use only halt command, ...
user avatar
  • 1
1 vote
1 answer
20 views

Is REISUB/REISUO to switch off/reboot safe?

I can't happen to find a fix to shutdown or reboot my Zorin OS 16.1. So far I have been using REISUB or REISUO as a quick fix. I was wondering if it can cause harm to my laptop in the longrun if I ...
user avatar
0 votes
0 answers
11 views

How to daily journalctl the status of my systemd units?

Once a day I check my units by manually typing these steps: Search my units For each unit I query journalctl --user -u unitname -n How can I See all my user units status and error if failed? Not ...
user avatar
  • 249
0 votes
0 answers
9 views

How can PREEMPT_RT be used to provide real-time access to programs?

I have installed the real-time kernel 5.4.19-rt10 with the PREEMPT_RT patch on my Ubuntu 18.04. Now I need to write some programs that use the socket interface, how do I increase the preemption ...
user avatar
  • 1
-1 votes
0 answers
16 views

do i have less packages available on Gentoo or LFS [closed]

I am currently using arch linux. i am thinking about moving to gentoo or lfs but i am not sure. i feel like the application available on this distros are limited and there isn't much guides comparing ...
user avatar
1 vote
2 answers
44 views

How do I "install" a shared libray

I am developing a C++ application that uses external libraries, using gcc. For instance libtiff and libpng. I obtained these by apt-get and everything is working fine. But then I added another third ...
user avatar
0 votes
0 answers
8 views

The error message was : 'error:brokencount>0'. this usually means that your installed packages have unmet dependecies

I have tried sudo apt-get update (it is working fine) After that when i do sudo apt-get upgrade this error is displaying: Reading package lists... Done Building dependency tree Reading state ...
user avatar
0 votes
0 answers
15 views

Use v4l2loopback in docker, /dev/video0 missing in docker

I have installed v4l2loopback in the docker container using the following commands apt update apt install -y apt-utils apt install sudo sudo su root - apt-get install -y module-assistant m-a prepare m-...
user avatar
0 votes
0 answers
6 views

Bird 2.0 OSPF to OSPF redistribution cost

I am trying to set up bird for routing networks between my sites witch are connected with 2 L2 links. Right now all my OSPF_INTRA are redistributed to others routers with automatic cost calculation. I ...
user avatar
0 votes
0 answers
19 views

IP route with Dedicated IP under a Router to Web Server

I am trying to figure out the best practice when hosting a web server server under my network. I got a dedicated ip address for the server which can be connected via Router as the IPS doesnt allow to ...
user avatar
  • 1
-2 votes
1 answer
18 views

Displaying users logged in today between two dates

I have two times, for example: 12:48 and 16:29. How can I list the users logged in from 12:48 to 16:29?
user avatar
1 vote
0 answers
18 views

How to Activate a Mount of a Remote Share When Its Machine Connects?

How can one activate a mount of a remote SMB share when the remote machine connects? To illustrate, imagine two Windows laptops named Blue and Green, each with a share named Data, that occasionally ...
user avatar
  • 53
2 votes
1 answer
520 views

$ firefox /usr/lib/firefox/firefox: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/firefox/firefox)

Getting error on Manjaro after upgrading firefox: $ firefox /usr/lib/firefox/firefox: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/firefox/firefox) $ sudo pacman ...
user avatar
  • 1,841
1 vote
2 answers
24 views

Rename files with numbers already in file name

I have files with following names starting with water-frames0.gro upto water-frames201.gro water-frames0.gro water-frames119.gro water-frames138.gro water-frames157.gro water-frames116.gro water-...
user avatar
  • 113
2 votes
1 answer
23 views

systemd: what is a "non-container" system?

Regarding exit.target, man systemd.special states it is: A special service unit for shutting down the system or user service manager. It is equivalent to poweroff.target on non-container systems, and ...
user avatar

15 30 50 per page
1
2 3 4 5
4350