Questions tagged [linux]

A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

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

Gentoo kernel panic on hyper-v

I recently installed gentoo. I followed the guide for amd64 installation. I double-checked if the /boot was mounted before I installed the bootloader (GRUB). I chose the GPT+UEFI option for partition ...
1 vote
2 answers
39 views

How to get the eduroam network settings right on Linux? With that CA certificate, and without the installer from the eduroam website?

Tried to follow an eduroam guide on a university site. That you can download the public installer from http://www.eduroam.org/, choose the university, and that is all. For Linux, this was a Python ...
0 votes
0 answers
14 views

CIFS Mount I/O Error After Large File Transfer

I have a windows network drive I access on a linux server that I mount through a mount cifs entry in /etc/fstab. I run a nightly backup of user file directories to the network drive from the linux ...
  • 101
0 votes
0 answers
11 views

Pipe failed error when trying to edit file in Midnight commander

I am trying to setup Docker container for development. I have Windows 10 Pro 19044.2251, so I installed Docker Desktop, fixed WSL 2, run container like docker run --name Fresh -it --gpus all ubuntu sh ...
  • 156
0 votes
0 answers
34 views

How to install grub when / is encrypted (luks) and /boot is not encrypted

I have the following partitioning: |------+-------------+-----------+------+-------+----------------| | Name | Mount point | Flag | Size | FS | Comment | |------+-------------+-...
-1 votes
0 answers
26 views

How to command a 4 word search?

Using Kubuntu 22.04.1 : neofetch # OS: Kubuntu 22.04.1 LTS x86_64 grep --version # grep (GNU grep) 3.7 What is the Terminal command to do a 4 word search? Objective search 1000s of files ...
  • 115
0 votes
0 answers
13 views

Accessing Boot Files on V-Machine SM Pro Audio

I have a V-machine stand alone VST player and i want to modify it with a different linux distro i know it runs some sort of linux, when connected with the usb port, it only comes up as a midi device, ...
0 votes
0 answers
21 views

ISPConfig PureFTPd user can access folder linked to other site

I have a problem, where ftp users can access and modify (rwx etc, regardless of chmod) ftp folders on different sites, which is... well, not good. I have ISPConfig 3.2.8p1, full root privileges etc. I ...
0 votes
0 answers
18 views

LVM: Renaming LVs and PVs with vgimportclone on disk cloned with dd

Hello everybody out there using LVM, To have an immediate backup disk to replace my main Ubuntu 18.04 hard drive (which uses LVM), I cloned the main hard drive with dd. This resulted in a clone also ...
0 votes
0 answers
14 views

WSL Package lists break

I'm using Ubuntu WSL and trying to install fish and ohmyposh. When I run apt update I get only these package managers: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://archive....
0 votes
0 answers
34 views

Piping data from ethernet to serial and back to ethernet doesn't work

CONCEPT VISUALIZED I'm trying to establish a bidirectional communication where ethernet UDP packets enter a linux system (suppose a Raspberry pi) from eth0 interface and piped into the UART hardware ...
-2 votes
0 answers
42 views

Cant access uefi bios, but can boot os

i installed arch linux using this guide on youtube (partitioning method 2 for uefi) i have 2 disks in my system, laptop acer AN515-54 windows on disk 1, arch on 2 after the install i can not get in to ...
0 votes
0 answers
23 views

LVM, EXT4, mount points etc. I'm not even sure how to determine what the issue might be

I have a media server that used to work: 4 disks, EXT4, as a single LVM with 5 shares. Working through other tutorials, when I execute the "lsblk" command this is what I see: NAME ...
0 votes
0 answers
35 views

How to copy file of env variable to another file

I am executing bash commands inside a yaml file. I have set an env variable SECRET which point to a yaml file in my home directory, and I want to copy the content of this yaml file to another file, as ...
0 votes
1 answer
23 views

How to disable SVN function in Fish shell?

How to disable a specific feature in the fish shell? For example, I want to disable the Subversion integration. When I enter in a directory (cd) of whatever medium-to-big repository with Subversion, ...
0 votes
0 answers
10 views

Redirect Error Messages for SFTP

I'm sftp to a server and I would like to download the files and all the info are redirected to a file. I have a bash script to do this, and it works great but when I get error messages, for example, ...
1 vote
0 answers
25 views

How to restrict root access to other users/partitions

Setup: Laptop dual boot Ubuntu 22.04 and Windows 10 or 11 (both are fine for me). I have the issue where I need to install some anti-virus software as root on Ubuntu. However this software is really ...
0 votes
2 answers
56 views

