All Questions

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

Why is this Curl argument needed after URL for Bash script to output response? [closed]

Ok, rewriting the question title & contents so that it's more clear for all, I agree, it could have been more clear. ** I'm trying to find out why the script won't output response if "output....
11
votes
2answers
2k views

Why does my dd Full Disk Copy Keep failing at 8 GB?

I am trying to clone a 500 GB SSD to a 1TB SSD. For some reason, it keeps failing when the data being copied reaches 8GB. This is the third 1TB SSD I've tried this on and they all get stuck at the ...
0
votes
1answer
17 views

Trouble installing a package "E: Unable to correct problems, you have held broken packages."

I installed some ROS components from source on a raspberry pi. I was going through and installing the required dependencies, when I ran into this: sudo apt install -o Debug::pkgProblemResolver=true -...
0
votes
1answer
8 views

pactl package in docker alpine container

I want to pactl in a docker Alpine container. I installed pulseaudio and also tried apk add pactl. How can I install pactl under Docker Alpine container?
0
votes
0answers
16 views

Automate values from text file to an existing excel file

Is there any way to automate values from text file to column A of an existing excel sheet? The existing excel file is a template that has histogram which will be updated once the values form the text ...
0
votes
0answers
23 views

In Apache config all my attempts to redirect all requests to index.html fail

I have an Angular SPA that should only request index.html. All other URL requests to this server are handled internally by the SPA. I want to redirect all 404 errs to index.html. I am new to Apache ...
0
votes
0answers
39 views

Insert text from variable in file

I have two files, my_file.txt and config.txt. In config.txt I have some text like: Hej, My name is Jan. $my_file.txt - im too young.. my_file.txt contains: I'm 18yo. I want to have this output: Hej,...
0
votes
0answers
19 views

"This disk is currently in use" - but nothing seems to be using it?

I am installing ArchLinux for the first time I made the corresponding partitions but for some reason when I want to do the swap or format them it tells me that it is busy. I deleted all the partitions ...
0
votes
1answer
23 views

Install rpm packages within a .tar.gz file from url in linux

I need to install few RPM files within a TeradataToolsAndUtilitiesBase__linux_x8664.17.00.31.00.tar.gz from URL below and the file name is "TTU 17.10.11.00 Linux - Base" https://downloads....
1
vote
2answers
25 views

How to use GNU Parallel for executing a program concurrently?

I need to run a python script several times in parallel but I have done executing it in the background like this ipython program.py & ipython program.py & ... I want to know if this way uses ...
0
votes
1answer
16 views

How to identify a MDADM RAID disk that was auto 'Removed' from the array?

We have 2 disks in a RAID1 md array. MDADM detected a disk failure and "failed" the disk in mdadm, but then there was an unexpected reboot of the server. When I check /proc/mdstat or mdadm -...
-4
votes
0answers
23 views

AWK - create summary file at various levels

I have a data file that is comprised of three levels with a numeric value as the fourth field. The three levels correspond to a county for level 1, a city or town for level 2 and a postcode for level ...
1
vote
1answer
16 views

Why is libinput packaged as libinput10?

