All Questions

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

Why does Samba not maintain its own database of users and permissions?

When working as a standalone server, Samba has its own user database smbpasswd, but still requires each of its users has a corresponding local Unix user. It also relies on local filesystem permissions ...
user avatar
  • 445
0 votes
0 answers
4 views

How to match all lines sharing same words

How to search complete CSV (using Visual Studio Code IDE), marking all lines that contain "Mamba" and lines that mach same MAC address (xx:xx:xx:xx:xx:xx) if the line is containing "...
user avatar
0 votes
0 answers
2 views

mysql ZFS latency with new SAS disks on Freebsd-10 servers

We're facing a serious issue with a couple of FreeBSD-10 servers where we replaced SSD disks (7Tb SATA to 15Tb SAS) for a zpool called zsqlxxx. inside each host, we have a MySQL jail running and ...
user avatar
  • 101
0 votes
0 answers
3 views

Kernel 4.15.0-177-generic on Ubuntu 18.04.6 causing slow login and device boot

I recently got upgraded from kernel 4.15.0-176 to 4.15.0-177. I am running Ubuntu 18.04.6. The upgrade seems to have caused some issues; Boot up is slow. I get "A start job is running for /boot/...
user avatar
  • 143
0 votes
0 answers
5 views

How to combine find and cp in linux to copy specific files