Not all Linux SMB shares are accessible from Windows

I have two problems with accessing SMB shares from Windows (Windows Server 2022). On my Linux server (EuroLinux RHEL) I installed an SMB server and got it working. At first I had only one share (\...
0 votes
1 answer
39 views

Move or create new EFI partition on different disk

i have a windows install on disk 1, and arch linux on disk 2, i use the default 100 MB windows boot partition on disk 1 for both windows boot manager as well as grub to boot linux (os prober failed to ...
1 vote
1 answer
25 views

How do I find out why my computer is turning on by itself?

My laptop sometimes turns on in the middle of the night for no apparent reason. The only mechanism I know of for this is Wake on LAN, but I have never deliberately enabled that, and I can't see any ...
0 votes
0 answers
32 views

Access denied on my remote server via ssh on windows

Hi everyone I'm trying to connect to my remote server using ssh -i "my_keyprivate.pem" instance@ipaddr but I get the error message Permission denied (publickey) And when I do ssh -vvv I get ...
0 votes
0 answers
11 views

Re add node to ocfs2 cluster

i'm trying to re add node with new clear OS to ocfs2 cluster using old node name and ip. But facing a error mount.ocfs2: Cluster stack is invalid while trying to join the group. I also cannot ...
  • 11
0 votes
0 answers
25 views

NoMachine on Linux cannot connect to Windows 11 Home

I've installed the latest NoMachine on my Win11 Home edition. Win11 can connect to my Linux laptop but when I try to connect from Linux to Win11 NoMachine just spins. Any ideas?
0 votes
1 answer
27 views

Linux: alias, PATH and HOME variables

I'm learning a bit about linux and I was wondering if someone could show me how to create an alias view that prints the value of the PATH and HOME variables. The answer to this I would say is ...
0 votes
1 answer
33 views

Bash alias based on conditional

I want to create a bash alias called pg to use a pager program based on a condition. The condition is: If most is present then use it, otherwise use less. This is what I have so far: alias pg='command ...
0 votes
0 answers
4 views

zpool won't import after crash while resilvering

With triple-mirrored vdevs, I'm really not sure why I can't re-import anyway. There was also a read cache vdev, but that is no longer connected, though that doesn't seem to be the issue. I've all ...
  • 101
0 votes
1 answer
28 views

Check for previously found badblocks on a drive without re-running all of badblocks?

I ran badblocks on a couple of drives for 48 hours. One drive had lots of badblocks whereas the other was clean. I then physically took out the drives from the computer and accidentally mixed them up. ...
  • 101
0 votes
0 answers
13 views

Find out the source of an installed CentOS Linux package, assuming chef and dnf install packages (system managed by chef)

The TL;DR here is if I have a command "checker" installed in a bash shell on a CentOS Linux server, is there anyway to easily find what package/source installed it to check what that package ...
-1 votes
1 answer
24 views

I am using a MacBook Pro and how to type special characters like ~ and ^ in Kali Linux terminal not working

I'm running Kali Linux on my Macbook Pro and it is not recognizing my keyboard. I am unable to type special characters like ~ and ˆ.
  • 1
-2 votes
0 answers
18 views

How to find and replace a line (in a file) which has / as a special character in it in shell script

How to find and replace a line(in a file)which has / as a special character in it in shell script? EX: If I have a.txt file cat a.txt has the following: abcfads <p name="myself">1889&...
  • 1
0 votes
0 answers
34 views

How to access apache website via domain name?

I have set up an apache server and I want to be able to access the website from any device that connects to the local network via http:// (eg. http://server1-website or http://127.0.0.1) instead of ...
  • 1
0 votes
1 answer
26 views

How do I access a second paritition of a linux sd

I'm having trouble finding a useful answer about this. But basically I need to edit a file manually (because I broke networking). I pulled out the sd card of my raspberry pi and injected it into my ...
  • 103
0 votes
0 answers
26 views

dual screen support for plasma desktop

I have 2 displays with differing resolutions, and have them mostly working on a Garuda Linux dr460nized version (KDE Plasma). My current xrandr configuration is: [ 2 -eq $(xrandr |grep -c 'DP') ] &...
  • 1
0 votes
1 answer
41 views

Stuck on disk partitioning while trying to install 2 Linux systems

I installed Arch Linux yesterday purely for the learning experience. Knowing very little about partitioning I created a primary EFI partition(sda1), a primary swap partition(sda2) and a primary root ...
0 votes
1 answer
41 views

Debian Server - clients can't ping between interfaces (eth0-wlan0) / subnets

I can't ping clients between interfaces/subnets e.g. pinging from Mac (10.42.0.82), which is connected to eth0 to the Android (10.42.1.150) which is connected to wlan0. Note: I can access internet ...
  • 1
0 votes
0 answers
48 views

Permission denied to connect to my remote server via ssh on windows

with putty gen I generated a public and private key, and placed the private key on (C:\Users\toto\.ssh) but when I try to connect I have (permission denied) And here is the display on the terminal ...
0 votes
0 answers
30 views

Linux screen orientation shenanigans

I have an x86 tablet with EndeavourOS installed on it, and everything works fine except for the screen orientation, in the settings "Portrait Left" is landscape, and "Landscape" is ...
  • 1
0 votes
1 answer
33 views

Where do terminal font colors come from in an SSH session?

Using gnome-terminal I connect to my servers at work using SSH from Ubuntu 18.04 or 22.04. These work servers can be Sparc Solaris or Linux (Fedora). When I connect to the Solaris servers from my ...
  • 101
1 vote
1 answer
27 views

nginx file location search in subdirectories

I have a problem with nginx configuration, and i don't know that is it possible or not, to solve my problem. I have a lot of photos which i need to server. The problem is, all these images ar in the ...
  • 13
1 vote
0 answers
23 views

Implementing the right conditions for a yum command for centos5 in Ansible

I'm currently working with a centos5 host and I have to install some packages with yum.. unfortunately, as far as I know, centos5 doesn't support Ansible's yum module so I have to use the 'command' or ...
  • 11
0 votes
0 answers
12 views

How to clone a linux server hard drive that it fails , so in case sometning goes wrong during a fix I still have the original hard drive? [duplicate]

My problem is that I have a hard drive having a linux server (It fails during booting up process) and some valuable files. ( tried almost all solutions on the internet but no success) Now I found a ...
  • 1
0 votes
0 answers
39 views

How to mount Windows share using Kerberos with custom keytab automatically?

I have to mount a Samba share using Kerberos on a SLES 12 system automatically from boot on. The problem is, that the Kerberos ticket does not get automatically requested when trying to mount the ...
  • 1
0 votes
0 answers
22 views

Why does du command results in high disk number

resultant after running 'du' command in LinuxUsed some Linux result after running 'du' command in bytes command to check disk free & disk usage memory size. Based on the result once i run 'df' ...
0 votes
0 answers
15 views

Import/transfer DRBD drive into another system

I have a 6TB drive of unknown origin that contains a DRBD partition. I would like to verify the contents of the drive but have no idea how to mount the DRBD partition. I'm am not familiar with DRBD ...
  • 111
0 votes
0 answers
27 views

How to set a specific key on wayland?

I already set ctrl:nocaps through gnome-tweaks to avoid pinky injury. However, I still need to have Cap Lock somewhere. On X11 I usually do printf "keycode 127 = Caps_Lock NoSymbol Caps_Lock&...
0 votes
0 answers
36 views

How to remove unknown character from a filename in Linux

I am using Nextcloud to sync files from computer A (unknown computer - i'm guessing Mac) to computer B (Rocky Linux server). Some of the invoices that come from computer A have special characters in ...
0 votes
0 answers
14 views

Source routing from one wireguard tunnel to another in Linux

I try to make the following routing: wireguard client1 with AllowedIPs = 0.0.0.0/0 (default route via VPN) Linux wireguard server with "ip route add default via client2_ip table test" and &...
2 votes
1 answer
17 views

Moving files in directory into subdirectories with matching names

I have a directory of files that all start with some prefix {0000..0030} and all follow a naming convention like this: 0000_0000_124_23.png, 0000_0001_124_23.png, 0001_0001_124_23.png, ... I created ...
0 votes
0 answers
31 views

ISY IKE-5000 keyboard only lighting up when connecting to a USB charger port

Whenever i connect my ISY IKE-5000 keyboard to ANY computer with USB 2.0 or 3.1 ports, the keystrokes work correcly but i can barely see the keys as there are no lights, when there should be. I have ...
12 votes
2 answers
2k views

Why doesn't this unzip all my files in a given directory?

Why doesn't this unzip all the zip files in a given directory? find -name "*.zip" -exec unzip {} + \; Instead I get "caution: filename not matched:" for each matching item
  • 121

1
3 4
5
6 7
1130