All Questions

0
votes
0answers
2 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
2 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....
-1
votes
0answers
4 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
12 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

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" ...
0
votes
0answers
10 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
0answers
14 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
3 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 ...
1
vote
0answers
6 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
15 views

comparing two file in different directory

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....
0
votes
0answers
6 views

Centos 7, VirtualBox, Guest Additions

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
10 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
25 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
9 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
11 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 ...
4
votes
2answers
94 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 ...
0
votes
1answer
6 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
13 views

Windows hangs at random moments after installing Linux in dualboot

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
5 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
7 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,...
-4
votes
1answer
19 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
10 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 ...
1
vote
1answer
17 views

Scanning my UDP ports

You appear to only have scanned TCP and not UDP. There might also be UDP services you want to worry about :-). UDP scanning has a number of issues that do not apply to TCP scanning. In ...
0
votes
0answers
6 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
4 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
31 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 ...
-1
votes
0answers
8 views

Where do I place an app icon? (cross-platform)

I have an app I'm developing for Linux and it has an icon. I'm certain that no icon themes contain my app's icon yet. Is there a pre-existing icon theme installed on every system that I can place the ...
0
votes
1answer
15 views

Set to non-default user group upon login in bash

Upon login with .bashrc, how to set the user's group to a non-default one, say targetgroup? Specifically, my problem is that I can execute, on the command line: newgrp - targetgroup but when I ...
-1
votes
0answers
3 views

How to inject a binary into the PATH of a flatpak?

Let's say: I have a flatpak as a user. (permissions do not matter, in this case) I do not want to re-build the flatpak, as I just got it from flathub (or similar). I do want to add a custom binary ...
-1
votes
0answers
19 views

Compare groups two linux users belong to

If someone asks, does userA belong to the same groups as userB, is there an easy way to compare the group memberships of these users? If groups are small in size you can easily inspect, but if the ...
0
votes
0answers
8 views

Unable to restart Polkit service in Centos 7

I am unable to start nscd.service on centos 7 the error is polkit service is not running. Below is error. ** (pkttyagent:27796): WARNING **: Unable to register authentication agent: GDBus.Error:org....
-3
votes
0answers
10 views

I enabled iptables logging from the command line. How do I undo this logging configuration?

I ran sudo iptables -A INPUT -p udp -j LOG --log-prefix "udp:" How do I make it stop?
0
votes
0answers
11 views

Mapping a key combo to toggle Fn or ALT

I bought a USB keyboard/touchpad. As the keyboard has F1,...,F12 and 1,...,' on the same keys, resp., w/ F1,...,F12 triggered by holding down fn or ALT, I'd like to bind a key combo to toggle fn or ...
-1
votes
0answers
7 views

Linux boot-up error : initcall returned with disabled interrupts

We are developing an emulator for RISC-V ISA and during the Linux boot we are getting following errors. It seems do_one_initcall in init/main.c is returned with disabled interrupts. I am getting this ...
0
votes
0answers
2 views

Where are zypper repos for rpm google packages specifically for kubernetes?

I am trying to setup kubernetes on some vm's for docker clusters. The OS we are trying to use is OpenSUSE Leap 4.12.14-lp150.12.48. I've pieced together most of the things i need to have a local ...
0
votes
1answer
26 views

How to allow non-roots to connect to WiFi?

/etc/os-release says Debian GNU/Linux 9 (stretch) /proc/version says Linux version 4.4.132+ (jenkins@fdc-06) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #1 SMP sudo /sbin/...
1
vote
1answer
29 views

Better more efficient bash script (grep)

I have a script that I built .. And it works fantastically -- BUT it's going to take an estimated 4 days to run! I was wondering if there's a more efficient way of doing this. Here's what the ...
-2
votes
0answers
8 views

remaping arrow keys with a keybinding

Would like to map the arrow keys [left,down,up,right] to a set of keybindings. As the left and right mouse buttons are right under the space bar of my keyboard (thinkpad), I would like to map the ...
0
votes
0answers
6 views

Choose right Java on JNLP

I have a problem running JNLP files (mostly for server ILOM consoles). ILOM consoles are different and run on different java versions, so I want to choose which java to use each time. I have 3 Oracle ...
0
votes
0answers
23 views

Pipe and remote shell (ssh)

I want this ssh user@host file_in=$1 'bash -s' << 'CMD' head /tmp/home/$file_in CMD Head is working if file_in is a file but fail when it is a named pipe. Any advice?
0
votes
0answers
10 views

Serial console and terminal with openrc and sysvinit

I have a PC with a serial interface and I would like to run GNU/Linux on it using a serial console (this would spare me attaching a screen and a keyboard to it since I would like to use it as a server)...
2
votes
2answers
27 views

Using `find` to exclude multiple paths matching patterns

I'm trying to locate nested YAML and HTML files to replace a string with sed after creating the list; I'm not sure I fully understand how to use the -prune option, here's what I have: find . -type f -...
1
vote
2answers
20 views

Dual Boot Missing for Mint Linux

I have been installed Mint Linux 19.1 alongside my Windows 10. After installation I could't find a Grub Menu on Boot. It directly goes to Mint Linux.
0
votes
0answers
17 views

Encrypting boot directory

I want to encrypt only the /boot (boot directory) in my linux machine. does LUKS provide encryption with boot?
0
votes
2answers
52 views

What does the action “loop back” mean?

I have some difficulty to picture a diagram for the meaning of loopback. https://en.wikipedia.org/wiki/Loopback#Virtual_loopback_interface Any traffic that a computer program sends to a loopback IP ...
0
votes
0answers
4 views

`~/.inputrc` vi editing mode with emacs shortcut keys, `Control-e: end-of-line` not working

I am using Debian 9 with the Bash shell as default. This is my ~/.inputrc file. set editing-mode vi set show-mode-in-prompt on set vi-ins-mode-string "+ " set vi-cmd-mode-string "- " # in vi-command ...
0
votes
0answers
13 views

How can I determine the size of historical apt-get updates?

I'm trying to understand how much raw data one of my Ubuntu 18.x boxes consumes due to updates. Is there a log that can tell me? I see that there's package names in /var/log/dpkg.log but I don't see ...
0
votes
0answers
3 views

Failing to install my syslog-startup.conf via yocto bitbake

I'm trying to install my own syslog-startup.conf file as a part of the busybox recipe. The file will look like this: DESTINATION=file # log destinations (buffer file remote) LOGFILE=/mnt/userrw/...
0
votes
0answers
15 views

can't install ecodmsserver on crunchbang++ / Debian 9 stretch distro

I tried to install "ecodms Server" on linux according to the installation manual. but i have several issues installing the software, which leads me to the assumption that i am missing in general some ...
0
votes
0answers
5 views

GNOME does not boot on a Toshiba laptop with Nvidia GEForce

I have installed CentOS 7 on dual boot on an 10ish-year-old Toshiba Qosmio laptop which came with Windows 7. I did the minimal install, yum update, then installed the "GNOME desktop" group package ...
2
votes
1answer
24 views

How to Run Program from bash and run scripts inside that program?

My Bash Script: #!/bin/bash cd dataset/ root .x Pushkar_Soni.cpp What I am trying to do is: 1) launch root by command root 2) Inside the launched program root I want to run scripts .x Pushkar_Soni....

15 30 50 per page