Questions tagged [linux]

These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

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

find + search huge files in short time

I am using the following find syntax in order to find huge std* files that are more then 1000M. find /data -type f \( -name "stdout" -o -name "stderr" \) -size +1000M -print ...
27
votes
5answers
4k views

What does it mean for a Linux distribution to be stable and how much does it matter for casual users?

What exactly is a "stable" Linux distribution and what are the (practical) consequences of using an "unstable" distribution? Does it really matter for casual users (i.e. not ...
0
votes
0answers
15 views

The IF statement parameter dimensional x in BASH script [duplicate]

I have found this in an old script but can't tell what is the use of the "x" infront of the ${VARIABLE} and infront of the value "onx" being compared VARIABLE="${VARIABLE:-&...
1
vote
2answers
64 views

Downgrade Debian linux from 10.8 to 10.7

I have installed Debian 10.7 OS on Virtual box. pra@pra:cat /etc/debian_version 10.7 However, somehow it is upgraded to 10.8 pra@pra:cat /etc/debian_version 10.8 Can I know how to downgrade back ...
0
votes
1answer
20 views

How to set X11 Window Class on application startup

I have an application that doesn't set its own x11 window class, is there an easy way to do this from the command line? I've searched around for an x11 command to do it and haven't been able to find ...
-2
votes
2answers
398 views

parrot os update error no public key

Get:1 https://deb.parrot.sh/parrot rolling InRelease Err:1 https://deb.parrot.sh/parrot rolling InRelease The following signatures couldn't be verified because the public key is not available: ...
1
vote
1answer
56 views

Wireguard on a VPS with 2 public ip addresses

This is slightly confusing for me. I have 1 VPS server, which has 2 IP addresses (WAN) What i want to do is NAT each ip to route traffic to certain peers. What i have done is I made 2 wg interfaces (...
0
votes
1answer
27 views

How to list all files that occur SOMEWHERE in one folder but not another?

I have a folder with a lot of subfolders and files (let's call it 'orig'), and another folder where a lot of the same files were placed as backups in a different folder structure (let's call it '...
1
vote
1answer
24 views

Running SDL code in SSH

I have a C program using SDL on my linux PC, when I try to launch this program from my windows pc with ssh it give me an error : no protocol specified and no available device. I have try to start SSH ...
-1
votes
4answers
67 views

How do I rename these files at once? [duplicate]

I have a bunch of files and I want to rename them using regular expressions. I want to do this in a Linux Command line. I have the files report1.txt report2.txt report3.txt How can I rename these so ...
3
votes
1answer
36 views

How does `${!path//:/$'\n'}` perform parameter expansion to display $PATH with directories separated by newlines?

I have trouble understanding how ${!path//:/$'\n'} works in the shell function below. I have looked in man bash and considered the use of ${parameter/pattern/string} to subsitute : with \n, but in ...
1
vote
1answer
27 views

Trouble printing to a Brother HL3170CDW printer on Linux

As the title says, I can't print to my Brother HL3170CDW printer. I'm on Artix Linux (runit version) and have the drivers installed from the AUR. system-config-printer detects the printer, and I'm ...
2
votes
0answers
22 views

Text prediction in Linux while typing like on Android, iOS and Windows

I have noticed the utility of this feature while typing on Android devices (notably with Gboard virtual keyboard) The same is available on iOS, in iPhones and iPads. I don't mean the use of a virtual ...
-2
votes
0answers
12 views

RTNETLINK answers: File exists, unable to connect VPN [closed]

Client output: RTNETLINK answers: File exists Mon Feb 15 12:33:18 2021 ERROR: Linux route add command failed: external program exited with error status: 2 Mon Feb 15 12:33:18 2021 Initialization ...
-1
votes
0answers
52 views

AWK :string not found to be printed if pattern doesn't match in file

When the file doesn't contain searched strings, my awk program should print "Not Found". Below is the code, error, and input file. Kindly help me in resolving this. code awk 'if match($0,/...
1
vote
1answer
57 views

Which Linux distribution to use on 32 bit processor [closed]

I have a Lenovo G580 model bought in year 2013. It has a 32 bit processor. I want to know which distribution of Linux will work perfectly on this machine.
0
votes
0answers
10 views

Centos 7 - Can you install raid 5 and include SDA?

Setup: I have a dedicated server with 4 hard drives each 8TB, there is already a CENTOS 7 installed on one of the hard drives (for some reason) without any raid setup. [root@ ~]# fdisk -l | grep sd ...
1
vote
2answers
75 views

What are the commands to solve the following

OBJECTIVE I have a file called graph that contains the textual description of a graph by listing all existing links between nodes. Each line contains one link, expressed like this : number1->...
2
votes
0answers
14 views

How to map CapsLock to Ctrl+Alt+Super+Shift?

Is there a way to achieve this? It seems that using xmodmap you can only remap CapsLock to a single modifier. I've also tried xkeysnail with this configuration: from xkeysnail.transform import * ...
2
votes
1answer
24 views

Setting and using variables with “bash -c” [duplicate]

Simple question ... why doesn't something like this work? /bin/bash -c "b=4; echo $b" The output is just blank space. Thanks in advance.
1
vote
1answer
36 views

How do I analyze a frozen linux?

I wonder how I can analyze/find any hint of why my Linux system freezes sometimes. there are no logs in journald REISUB doesn't work while frozen. I enabled it so normally it does. there are no dumps ...
0
votes
0answers
12 views

Kernel Panicking saying that it can't mount root file system

I'm doing linux from scratch, I'm getting this kernel error. My root is on /dev/vdb2. Here is my grub.cfg. I'm using UEFI boot on a virtual machine. Here is my kernel configuration. I have enabled ...
0
votes
1answer
86 views

Most lightweight Ubuntu-based linux distro 2021 [closed]

I'm a Ubuntu user, but my computer is getting older so I cannot use Ubuntu 20.04 LTS. I'm used to use Lubuntu 18.04 LTS and that works, but the support time runs out this year. So I need to replease ...
0
votes
2answers
31 views

Why do I get an error whenever I try to update using Kali Linux Terminal?

The error is explained via Photo below I am a newbie to Kali Linux and couldn't get around this, so your help would be very beneficial.
0
votes
0answers
46 views

Linux boot process

OS: GNU + Linux Boot partition: /dev/sda1 After the MBR makes its decision on which is the active partition (boot partition), it gives control to the Kernel Boot Loader, generally GRUB, to load the ...
1
vote
0answers
13 views

Multiseat Setup: Disable display manager and use TTY on one seat

I have the following setup (HP Microserver 8): Integrated Matrox G200eH connected to Integrated Lights Out (the PH Remote Management Console) which also simulates an integrated keyboard to the system ...
1
vote
3answers
131 views

Can a file exist without filesystem?

I was reading about filesystems and a few questions came up to mind. Q. If files are an integral part of unix/linux (i.e. to represent processes in /proc or device files in /dev) as in a famous saying ...
0
votes
0answers
16 views

How to configure linux kernel so that it does not require initrd?

What should be done in the menuconfig to compile a kernel which does not require initial ramdisk?
0
votes
1answer
21 views

Install JDK 9 on debian 10

For specific reasons I need to install JDK 9 on my Debian 10. But it seems like mission impossible. Can anyone share a tutorial ?
0
votes
1answer
12 views

How long time period does the .xsession-errors log file cover?

I have a hard time understanding how long time period my .xsession-errors file covers. There's also a .xsession-errors.old and taking a quick look it seems there's one file for each time X was started?...
6
votes
5answers
526 views

grep output from long to wide

I have a file of patterns and I want to return all the line numbers where the pattern was found, but in a wide format and not long/spread. Example: fileA.txt Germany USA UK fileB.txt USA USA Italy ...
0
votes
0answers
22 views

Attempting to run an IDS spoofer

I am currently a cybersecurity student and we have an assignment to try and fool snort into thinking it is being attacked so it throws out alerts to fool the end-user when I attempt to run the Python ...
-1
votes
1answer
53 views

symbolic style permissions in Linux [duplicate]

Can someone explain to me how symbolic style permissions work in Linux? And help me set the permissions of r--r-x-wx in symbolic style on a file? Thanks
0
votes
0answers
8 views

Pulseaudio lowers the volume to 1 whenever I plug in headphones

AFAIK, Pulseaudio is supposed to "remember" the volumes of different audio outputs when you switch to them. For some reason, it always remembers the volume of my speakers but forgets the ...
1
vote
2answers
57 views

$(grep -w “xyz” prog.R | wc -l) -ge 3

I am a bit new to unix and trying to figure out what the following command is doing: $(grep -w "xyz" prog.R | wc -l) -ge 3 I assume that the outcome would be boolean. The first part (i.e., ...
-2
votes
1answer
10 views

Highest Quality Possible in SimpleScreenRecorder

I have installed SimpleScreenRecorder On My Linux Machine but I recorded and Edited Some Videos With it Like This Example But the Recorded Quality is Not Good Enough, Please Tell me Some Settings ...
0
votes
1answer
26 views

How to disable Linux file read cache in favour of ZFS ARC

Most of the answers to related questions here seem to assume the person asking thinks linux is "eating their ram" or come up with workarounds such as dropping caches every minute from cron. ...
0
votes
1answer
17 views

Change the position of a word in directory name

I have several hundred directories currently in this form : Band Name - Album Name (year) I would like to rename everything (with a mass treatment) in Band Name (Year) Album Name Almost all of my ...
0
votes
0answers
10 views

Cannot find bridge device with ifupdown

Please note that I am using Void Linux. Here is my /etc/network/interfaces.d/br0 file: auto br0 iface br0 inet dhcp bridge_ports eth0 bridge_stp off bridge_waitport 0 bridge_fd ...
0
votes
0answers
8 views

Recover data after accidental “zpool create” on the wrong drive

I created a Zpool on top of an external drive that had an XFS partition full of data. I think the partition table got written over as it now shows a ZFS partition on the drive. Is there a way to ...
4
votes
1answer
102 views

Figure out client IP used

I have a linux box that for strange reasons has two IP addresses on the same physical network interface, and both IPs are in the same subnet. The machine is reachable via both IPs, and everything ...
1
vote
0answers
13 views

Linux not reactivating HDMI link after switching projector on

My PC has a Geforce 980 Ti card and is running Linux Mint 20.1 MATE with Nvidia driver version 460.32.03. The attached displays are a LG LCD monitor on DisplayPort and an Optoma UHD42 projector on ...
0
votes
0answers
12 views

Assign the equivalent of one cpu core to a process - relative and not exclusive

I have an idea about taskset and isolcpu on linux. However what I need is to have a process run on equivalent power of 1 (or X) cpu cores but not have to have any affinity to any 1 cpu core. It should ...
0
votes
0answers
23 views

Why does pulseaudio hijack my microphone?

Restarting my machine fixes this issue for some amount of time before it pops up again. I am using a Corsair Void USB headset. After my computer has been running for some time, programs stop ...
1
vote
0answers
40 views

ArcoLinux fails to boot from live USB

I am trying to install an Arch based distribution, but it seems it doesn't find the device. This is the exact output: ::running early hook [udev] Starting version 247.2-1-arch ::running early hook[...
-1
votes
2answers
51 views

Copy column B if column E or F is empty or comes with value 0

I have a CSV file, and I want to use a bash with command awk or anything else to modify this file. For example, I want to copy column B if column E or F comes empty or with the value of 0 AAAA, BBBB, ...
1
vote
1answer
44 views

Ethernet controller I219-LM not claimed by driver e1000e

Today I received a brand new Dell OptiPlex 7080 and I installed Oracle Linux 7 on it. The machine has an external wireless antenna and an ethernet port. The wireless antenna works, but the ethernet ...
11
votes
1answer
469 views

What was the first file system in Linux distribution/s?

What was the first file system in Linux distribution/s? The "parallel" to FAT (?) in Windows at the early nineties? I want to know the name to read information about this; perhaps it was the ...
0
votes
1answer
20 views

How to Grep search a JTL Jmeter file for any 400 request in JTL file

At present we run scripts via JMETER on a Linux VM which runs in non GUI mode. When the JMETER test runs it send the results to an output file (JTL File). We then copy this file to our local Windows ...
11
votes
4answers
760 views

Is there any utility for performing ICMP testing (“ping”) in only one direction?

I've been having trouble with some network configuration lately which has been tricky to resolve. It seems this would be much easier to diagnose if I knew which direction the traffic was failing to ...

1
3 4
5
6 7
634