All Questions

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

Ubuntu dell laptop display showing misaligned screen

After I woke up I saw my laptop display is showing misaligned screen.I have no idea whether I rollover on my laptop while sleeping. Display as shown in my video recorded link https://youtu.be/WUebZiK-...
user avatar
0 votes
0 answers
5 views

Change the printed memory usage from dot to comma and then calculate the memory usage in %

So far, in a previously asked question: Calculate the real memory usage (memtotal - memfree - cached - bufferd) with /proc/meminfo one-liner With many thanks to @Philippos this command prints the ...
user avatar
  • 3
0 votes
1 answer
3 views

Nginx configuration file and DNS

I have installed plexserver in my unbunu server with a local ip (192.168.0.xxx) and installed nginx with a file in the /etc/nginx/sites-available/plex.conf. I took a domain with DuckDNS, but I would ...
user avatar
0 votes
0 answers
3 views

Virtual Machine Manager - Automate Repetitive Launch Steps

Each time I launch Virtual Machine Manager, I have to run this command before any virtual machines can be run successfully: sudo virsh net-start default On a Debian 11 desktop, how can I configure ...
user avatar
  • 4,311
1 vote
0 answers
6 views

How do you make a non-root user use openconnect?

Openconnect website does have a chapter called "Running as a non-root user". However, if you read it more closely, you will see that it does not answer the question of how to run openconnect ...
user avatar
  • 199
0 votes
0 answers
5 views

Getting multiple clicks: How can I configure touchscreen touch sensitivity?

We are getting multiple clicks when touching a button. The button closes the window. There is another button in the same place on the window below that sometimes also gets click, though there is ...
user avatar
  • 123
0 votes
1 answer
10 views

Cannot install bgzip on Red Hat

I'm trying to install bgzip on red hat. sudo yum install bgzip says Updating Subscription Management repositories. Last metadata expiration check: 0:18:47 ago on Thu 19 May 2022 12:03:12 PM CDT. No ...
user avatar
  • 107
0 votes
0 answers
9 views

Why 'yum clean all' is always showing the "3 files removed" message?

Through Virtual Box was installed Fedora Workstation 36. It for experimental purposes. For academic purposes yum was used, the following set of commands were executed: yum check-update sudo yum ...
user avatar
0 votes
1 answer
5 views

Does dnf work with all the latest data installed/updated got through yum?

Through Virtual Box was installed Fedora Workstation 36. It for experimental purposes. About package/repository management there are two options yum and dnf where the latter is preferred over the ...
user avatar
0 votes
0 answers
9 views

How to kill and disable rslsync?

My system is Arch+kde. The rslsync processes are auto-started and I want to turn them off. I tried systemctl list-unit-files | grep enabled | grep rslsync It returns nothing. I also checked System ...
user avatar
0 votes
0 answers
5 views

VNC starts with localhost on boot

I am trying to set up VNC server on my ubuntu system. I followed these steps: sudo apt install xfce4 xfce4-goodies sudo apt install tightvncserver vncpasswd nano ~/.vnc/xstartup #!/bin/bash ...
user avatar
  • 11
0 votes
0 answers
4 views

Postfix can send to everywhere except Comcast?

I have a VPS running CentOS that hosts a few websites with email. It's recently come to my attention that outgoing emails to @comcast.net addresses are not delivering. I've observed that these ...
user avatar
0 votes
0 answers
5 views

sudo apt-get Conflicting values set for option

I am trying to install missing module packages in my Ubuntu installation. When trying to update Ubuntu for this, I am running into following error. Command: sudo apt update Error: Conflicting values ...
user avatar
0 votes
0 answers
8 views

How to export many rrd files to xml files

I have set of old rrd files, so I need to convert them to xml files and again to rrd files in a new server. In order to create xml files from whole directory, I have used following simple bash script. ...
user avatar
  • 41
2 votes
0 answers
25 views

Why am I able to ping hostnames defined in ~/.ssh/config?

This isn't a problem I'm trying to solve, but it's something I've been curious about for a while. I have defined several hostnames in ~/.ssh/config, but not anywhere else. Notably, I have not defined ...
user avatar
0 votes
0 answers
6 views

Kernel Panic: VFS cannot open root device or unknown block - Linux - LFS 11.0

First of all I understand there are many similar questions had been asked on many forms but those all are really not helping in my case. I'm using Ubuntu 20 on vmware workstation. in that vmware I ...
user avatar
0 votes
0 answers
8 views

Backup NAS to an external drive on a connected computer

I found some options to backup the Synology NAS to an external drive, that is directly connected to the NAS. But is it possible to backup to a computer's external harddisk? For example, userX starts ...
user avatar
0 votes
1 answer
21 views

