All Questions

Filter by
Sorted by
Tagged with
-1
votes
1answer
18 views

nginx blocks port even when stopped

after a service nginx stop I checked for ports 80: ps ax | grep nginx 898 ? Ss 0:00 runsv nginx 943 ? S 0:00 svlogd -tt /var/log/gitlab/nginx 4063 pts/0 S+ 0:00 ...
0
votes
1answer
33 views

hdparm succeeds reading sector but cp does not

I have a drive where I want to copy data from but cp fails every time and prints: cp: error reading 'path/to/always/same/file': Input/output error The output of dmesg contains: [72481.869510] ata2....
0
votes
0answers
8 views

UFW denies SSH even though rules allow

I have recently configured my RaspberryPi 3 to only allow connections through VPN. I would however like to open it for SSH connections from anywhere. The rules below should allow traffic on port 22, ...
-1
votes
1answer
53 views

Is my new micro-sd card immune from infection on my device? [on hold]

My orangepiplus2e computer has no bios, no firmware, and no hdd (other than 16GB micro-sd). It has high quality router, ethernet switch, & firewall. Let's say that I have files (docs,pdf,.iso) ...
0
votes
0answers
41 views

need help with osx command line behavior

For some reason, when I run a command in the osx terminal, the cursor is not automatically moved to a new line. Does anyone know how to get the cursor to move down to a new line after every command ...
0
votes
1answer
44 views

&& and ; chaining commands: does C get executed in A && B ; C if B returns a non-zero exit status?

A && B ; C A returns an exit status of zero. B returns a non-zero exit status. C, if performed, returns an exit status of zero. Then, which of the following two will happen (A is taken for ...
2
votes
1answer
56 views

Fan constantly running at full speed

Here I am repeating a question previously asked in a sister forum, as it is relevant here and I have neither received a response, nor been able to resolve the issue. On my ThinkPad T470 which is a ...
-4
votes
4answers
80 views

remove duplicates records in a file, ignoring unique identifier

I have a file (comma delimited) that has 28 fields/heathers/attributes. Field # makes the record unique. However, the rest of the fields may be identical. I need to identify the dups and only keep one....
2
votes
1answer
20 views

How to get a preview of a second monitor?

I have connected a projector, but I don't see the image of this second "monitor" very well (it's quite far). Is it possible to get a live preview of this second monitor in a small window on a first ...
1
vote
1answer
29 views

Server-Side NAT changing both source and dest adress: possible?

I have a typical LAN with 192.168.2.x adresses. I'd like to expose a number of services on different hosts via a wireguard VPN. Wireguard server is not running on my publicly acessible router, but on ...
1
vote
0answers
15 views

Why the package haskell-platform does not follow the proper version number?

The package haskell-platform is a metapackage providing tools for developing in Haskell. It is self-distributed with a versioning system using a version number, the release year and month. It is as ...
0
votes
0answers
26 views

What is the correct command for installing etcher (or its image) to debian, 32-bit?

Trying to install etcher. I have a command for it, but it appears to be for 64-bit (ie: "amd64.deb"). I changed the 64 to 32 in the command line, but it does not work. I spent 3-hours trying every ...
0
votes
0answers
25 views

email address completion in zsh

This is an extract from the zsh shell's manual: The completion system in zsh is programmable. For example, the shell can be set to complete email addresses in arguments to the mail ...
0
votes
0answers
12 views

How to make okular open http/https links in PDFs with firefox?

I'm on FreeBSD and have compiled and installed the graphics/okular port (i.e. not much else of KDE4 other than okular's dependencies.) This has installed version 1.8.0. When I open a PDF with okular ...
2
votes
1answer
12 views

PLATFORM variable for qemu / system-nspawn

I'm customizing a Raspbian installation using qemu, i.e.: systemd-nspawn -q --bind /usr/bin/qemu-arm-static -D $MOUNTPATH /bin/bash << EOF DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND ...
0
votes
1answer
42 views

Create multiple untagged virtual interface on a single physical interface

For some very specific reason, I need to create 4 virtual interfaces with different MAC address on each virtual interface, the frames from those interfaces will needs be sent over a single physical ...
1
vote
0answers
25 views

reboot causes device to shutdown but doesn't start again for many hours after

I am using a BeagleBone running Debian. I have a cron entry in /etc/crontab which tells the device to reboot at 03:01 every night as follows 00 03 * * * root /sbin/shutdown -r +1 >> /...
1
vote
2answers
26 views