I'm writing documentation for touchpad hackers at linuxtouchpad.org and I'm trying to explain which debian package has the build dependencies for libinput (i.e. is it sudo apt build-dep libinput or ...
-2
votes
1answer
21 views

linux + from lsblk partitions size are greater then disk size

I get the following details from RHEL 7.2 machine , sda DISK is using LVM lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 250G 0 disk ├─sda1 8:1 0 500M 0 part /boot ├─sda2 8:2 0 199.5G 0 part │...
0
votes
0answers
12 views

arch as guest bios mode

I want to install arch in virtualbox. I know arch is a rolling release so packages (kernel) is uptodate. Which virtualabox is recommend for installing in bios mode? Note: this is not a question for ...
1
vote
1answer
41 views

ls and sort by number for human

I create catalogs mkdir site_{1..44}. I want to sort them site_1 site_2 site_3 site_4 ... site_44 I execute the command ls | sort -h and I have site_1 site_10 site_11 site_12 site_13 site_14 site_15 ...
1
vote
0answers
30 views

Can't Connect to NordVPN on Arch Linux

I installed NordVPN from the AUR (nordvpn-bin package) around a week or two weeks ago. After installing and getting logged in it worked as it was supposed to. However, after rebooting my computer, ...
0
votes
0answers
29 views

USB-device 'unmounts' itself while syncronising data with rsync on Centos Stream 8

Problem: the mounted USB-device 'unmounts' itself and 'vanishes' spontaneously while synchronizing data with rsync. Device: USB-stick PNY 512GB USB 3.1 formatted as ext4 (see below information from ...
2
votes
2answers
165 views

'For' loop won’t iterate over list when path given as argument

I'm practicing shell scripts and am trying to make a simple script that takes a directory as an argument, loops through each file within and prints out its name and size. #!/bin/bash # A practice ...
0
votes
0answers
6 views

How to find Plesk version being used on a website, when we are presented by Plesk default page?

In a website I am trying to do vulnerability assessment of, I have been presented by the following default web page of Plesk. WHAT I TRIED whatweb reveals the following. whatweb abc.efg.com http://...
0
votes
0answers
12 views

GRE tunnel & NAT port forwading

Scenario: Server 1 Public IP: XXX.XXX.XXX.XXX (vmbr0) Proxmox host multiple LXC instances which are NATed LXC containers in range 10.0.0.0/24 (vmbr2) Each IP from private range has 50 ports on public ...
1
vote
0answers
9 views

unable to append to cgroup v2 cgroup.subtree_controller

I have a tinker board 2s (like raspberry pi) running debian on kernel 4.4.194. I enabled cgroups v2 by adding systemd.unified_cgroup_hierarchy=1 into the /boot/cmdline.txt file as supposed to. the ...
0
votes
0answers
14 views

How to add route that does not depend on network reachability?

I have a pptp server on Centos with Mikrotik routers connecting to it as clients, and I need to add routes between them to enable LAN-to-LAN communication. I have /etc/ppp/ip-up.local script like this:...
1
vote
0answers
20 views

randomly occurring kernel panics at boot

I have a QNAP server on which I installed Debian 10 and then 11, using RAID 1, as recapped in the screenshot below: It works fine most of the times, but, with both versions, I've been randomly ...
2
votes
1answer
32 views

Different directory size after rsync and using du [duplicate]

I migrated some special directories (not supported by common migration tools) from one Synology NAS volume (ext4) to another (btrfs). After checking if the synchronization was successful I found that ...
0
votes
1answer
18 views

Bluetooth seems to not be working properly in windows after dual booting to Garuda Linux

So, today I decided to try out Garuda Linux. After being a little experienced with simpler Linux distros like 'Ubuntu', 'Raspbian', Mainly attracted by its looks, I decided to try out this Arch-Linux ...
0
votes
0answers
13 views

Python Ray not starting properly

I am starting ray on my ubuntu by using this command: ray start --head --port=6379 All fine, ray runtime started. But when I check the raylet.out file in logs. It states something like this: Export ...
0
votes
2answers
36 views

Install apt-get on openSUSE

On my system, openSUSE (15.1) is installed, as is zypper packet manager, which I'm not used to. Specifically, I think it lacks a huge amount of software, that I would like to use. I did already manage ...
0
votes
0answers
16 views

Accessing PORT on docker container connected to a VPN

I am looking to do almost the exact same thing as ssh into a server which is connected to a VPN service only now the server is a docker container. So to summarize, I have a container built with: ...
0
votes
1answer
22 views

grub2-install throws various errors instead of installing, how to proceed?

The system is CentOS 7. It was installed on two hard disks with MD RAID, one drives died. We decided to switch to two SSDs of just marginally larger size. When they were connected and system was ...
0
votes
1answer
13 views

Using doas with root password instead of user password

From my limited understanding doas allows to run any commands as root but by default requires you to enter your own password instead of a root password. How do i make it require root password instead?
1
vote
1answer
15 views

Get CLOCK_REALTIME and CLOCK_MONOTONIC with one call

I can use int clock_gettime(clockid_t clk_id, struct timespec *tp); to get CLOCK_REALTIME and CLOCK_MONOTONIC which one call each. Is it possible to get both with one call so the result is the kernel'...
1
vote
0answers
11 views

Grub not booting when large_dir flag is set for an ext4 system partition

After setting large_dir flag with tune2fs for my ext4 filesystem on mdadm RAID1, Linux (Ubuntu 18) is no longer able to boot, showing "error: unknown filesystem". The lack of support is ...
2
votes
1answer
22 views

wpa_supplicant.conf escaping characters

wpa_supplicant.conf typically has double-quotes around some configuration items. Eg network={ ssid="testing" psk=7eb34d7f016909cc62114f2e32c8557ea8b9dc3e3f2715c351b496f750529177 } ...
0
votes
1answer
17 views

systemctl cannot access service file, Permission denied

On Fedora 35, I create my own service to schedule a backup. I have the script in /usr/local/bin/ and service files plus timer in /lib/systemd/system/ ls -an /usr/local/bin/ prints -rwxr--r--. 1 0 0 ...
0
votes
0answers
17 views

How to download a folder from a webserver which the developer left accidently, while the directory listing is disabled?

There is a backup folder at the location https://abc.efg.com/assets/images/socialIcons%20(copy)/, which the developer left by mistake, and I want to download it, as a part of vulnerability assessment (...
-1
votes
0answers
20 views

ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]]