I am having the following problem in linux: I need to find specific files from a directory and copy those files (if they exist) into another directory this is the command (i need to find specific text ...
user avatar
  • 1
0 votes
0 answers
3 views

Systemd Service Java/Bash Script

I wish to create a custom service to start/stop a java process. There already exists a start.sh/stop.sh for this java program. sh-4.2$ cat /mnt/crx/publish/start.sh #!/bin/bash if pgrep -x java >/...
user avatar
  • 1
0 votes
0 answers
10 views

RHEL - Install Xfce, but make using it optional

As a Masters student, I wish to avail of the the RHEL developer programme. However, my system of choice is Fedora - I really like the lightweight Xfce desktop - it does everything a desktop should, ...
0 votes
0 answers
18 views

return a list using grep (or alternative)

I am trying to return a list of "Name", "Exec" and "Icon" fields in /usr/share/applications/*.desktop I run: grep Icon= /usr/share/applications/*.desktop | cut -d '=' -f ...
user avatar
0 votes
0 answers
13 views

Cannot autostart Conky in Fedora 36 - GNOME 42

So: I just installed Conky, and it looks very nice. But it's annoying to constantly open it on startup manually. So I've search for a way to autostart Conky I've tried: Making a .desktop file and put ...
user avatar
0 votes
1 answer
22 views

String compare negating in bash doesn't behave as it should be?

I have this little bash script: readonly imagick_extension=$(cat "${php_configuration_file}" | grep imagick) echo "Imagick extension grep value: $imagick_extension" if [ "${...
user avatar
  • 103
0 votes
0 answers
15 views

Is there a bug in the sysinfo(2) man page?

The manpage (also) documents struct sysinfo. The size of this struct differs on 32 and 64 bit systems. (Because the struct is made of longs). You can read these comments in the manpage: ... /* Pads ...
user avatar
  • 293
0 votes
3 answers
34 views

How to extract specific words out of a file

If I have a file that looks something like this eg called myfile.log 1 entry1 # Blah blah 2 entry2 # Blah blah 3 entry3 # Blah blah 4 entry4 # Blah blah 5 myentry5 # ...
user avatar
-2 votes
0 answers
16 views

Vyos Image management

I'm new on vyos and am trying to understand how vyos works to manage images. I would like to know what happens in the system side for that! (filesystem , disk ....) Vyos can have more than one iso ...
user avatar
  • 1
0 votes
0 answers
10 views

pulseaudio has problems with input and output sound in Linux Arch

My system seems to be having problems with Pulse Voice after updating archlinux. I am using "gnome 42" and the sound works well when the "gdm" environment is raised when logging in....
user avatar
0 votes
0 answers
6 views

Switch AltGr and Ctrl with XKB

Ive tried various xkb_options to swap the right AltGr key with the left Ctrl key, bot none of them worked. On my X11 setup, I've used a .Xmodmap file to redefine these keys like so: ! CTRL on ALTGR, ...
user avatar
  • 415
0 votes
0 answers
6 views

Why are keystrokes not intercepted after reattaching a "screen -dmS session bash -c 'command'"?

I'm using screen -dmS mysession bash -c 'command > test.txt' to start a screen, launch a command + write its stdout to a file, and detach. Later, after reattaching it with screen -r mysession, I ...
user avatar
  • 2,245
0 votes
0 answers
4 views

Libre-office: Texmaths extension disappeared and can not be reinstalled

So I've been using Texmaths, an extension for Libre-office for 2 months. Suddenly, yesterday Libre-office closed (happens sometimes), but then when I reopened it the button for the extension had ...
user avatar
0 votes
0 answers
16 views

VM hangs when mounting a (full) partition

First of all, I should say I'm a beginner regarding these matters, so please bear with me for a moment. Thank you. My company accidentally fill one RAIDZ partition (named sdb1) up to 100% of its ...
user avatar
  • 101
0 votes
1 answer
17 views

Why does this screen session exit when the command is finished?

I know screen -dmS mysession command to start a screen, launch a command and detach. When we need to redirect the stdout to a file, this works: (see How to run a program in a screen, redirect all ...
user avatar
  • 2,245
0 votes
2 answers
39 views

Is there a terminal emulator like powershell or Windows Terminal, for Linux?

Say what you will about Windows, but there are a couple of features of powershell that I found immensely helpful: Suggestions for autocompletion: If I type cd my then hit CTRL+SPACE, not only do I ...
user avatar
  • 203
0 votes
0 answers
17 views

Can we set user permission to create a file but not a subdirectory in a directory?

Is it possible to give permission to only create files but not a directory to a user in linux? abc@xyz:~/temp$ touch a abc@xyz:~/temp$ mkdir b abc@xyz:~/temp$ I want mkdir b to fail but touch a to ...
user avatar
0 votes
0 answers
22 views

Sudo does not prompt for password, though it is configured to do so

The users login to Redhat Linux server using AD. They are given access to root, but it is expected that their AD password is prompted when they sudo. When I try a sudo -l, it shows two entries User ...
user avatar
0 votes
0 answers
4 views

trying to start sidekiq via systemd hangs on boot

Here's the tech stack on this server. Ubuntu 20.04.4 LTS Sidekiq 6.4.2 Redis server 5.0.7 Ruby 3.1.0 After a boot service sidekiq status returns ● sidekiq.service - Sidekiq Loaded: loaded (/lib/...
user avatar
  • 101
0 votes
1 answer
16 views

Not obtaining lazy evaluation using sed

I would have expected 'a' for this, why 'a:b'? $ echo "a:b:c" | sed -E 's/(.+?):.+/\1/' a:b
user avatar
  • 481
4 votes
3 answers
78 views

POSIX shell comment vs line continuation

Edit to clarify my question: POSIX says: If a <newline> follows the (unquoted) <backslash>, the shell shall interpret this as line continuation. The <backslash> and <newline> ...
user avatar
  • 43
0 votes
0 answers
8 views

Why is LFTP "Removing old file" in mirror?

I'm trying to mirror a website (of which I'm the webmaster) using LFTP, for backup. I use the LFTP command (actual paths, usernames, and passwords redacted for privacy): mirror -e -p --verbose=1 /...
user avatar
0 votes
0 answers
16 views

annoying clocksource alert/warning in bash prompt periodically

So I just build LFS system and it's working fine, but the annoying part is there's alert that every periode show like every 3 second. It said root@LFS:# clocksource: timekeeping watchdog on CPU0: ...
user avatar
0 votes
0 answers
25 views

How can I batch rename files by combining three variables and ignore file extensions?

I'm trying to create a script that renames a group of files. Normally they will be TIFs but sometimes an occasional oddball could be thrown in so I would like to rename and ignore the file extensions. ...
user avatar
0 votes
0 answers
18 views

Forwarding all traffic

There is such a scheme: The operating system ubuntu server 22.04 is installed on Raspberry Pi4. Through the main network interface, Rpi is connected to the home router and has access to the Internet. ...
user avatar
0 votes
0 answers
7 views

Apt / Apt-get / dpkg no longer logging to journald

I have a systemd service that I install via debian package using the apt command on a raspberry pi 4. I've been using journalctl -xef to keep track of all log output for debugging purposes while ...
user avatar
-2 votes
1 answer
44 views

Brute force bash scripting

im a begginer at bash scripting, i was able to do a subdomain bruteforce but now im stuck at directory bruteforce, im using "curl" to do a get request and get a response (200,400,301) but im ...
user avatar
0 votes
0 answers
8 views

Read-only NTFS flash drive refuses to format

I have this SanDisk Cruzer Edge where it's a write-protected NTFS partition that I got from my dad as I needed a flash drive. I tried using GParted, didn't work, I saw something online that used the ...
user avatar
0 votes
1 answer
23 views

Change text using bash

So I have program called gamemode, and to check if it is running you can run: gamemode -s, which ouputs either "gamemode is active" or "gamemode is inactive". I want to pipe than ...
user avatar
  • 1
0 votes
3 answers
14 views

Is 'yum check-update' mandatory to do an update? (Ubuntu comparison)

For Fedora Workstation 36. About yum (yes I know it is replaced by dnf) - I am using yum for academic purposes. To accomplish an update of all the packages available in the OS - is used the sudo yum ...
user avatar
0 votes
2 answers
9 views

What is the colon in postgres' process command-lines?

For example Postgres process command-lines are like postgres 794 1 0 Nov06 ? 00:00:03 /usr/pgsql-9.3/bin/postgres -D /var/lib/pgsql/9.3/data -p 5432 postgres 857 794 0 Nov06 ? ...
user avatar
2 votes
1 answer
23 views

What do curly brackets mean in man page synopsis?

This question has good answers for synopsis syntax but doesn't have any info on curly brackets '{}': Understand synopsis in manpage Example in the tar man page NAME tar -- manipulate tape archives ...
user avatar
0 votes
1 answer
30 views

How to use find and sed to replace certain sentences in files

I am using find and sed commands to find and replaces the occurrences of certain sentences in the whole directory with some other sentences. For example if I want to replace all occurrences of the ...
user avatar
  • 157
0 votes
1 answer
7 views

Need help moving fedora 35 system from intel to AMD motherboard

I had 2 fedora 35 systems, one on an intel i9 and the other on an AMD 5600G. The motherboard with the AMD chip failed and destroyed the contents of the boot drive in the process. I have replaced the ...
user avatar
0 votes
0 answers
6 views

CodeLLDB for VSCode not working with remote gdbserver

I'm currently trying to set up remote debugging on a Raspberry Pi using the CodeLLDB plugin for Visual Studio Code and gdbserver. Unfortunately this doesn't seem to work, since every breakpoint I set ...
user avatar
0 votes
0 answers
10 views

Installing chrome remote desktop on linux mint

Hello I am running Linux mint 20.3 Cinnamon edition on my host machine and am having an issue installing chrome remote desktop. I'm on the remote desktop page and after clicking the download button I ...
user avatar
0 votes
0 answers
10 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
1 vote
0 answers
17 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
  • 21
0 votes
1 answer
7 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
1 answer
17 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
6 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
14 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
13 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
11 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
11 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
10 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

15 30 50 per page
1
2 3 4 5
4352