merging rows based on common id in first column by adding those value?

I have a tab-delimited file: Class Sample_1 Sample_2 Sample_3 A 0 0 0 Z 0.25 0 0.75 A|B|C 0 ...
0
votes
2answers
68 views

cp in multi line fashion

In CentOS with Bash 3.2.52(2) I have to copy many files (not all) from one directory to another. I can create a long one liner such as cp /"$HOME"/dir1/{file1,fil2} ... /"$HOME"/dir2 but because ...
0
votes
0answers
19 views

After update from Debian Stretch to Buster I cannot open links from applications

I recently updated from Debian Stretch to Buster. I first got aware I cannot open links from inside Rambox. I addressed an issue on GitHub but now I found out I cannot open links from inside PHPStorm ...
1
vote
2answers
15 views

establish connection between Redhat7 and MSSQL database over kerberos [jdbc driver]

i'm working on very annoying issue, namely our java app on redhat 7 is created to connect to mssql, which cannot parse principal stored in keytab generated by our company automats. Principal stored ...
0
votes
0answers
10 views

Transfer files between host and guest using virtio-serial

I have a Windows 10 guest with very limited network access (limited by Check-Point VPN firewall) which I access through the spice viewer. But I need to transfer files to/from the guest. I tried to ...
-1
votes
0answers
13 views

Linux (Redhat 7.5) Patching

I was trying to patch a redhat 7.5 server, but it was giving the below error- Loaded plugins: langpacks, rhnplugin There was an error communicating with RHN. Red Hat Satellite or RHN Classic support ...
0
votes
0answers
12 views

How to find out the user ID of the command/request sender when we use any IPC (Inter Process Communication) in PHP?

Currently, We use socket for Inter process communication between two process , the application is written in PHP. Our scenario is, there is a server (server.php) and multiple PHP clients. We want ...
0
votes
0answers
26 views

cgroups: throttle per user disk I/O bandwidth on Linux

I have a Linux web server (Debian, just in case that made a difference), which is Apache + PHP-FPM. Each Apache VirtualHost uses a dedicated PHP-FPM pool (through a dedicated unix socket), which runs ...
-1
votes
0answers
21 views

Bad substitution in zip operation [on hold]

I rent a CetnOS "Shared" server environment (I think version 4.2) with Bash 3.2.52(2) with set -x and complete -r. I executed: #!/bin/sh war="$HOME/public_html" # Web Application Root domain="...
0
votes
0answers
19 views

Samba winbind: how to authenticate from trusted AD domain (one-way trust)?

Hello linux newbie here. What I am trying to achieve: to be able to login to Linux machine with Active Directory credentials from trusted domain. I have the following setup: +...
0
votes
0answers
18 views

How to enable the Wi-Fi network adapter “Intel AC 3168 ” in Ubuntu 19.04 when secure boot is enabled?

I have dual boot of Windows 10 and ubuntu 19.04. My Wifi icon is missing in ubuntu if I boot with Secure Boot enabled.But it works perfectly if it is disabled. In case of windows Wifi works perfectly ...
0
votes
1answer
44 views

How to list all mounts that start with a given prefix/root

I am trying to look through /proc/mounts and return all mounts that start with a certain prefix or base directory, eg. /run/media. Right now one prefix is fine, but in principle it would be nice to be ...
0
votes
0answers
19 views

Use output text from a command as filename

curl http://v6.ipv6-test.com/api/myip.php returns me my current IPv6 addr. I'd like to use this string as part of a filename to be created, followed by timestamp of when the script ran. Any idea how ...
0
votes
0answers
12 views

Problem loading CentOS on Linux Virtual Box

I am trying to install CentOS 07-1810 on my new Virtualbox and I was getting an error message. It looks like the software is bigger than the available size of my System hard disk, but being a new user ...
0
votes
0answers
13 views

User mode qemu and KVM

When running user mode qemu for target x86 on a target x86 (or just target arch = host arch), will qemu use KVM, transfer control to the directly to the CPU or will it be interpreting the instructions....
0
votes
0answers
18 views

Random short CPU spikes and short PC freeze

I am having problems with Linux on my PC. I am facing issues with CPU usage I believe. The issue persists with short CPU spikes causing my PC to freeze for short periods of time, around 1 second. And ...
-4
votes
0answers
30 views