How can i add up unused disk to existing partition folder

I have an unused 1TB HDD and I need to add it to my main storage /dev/sda3, how can I do this without modifying the files on that partition?
user avatar
0 votes
0 answers
6 views

Getting sed and tr to work on OpenBSD 7.0 chroot rooted at /var/www

"tr" and "sed" and "awk" and possibly others give out segmentation fault on OpenBSD 7.0 chroot. Even without any arguments. The following script installs the binaries: ...
user avatar
1 vote
0 answers
6 views

define hierarchy of history files for ZSH

My zsh syncs history across terminals. Sometimes this is useful. But many times I just need the last command ran on a specific terminal. So I'd like to have two history files in use by each terminal ...
user avatar
0 votes
0 answers
4 views

Reassembling fragments in PCAP file

We have PCAP files with long and heavily fragmented datagrams. We want to read them in Python but that avenue may not work out due to lack of PCAP reassembly support in feasible libraries. Our ...
user avatar
0 votes
0 answers
6 views

Marking packets of Wireguard peers

I am working with a firewalling system that heavily relies on fwmark to match rules to VPN connections (IPsec so far, but upgrading to WG). AFAICs Wireguard’s fwmark capability only applies to the ...
user avatar
  • 1,682
1 vote
1 answer
40 views

Extracting text with expressions from a text file using grep

I have the following 2 lines in my text file and wanted to calculate duration between those lines X & Y in minutes. line X: 18.05.2022 13:54:52 [ INFO]: Starting Component 'OWN_FUNDS_RULES' (5/15)...
user avatar
2 votes
2 answers
31 views

Different behavior between SSH into VM and running SSH commands from script

I'm relatively new to shell scripting, so I apologize if this seems like a simple question to ask. I have a linux VM (debian, version 11 (bullseye)) that I can ssh into (ssh <ip>), installed a ...
user avatar
0 votes
0 answers
6 views

How to make scala work?

I have stumbled upon a hiccup which I can’t get rid of. I tried installing Scala via the homebrew command Javabrew install coursier/formulas/coursier && cs setup and followed all the ...
user avatar
  • 111
3 votes
2 answers
66 views

What's the POSIX-compliant way to get the epoch timestamp in a shell?

I just noticed, that POSIX date doesn't seem to have the %s or %N format items. So I can't use those. What's an alternative, yet POSIX-compliant way to get the epoch timestamp in my shell script?
user avatar
  • 1,864
0 votes
0 answers
8 views

Using Ctrl+Meta+n to switch to the next virtual terminal?

I am using KDE and there are virtual desktops and activities, but I want to use multiple users instead, that is why I need to switch to the next virtual terminal, I assume that I should use loadkeys ...
user avatar
0 votes
1 answer
9 views

why the journalctl --disk-usage not show the real log disk usage

when I am using this command to see the journal log size of CentOS 7: journalctl --disk-usage the output looks like this: [root@k8smasterone log]# journalctl --disk-usage Archived and active journals ...
user avatar
  • 351
1 vote
1 answer
38 views

Command '“export' not found when starting a terminal app in Ubuntu

Every time I start my terminal I get this message; how to get rid of it? Command '“export' not found, did you mean: command 'mexport' from deb mblaze (0.6-1) Try: sudo apt install <deb name>
user avatar
0 votes
0 answers
10 views

Fedora Silverblue /etc became unwritable

So basically the title. After clean install I for sure made changes to /etc/fstab. When I try to do that now I get the error: Read-only file system. Not sure when it became ro to be honest. I also ...
user avatar
  • 101
1 vote
1 answer
31 views

Delete folders from a directory once it's sbatch`ed in a for loop?

I am running a command using sbatch for a tool on the server, that takes a lot of space. The command uses some directories (some files) from a main directory(tq_first) in a for loop. I was wondering ...
user avatar
  • 13
0 votes
0 answers
8 views

Linux network forcing named service use different gateway

I have Centos 5.4 linux server running bind 9.3.6. One week ago it began not resolving dns , long story short for some reason it is not resolving when it is on the net via cellular gateway, however ...
user avatar
  • 1
1 vote
1 answer
12 views

Filter rows of a huge csv file based on values in 2 columns

I have a .csv files as shown below: RepDate;FOO1;ProcessId;ClusterName;ProcessType 19700101;-1;Job_1000969943637142044;PROD;auswertung.mpeTestPlayer.xml 20181231;root;Job_107953405843118835;PROD;...
user avatar
1 vote
1 answer
21 views

How to get around 403 errors on websites with text-based browsers?

