All Questions

0
votes
0answers
11 views

backgrounds and wallpapers RHEL CentOS 7 Gnome3

Any user logged in, they can right click on desktop and get Change Background This takes you to the global Settings panel with Background chosen Here it shows Background and Lock Screen Under ...
1
vote
0answers
23 views

Using an rasberrypi to make an bootable usb?

my pc broke and i have an rasbery pi . i want to write the iso of an recovery system (https://www.hirensbootcd.org) so i can repair my system more specific plan B grabing the license key in the ...
0
votes
2answers
30 views

Script runs command fine, but fails when trying to save output to variable

I have a shell script with the following contents. I call it with ./script.sh. Echo successfully runs, but not when I try to save its output to a variable. The same is true for all commands I've ...
1
vote
1answer
18 views

Change CPU count on live Linux VM

Is it possible to change the number of VCPUs on a KVM virtual machine on Linux without stopping it first? The Linux kernel has calls for addition and removal of CPUs (CPU hotplug in the Kernel) for ...
0
votes
1answer
14 views

Nix value is not of type `attribute set of signed integers'

I'm trying to set: networking.firewall.allowedTCPPortRanges = [ 80 81 5900]; However I get the below error: error: The option value networking.firewall.allowedTCPPortRanges.[definition 1-...
0
votes
0answers
20 views

HTML table is not having same font and column when sent email to using mutt [on hold]

when used the same code in https://www.w3schools.com/html/tryit.asp?filename=tryhtml_table_border its giving table with same font and column width as defined in code howver in my email its not showing ...
0
votes
0answers
31 views

“sudo -i -u user_name” command, can someone detail on it? [on hold]

I know what I do with this command, I kind of understand how it works and so on, but it feels uncomfortable to use a command and not fully and truly understand it
0
votes
1answer
60 views

Run bash command from awk system only once

I am using tail -F to monitor a severe weather alert server log file and awk to filter and execute a command if the conditions for an alert are met. I need to execute the bash command(an ssh command ...
5
votes
1answer
205 views

Added a new user on Ubuntu, set password not working?

I created a new user: $ sudo useradd -m Ari -p pass123 But when I went to login it said the password was incorrect, I know it's correct because I saved the command line log as a text file. Other ...
1
vote
0answers
7 views

How to override DHCP client identifier

I'm running a DHCP/DNS server with dynamic DNS on Debian 9 (Stretch) How do I override a clients DHCP identifier and place in my own custom value? E.g Android phones on the network identify ...
0
votes
0answers
30 views

How to identify laptop-keyboard (I can't see it in lsusb, or usb-devices)

I am trying to identify a laptop keyboard. So that I can disable it. It is causing problems (see Permanently disable keyboard), so I want to disable it. However I can not identify it. How do I go ...
1
vote
0answers
9 views

Defining GPIO for LED board - Meraki MX100

I have a Meraki MX100 that I have installed VyOS on. While otherwise perfectly functional, the one thing that I cannot seem to get working is the LED board on the front panel. I'm no developer which I'...
0
votes
0answers
19 views

Gnome: Make Ctrl + Alt act like Altgr (3rd level choose)

I try to follow touch typing on a german QWERTZ-Layout. Since I am programming, I often need special characters, such as {, which can be accesed via the third keyboard level on the numbers row. On ...
0
votes
0answers
15 views

Log python http server output to file

I want to start a python webserver in the background and log all of its output to file. Instead the the servers output appears in the terminal. Even tho i guess this is pretty basic ... I've got no ...
2
votes
0answers
58 views

How come one can successfully ping 127.0.0.2 on Linux?

Let's ask this question properly. On a FreeBSD system with a loopback network interface … % ifconfig lo0 lo0 link up loopback drv_running running multicast nd6 performnud ...
0
votes
0answers
24 views

GRUB changes are not applied

I am trying to hide the GRUB menu on Linux Mint 19 Cinnamon. I edited the grub file using and entering my admin password twice gedit admin:///etc/default/grub Then I edited my grub file to look ...
2
votes
4answers
51 views

BUILD LOGIC - what could be better than using AWK?

Below is how a log looks like: Company=XYZ Req_id=1234 Time_taken=10 sec Status=Success Company=ABC Req_id=3456 Time_taken=200 sec Status=Failure Company=DFG Req_id=3001 Time_taken=15 sec Status=...
3
votes
1answer
44 views

logout/login not enough to update group membership

I just added myself to "docker" group on my workstation. I dutifully logged out and in again on my desktop environment but I'm still not on the group: mcon@cinderella:~$ id uid=1000(mcon) gid=1000(...
1
vote
0answers
22 views

Limit memory usage for a single Linux process with only a function?

This is a shell script with a function timeout() to limit the CPU time usage for a single process. Is it possible to limit memory usage for a single Linux process with a similar function? #!/bin/bash ...
0
votes
0answers
24 views

Is it possible to keep some program running outside screen locking?

Is it possible to keep some program running outside screen locking? For example, some keys on my keyboard are not good to use, making it difficult to type password to unlock screen. so I want to keep ...
-5
votes
1answer
48 views

Need Desire output using shell [on hold]

I need to get desired output using a shell script. Input: aaabbcaaabbcc Desired Output: a3b2ca3b2c2 Command should print number of occurrence of each alphabet only when it's greater than ...
-1
votes
0answers
14 views

Which terminal is able to show images well and supports Font Awesome?

I am looking for a very lightweight terminal which is able to show images when I use ranger and supports Font Awesome. I use Termite, but the image preview on ranger is not good. I tried urxvt, but ...
0
votes
0answers
9 views

KDE screen unlock rejects correct password, then eventually unlocks

When my KDE screen is locked, it rejects my password multiple times and then eventually unlocks. Sometimes I make multiple attempts and KDE eventually accepts it; other times, I'll type it in once, ...
0
votes
0answers
3 views

Can't change default app for AVIs from Dragon Player to Gnome MPV

I'm using Cinnamon on a Devuan ASCII system. I'm trying to have Gnome MPV open my .avi files rather than Dragon Player - like I've already done with .mp4 and .mkv files, using the "Open With | Other ...
-3
votes
0answers
26 views

Write a shell script which displays the total number of words, characters, lines in a file [duplicate]

Write a shell script which displays the total number of words, characters, lines in a file. Assume the file name is given as command line argument. Sample Output: Number of characters in test.txt is ...
0
votes
1answer
20 views

How to keep track of installed software/sys configuration in linux that I can restore after a fresh linux install?

I have been thinking of writing some sort of utility for Linux that keeps track of all my installed software and configuration. Something that after doing a fresh install I can just run it and will ...
0
votes
0answers
5 views

Configuring programs and services from unstable channel in NixOS

I know that I can install a package from the unstable channel like this: { config, pkgs, ... }: let unstable-pkgs = import <unstable> {}; in { environment.systemPackages = [ unstable-pkgs....
-2
votes
0answers
5 views

Change color of chroot prompt in LFS

I am currently building an lfs and am in the 6th chapter. I am using ssh and a remote droplet for making the lfs. I have a tiny problem that while i am in the chroot environment, the prompt color is ...
0
votes
0answers
42 views

Number of characters in test.txt is 20 Number of words in test.txt is 3 Number of lines in test.txt is 3 [on hold]

Write a shell script which displays the total number of words, characters, lines in a file. Assume the file name is given as command line argument. file=$1 if [ $# -ne 1 ] then echo "$0 fileName" ...
-1
votes
0answers
28 views

awk text processing for multiple pattern pairs

This is a repost of my previous query which was well answered by Gerard, search pattern pair using awk Now I have another addition to this query, So here is my query. Below is input string: Policy ...
0
votes
2answers
54 views

Are there multiple flavors of the GNU tools?

I think that the BSD tools have different flavors, for example the BSD ls tool is not the same tool on FreeBSD and OpenBSD and NetBSD (and even on macOS). Note that by "different flavors" I mean that ...
0
votes
0answers
15 views

dovecot aut-worker Fatal

I have set up a test Server with dovecot and get this error in mail.warn dovecot: auth-worker: Fatal: master: service(auth-worker): child 6169 killed with signal 11 My dovecot.conf is the same like ...
2
votes
0answers
11 views

Kernel Logical address

Does Kernel logical address go through MMU when used in load/store instruction? Does MMU handle kernel logical address differently from kernel virtual address? Please give reasons for the same. If ...
-1
votes
0answers
32 views

comparing two file in different directory [duplicate]

Hi i have two file location in which /projects/staging/mvn_file_data_001.csv, /projects/staging/mvn_file_data_002.csv, /projects/staging/mvn_file_data_003.csv /projects/staging/mvn_file_data_00n....
1
vote
1answer
15 views

Centos 7: Filesystem type iso9660 not configured in kernel

I installed the new kernel which fixed a mouse issue, but now I do not have full screen anymore. I am trying to get guest additions to work again but I am getting this error:
0
votes
1answer
16 views

How to check status for user level systemd unit

If alice has a user level systemd service unit named foo.service located at /home/alice/.config/systemd/user/foo.service then I can switch user to alice and check the status of the unit using the --...
0
votes
3answers
41 views

What do empty curly brackets mean in bash? [duplicate]

I understand all of this but lose it when i get to the 7th line starting with find. i don't understand the -exec cp {}. I understand that this is executing the copy command but I don't understand ...
-1
votes
0answers
11 views

Weak Strength Wi-Fi issue in Mint Linux

I have been installed Mint Linux. After installation i could't connect with my home Wi-Fi due to low strength. Wi-Fi name not showm in available list. But there no problem with other devices and ...
2
votes
1answer
31 views

redirect awk exec results to another folder [duplicate]

Trying to capitalize the content of the files that match the filename pattern "_base.txt"; then output the results to another folder with the original filename plus the "_cap.txt" in the end. I plan ...
18
votes
2answers
572 views

What does chmod -u do?

By accident I ran chmod -u filename and it removed all of the permissions I had on filename. The man page does not reference a -u option. Experimenting I was able to conclude that it removes not all ...
1
vote
1answer
13 views

arrow keys for line editing during zsh read builtin

I have a little zsh script for prompting the user for some input: #!/usr/bin/env zsh IFS="$(printf "\n\t")" printf "${1-query}: " 1>&2 read -r query echo "${query}" If I type something at the ...
0
votes
1answer
26 views

Windows hangs at random moments after installing Linux in dualboot [on hold]

So I have recently installed Manjaro Linux in dual boot with Windows 10 (though forgot to turn off fast startup option). Now when I listen to music at Google Play/watch video in VLC player my system ...
0
votes
0answers
8 views

Run commands in Vagrant from outside script

I've got a script which checks whether Vagrant is running or not, if so it'll ssh into Vagrant if not then will run vagrant up and then ssh into Vagrant. After logging in, I need to run a couple ...
1
vote
0answers
8 views

Server Setup and management tool (akin to MacOS Server)

Does a tool exist (for Linux) that allows you to setup services using a GUI akin to how MacOS Server worked? For those unfamiliar, MacOS Server let you configure services such as HTTP, SMB, VPN, Wiki,...
-5
votes
1answer
41 views

What are the differences between `-f` and `-A` of `ss`?

What are the differences between -f and -A of ss? Which of -f and -A is related to -t, -u, -4, -6, -w, -x? Does -A inet,packet imply -A tcp,udp,raw? I know a few socket concepts, but can't figure ...
0
votes
1answer
16 views

enable debug for kernel but not systemd

I have added the debug parameter on the kernel command line to enable debug in the kernel, unfortunately this also enables debug in systemd causing my /var/log/daemon.log and /var/log/debug to fill up ...
2
votes
1answer
33 views

How to scan my computer's UDP ports

I have tried running nmap 192.168.0.97 to port-scan my computer, and I noticed it only lists TCP ports. For both TCP and UDP ports, I would start by asking the OS on my computer. I.e. How do I list ...
0
votes
0answers
8 views

Define <Super>C to copy etc

I am running Ubuntu 18.04 I am trying to remap the default Ubuntu shortcut of Ctrl+C to be Super+C, as well as paste, cut, select all, undo, and redo. I DO NOT want to just change Ctrl to be Super ...
0
votes
0answers
8 views

How do I Get Support for Acer E5-573-54zv Touchpad on a Custom Kernel

I'm compiling a kernel just for learning purpose, and I almost get all things working, bluetooth, hdmi, usb, card reader, webcam, wifi... etc. But I can't make touchpad works, all that I know about it ...
-2
votes
0answers
39 views

Need way to grep through files for malware

I am running into a lot of issues with some files being infected, however, I figured they are very similar code inside and I was thinking about grep-ing through files to find this snip of code. The ...

15 30 50 per page