apt-list changes & dpkg error

i keep on getting this error when i run the apt commands. output for 'sudo apt update --fix-missing && sudo apt install -f': Hit:1 http://ftp.de.debian.org/debian sid InRelease ...
0
votes
1answer
47 views

Dealing with spaces in bash when piping the results from one command to another

I need to go recursively through several directories/files, in bash, replacing a certain string with another if it exists in a file. I had this solved in my script with the line: grep -rl "...
1
vote
1answer
52 views

how to populate /sys in a initramfs?

I'm trying to boot an OS (linux kernel) using the debian kernel so i needed to use an initramfs (as everything is builded as modules). But after booting into the initramfs, it doesn't seems to ...
1
vote
2answers
22 views

possible to make samba use /etc/shadow

this would be for whatever Samba versions are in RHEL/CentOS >= 7.6. I think Samba >= 4.8. for each user account to be able to have samba access I do smbpasswd -a <user>. As such the user's ...
1
vote
0answers
18 views

How to tame Nautilus sidebar to show local volumes and removable media?

Nautilus used to show my local volumes and removable media properly, but that does not work on a new computer I just installed (clean system). See the example below with Nautilus v. 3.26.4 on the left ...
0
votes
0answers
34 views

How to print terminal output to the same line using Python

I am trying to write a python script that constantly displays it's output to the terminal, but instead of printing out a new line for every output, I would like to have a fixed format where the ...
1
vote
1answer
11 views

Disable caja terminal

Caja has a tendency of leaving zombie terminal processes behind, which is a nuisance when working with removable media. Caja pops up when the media is inserted, but then it is impossible to unmount ...
-4
votes
0answers
27 views

grep command if anyone can help me to get respond to the question below [on hold]

Question 1: n the command grep 'your-answer-here' myFile.txt what would you write between the quotes to select all lines of myFile.txt that contain an uppercase "A", "B", or "C"? Question 2: In ...
0
votes
2answers
17 views

downgrading xcb-* packages to 1.11 on debian

I'm trying to compile polybar, and I get a long compilation error which is related to xcb (apparently), I have the log file here; I've read through the polybar wiki and I came upon the solution of ...
0
votes
0answers
23 views

Fixing Unmet Dependancies

I am running Linux Mint 19.1. Whilst downloading a 3D editing software I believe someone's coding instructions have caused an issue with my system. I am currently trying to download gThumb from ...
0
votes
1answer
18 views

How to use existing terminal session to save output with ANSI escape code like `script` or `screen -L` do?

I run a python script on konsole to print long logging for few hours, then I realized I want to save its output with color, but it's too late to run either script or screen -L to save the output as ...
1
vote
0answers
11 views

which live usb support ryzen gen 2 and x570 with intel wifi 6?

I'm trying to find which live usb would support the new ryzen gen2 cpu / chipset x570 and the intel wifi 6 (mostly, gigabyte aorus x570 pro wifi) most current distribution (for what i read) have ...
-1
votes
0answers
12 views

Kali 2019.2 unable to boot from USB uefi

Am using Windows 10 UEFI. Iwant to boot Kali from USB with encrypted persistence but am unable to boot. Tried everything mbr or UEFI mode boot options.. disabled secure boot.. but it still again and ...
0
votes
0answers
10 views

Snapper Exclusions in `/home` (btrfs)

Is there a standard approach, when using snapper on btrfs, to exclude directories under users' home folders? Say... ~/.cache/yay on Arch. Or possibly even ~/.cache as a whole. Of course, I know the ...
0
votes
1answer
30 views

How to sum time with part of milliseconds using bash?

How get sum, for ezample 00:03:03.333, of 00:01:01.111 and 00:02:02.222 into variable EPOCH='jan 1 1970' offset=$EPOCH lsdvd -c VIDEO_TS | grep "Length:" | grep "Chapter:" | awk '{print($4)}' | ...
0
votes
2answers
16 views

nginx - return http 410 code for every path

I'm trying to configure nginx to return a http 410 ("Resource Gone") code for any path under / My config is below. With this config, if I request /410test, I get a standard nginx 404 Not Found page, ...
1
vote
1answer
69 views

Encrypting PDF with qpdf and only user password

Does anyone know how to set only the user password for qpdf encryption? I'm using Debian 10 (buster) and qpdf version 8.4.2-1 from unstable backported to buster. If I set just the user password (for ...

15 30 50 per page