SSH: Disconnecting configuration [ansible] ... ERROR: Exception when publishing, exception message [Exec exit status not zero. Status 1] Build step 'Send files or execute commands over SSH' changed ...
-1
votes
0answers
23 views

Is there a proper name for a top-like full page refresh output?

Many common unix commands - like 'top' - display a full page of readout and then refresh that entire page every X seconds. There is no scrolling and individual lines are not output - every new ...
0
votes
0answers
10 views

which debian environment is better for an old late 2009 mac

I am new with these OS, so I installed Debian 10 xfce and there is no graphic calculator app. I looked in the internet and didn't find anything but gnome is full and complete but it loose internet ...
-4
votes
0answers
33 views

How to change default credentials on Kali Linux?

I just installed my first Linux and i was messing around with it. the ddefault user/pass credentials as stated by Kali were kali and kali respectively, not that it matters lol. after i poked at it for ...
0
votes
0answers
13 views

How do I lower my screen refresh rate down to 60hz?

I'm running Pop!_OS 21.04 (Nvidia) on my Lenovo Legion 5 laptop. I want to reduce the screen refresh rate down to 60hz from its usual 144. I am able to do this in Display Settings on Windows, however, ...
0
votes
0answers
9 views

Multiple Network Interface Not Working Properly

I have two network interfaces on my Linux CentOS. When I tried to access the web server from outside network via ETH0 it works properly. But when I tried to access via ETH1 it gives me time out. Here ...
0
votes
0answers
4 views

How to refresh an album without re-generating thumbnails in Digikam?

In Digikam, I can right-click on an album name, and hit REFRESH. This will do two things: It will scan the album directory for new files, and add them to Digikam It will create new thumbnails for all ...
0
votes
0answers
10 views

Medium Format Corrupted on SSD after SAS failure

Recently some of the servers we use have failed, leading to Sense Key: MEDIUM FORMAT CORRUPTED of the SSD's. The SAS card being used is the HighPoint RR2711. The SAS card is still functional after a ...
0
votes
1answer
29 views

How do I see if the current distro is Arch-based, Debian-based, etc [duplicate]

I'm writing a shell script that should be able to be used with a variety of Linux distros. I want to see what base the distro is, without hardcoding everything (since there are hundreds of distros), ...
1
vote
1answer
18 views

Where is the user "shadows+" (shadowsocks?) defined?

I am running the ss-server proxy (from the shadowsocks-libev package) on Ubuntu. I believe ss-server is run by systemd. ss-server is running as user shadows+, as can be seen below: $ ps u -C ss-...
0
votes
1answer
16 views

strange 5-characters-sequence appear in PuTTY terminal with mouse click

While running some program (Configure), my terminal will be messed up. My typing is not shown. I can use "stty sane" to fix it but I notice that whenever I click my mouse on the terminal (I ...
0
votes
1answer
19 views

On RHEL8 how can I use `alternatives` to choose an already listed version as the used version

On a RHEL 8.3 system I have two python3 versions installed and they show up as the version when I list alterantives' versions: $ alternatives --display python3 /usr/bin/python3.6 - priority 1000000 ...
0
votes
0answers
12 views

New install of Linux Mint 20.2 Cinnamon (5.0.4) has ~50% packet loss - Caused by router?

I have recently installed Linux Mint 20.2 Cinnamon (5.0.4) (Kernel 5.4.0-74-generic) on my desktop on a separate drive from a Windows 10 install. On Linux I noticed very inconsistent connections when ...
-1
votes
1answer
19 views

unexpected EOF while looking for matching `'' [closed]

I'm trying to execute the below script and it is failing with the errors unexpected EOF while looking for matching `'' syntax error: unexpected end of file #MAIN - START LOG " **** PROCESS ...

15 30 50 per page