The issue seems to stem from a misconfigured web server and has affected some domains I've came across in lynx and w3m, but links can access at least in some instances. Can this be resolved on the ...
user avatar
0 votes
0 answers
21 views

Exporting Python's script errors/traceback to file with netcat

I have a Python script accessible with netcat: nc 'serverIP' port. The Python script awaits an input from the user. If the input is expected, the script keeps running. If the input is unexpect (e.g. ...
user avatar
0 votes
2 answers
28 views

modify umask of a running process

I have a program, which can be used by a group and thus the output should have group writing permission by default, thus umask 002. Of course each user could do (umask 002 && cmd). But since ...
user avatar
  • 101
0 votes
1 answer
8 views

Weird debugfs behavior

I'm playing with debugfs. I first created a file: debugfs -w /dev/vda1 > write /etc/hosts /a/b/c/d And the file system is broken: [root@linux2 /]# ls -l ls: cannot access /a/b/c/d: No such file or ...
user avatar
  • 50.7k
0 votes
0 answers
8 views

Qubes Post-Install Problem

I already installed qubes it's booting to gui but i can't start any domain i keep getting this error. i have amd 5600x with amd-v enabled. i think it got something to do with csm being enabled witch i ...
user avatar
0 votes
2 answers
15 views

Ansible: Copy file on all the servers except on server which are not part of specific Group(2)

I have more than 200 servers on which i have to copy the Repo file and what i dont want is to copy the file on e.g AppCluster and DBCluster servers. Because Clusters have different Repo files and ...
user avatar
  • 3,834
3 votes
2 answers
314 views

cut /etc/passwd but without colons (:) in the resulting set of fields

I want to list the username, id and group on /etc/passwd using the following format: username uid gid I have used the following: cut -d: -f1,3,4 /etc/passwd But it returns username:uid:gid. How can I ...
user avatar
0 votes
0 answers
7 views

Kernel Oops does not show callstack

I have an Sipeed Lichee RV86 which is a RISC-V computer and I run Debian on that. At my last boot, I see a kernel Oops: [ 8.674209] systemd[1]: Started Journal Service. [ 8.709804] Unable to ...
user avatar
  • 655
1 vote
1 answer
21 views

Why CentOS converts ATA bus to scsi bus?

I use libvirt + qemu to boot a VM with a disk with IDE bus device in libvirt: <disk type='network' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source ...
user avatar
  • 13
0 votes
0 answers
12 views

How to enable USB ethernet in Arch Linux?

I have a TD-LTE wireless terminal which can be used as a external 4G network adapter. It is connected to computer through USB. When I'm using Debian 11, it can provide USB ethernet well. However, ...
user avatar
1 vote
0 answers
9 views

Gnome Bluetooth not detecting devices -- Arch Linux

I have GNOME installed on my Arch Linux which is dual booted with a Windows 11 OS. Problem: Gnome bluetooth turns on/off but does not detect devices. Screenshots: When its OFF: When its ON: Its not ...
user avatar
  • 11
0 votes
1 answer
7 views

Wired Xbox One Controller Shows in lsusb but stops detecting input in steam sometimes

After a reboot, my wired controller works with steam. There is a light on the controller that is on whenever this is working. Sometimes, however, the light randomly turns off and then input stops ...
user avatar
  • 101
1 vote
1 answer
18 views

How to set a VPN connection in nmcli?

I want to use nmcli to connect to a VPN that I typically use Cisco Annyconnect for. I've installed networkmanager-openconnect package (in Arch) and now I want to use it through nmcli. However, nmcli ...
user avatar
  • 199
0 votes
0 answers
25 views

Bluetooth headset unable to connect: org.bluez.Error.Failed br-connection-profile-unavailable

Trying to connect some wireless headphones to my laptop. They worked a couple days ago then stopped and I cant figure out why. Before that it would work for a few days then stop until I rebooted or ...
user avatar
0 votes
0 answers
7 views

systemd network: why wifi gains carrier before wired

This is not a problem. I'm just curious. I have three network devices: eno1 : onboard ethernet eth01 : udev named usb-ethernet adapter wlan0 : onboard wifi Looking through journalctl output : I see ...
user avatar
0 votes
1 answer
7 views

How to get current window class name from script?

In my script I want to do different things depending on current active application. How can I get currently active window class name? There is very similar question: xdotool: How to test if current ...
user avatar
  • 382
0 votes
1 answer
22 views

inotifywait not detecting new directories

The script below watches for close_write events in the TARGET directory and does something with the file #!/bin/bash TARGET=/home/*/ftp/files inotifywait -m -r -e close_write $TARGET | while ...
user avatar

15 30 50 per page
1
2 3 4 5
4352