All Questions

1
vote
0answers
4 views

82MB of “reserved memory” on 512MB system

I reinstalled a fresh debian 10 on an old x86 system with 512MB RAM (everything works ok). Available memory is 431MB. I don't think that that much memory was "reserved" on an old 3.x kernel (No ...
-1
votes
1answer
20 views

Why doesn't GNU `su` respect end of options?

When I run user@hostname:~$ su -- root -z I get bash: -z: invalid option Usage: bash [GNU long option] [option] ... ... The above is the behavior I expect. When I run user@hostname:~$ su -l -- ...
0
votes
0answers
3 views

fail2ban unexpectedly “starts” causing duplicate iptables entries and flushlogs running at 99% cpu

I've recently configured a Ubuntu16 server and I'm getting "fail2ban started" emails sent again even though the server did not restart. I noticed this has happened twice, both times the emails came in ...
0
votes
0answers
4 views

Fans always on on HP laptop

I recently installed Debian 9 on my HP-15bsxx laptop (after installing ElementaryOS 5.0 and NOT having this problem), and I have this issue where the fans are always on (not at full speed), even ...
0
votes
0answers
6 views

Debian Failed to Start Load Kernel Modules after Nvidia driver install

Background I recently re-installed Debian Stretch with xfce4 and gdm3 on a desktop workstation with an NVIDIA Quadro P1000 graphics card. After going through the Debian installation, I was not able ...
2
votes
2answers
26 views

How to include custom command options in a bash script with $1 and $2?

I have a script myscript.sh #!/bin/sh echo $1 $2 which is used something like ... ./myscript.sh foo bar which gives me an output of ... foo bar but how can i make this script include custom ...
-2
votes
0answers
8 views

HSH File formate ^~ [on hold]

HSH File formate the symbols ~^ in the file naming convention below essential FileName,~^MONTHLY_STATEMENT_DD_MMM_YYY~^.PDF,"MONTHLY Statement DD MMM YYY"
0
votes
1answer
10 views

startx not automatically running on reboot

When starting up by machine, I am prompted with a terminal asking me to login, rather than the nice GUI that I am use to. When I login in, I am able to run startx and everything works smoothly. I ...
0
votes
0answers
9 views

Debian freezes when clicking an app in Activities

I recently updated my Debian to the latest version of Jessie. Whenever I search for an app and click on one of the suggestions in Activities, the display is frozen, but I can still see the mouse ...
-1
votes
1answer
23 views

How to modify this `printf` code to reverse it's action?

Code below can, for example ... [anony@mous-pc ~]$ (printf 'g?%s?m0\n' 008 006 004 002 ; printf 'wq\n') | ed -s file.txt ... take all of numbers within ... [anony@mous-pc ~]$ cat some.txt 005 003 ...
1
vote
1answer
16 views

Where is GRUB's boot information located? (want to delete partition)

I have a laptop with two internal storages. M.2 SSD: Windows/Ubuntu HDD: Debian/DATA 4 partitions in total. I used to boot mainly from Debian and sometimes from Windows. After some time I made ...
2
votes
2answers
17 views

EXIT Trap with POSIX

I have a script I wrote in Bash that I'm trying to modify to be POSIX-compliant. I have managed to get everything working except I cannot get the EXIT trap to trigger when the process is terminated ...
0
votes
1answer
12 views

Pivot file values

I have a file where the first column is the key. The rows can have up to 2800 delimiters. I need to pivot the data from rows to columns. Below is the sample input and required output. Source File ...
0
votes
0answers
3 views

Kerberos fallback to app login

I have to mount a SSO to connect to a GLPI application. For some reason NTML don't work, but we managed to get kerberos functionnal. I would like to authenticate against Kerberos, but if that fails, ...
2
votes
1answer
20 views

Parsing arguments with nested case statements

I am trying to build a program with 2 modes, each mode takes a different set of arguments. I have tried to implement nested case statements as described by @geekosaur in here, with case "$1" going ...
1
vote
3answers
102 views

Why does FOO=bar; export the variable into my environment

If I run FOO=bar docker run -it -e FOO=$FOO debian env That environment variable is not set in the command output for the env command. PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/...
1
vote
1answer
26 views

Grep: Find 3 consecutive char and then follow another char or end of the line

I want to find 3 consecutive characters and then another character or the end of the line. I tried this: egrep '(.)\1{2}' file but I need less results.
1
vote
1answer
11 views

VirtualBox 6.0.8 menu text small in Ubuntu 16.04; All other programs good. Guest boxes good

I was running Virtual Box 5.2.22 under Ubuntu 16.04. After my employer updated the kernel, VB ceased to work (kernel modules). After following the instructions provided by the error message, I ...
0
votes
0answers
21 views

How to only allow web traffic and ssh/ftp in iptables

How do I drop all input traffic except that which is web browsing traffic or ssh and ftp? I'm not using a front end for iptables I'm using Parrot OS Linux
0
votes
1answer
33 views

find the depth of nested parenthesis each line in a text file?

and print the number of dots (or any random characters) representing the depth at the beginning of each line the shell script should have 3 parameters. The first is character c, the second is the ...
0
votes
0answers
9 views

libpam-shield config allow certain IP addresses

libpam-shield's config file /etc/security/shield.conf has a line that says allow HOSTNAME. The man pages for shield.conf(8) says that HOSTNAME can be name, or IP address or network/mask or network in ...
3
votes
0answers
42 views

Move/copy millions of images from Macos to external drive to ubuntu server

I have created a dataset of millions (>15M, so far) of images for a machine-learning project, taking up over 500GB of storage. I created them on my Macbook Pro but want to get them to our DGX1 (GPU ...
0
votes
0answers
22 views

Do not allow detach for one bash

I would like to know if it's possible to forbid all detached-like things for a given shell. More precisely, I'd like to make sure that if a command runs in a specific shell, when the command stops, ...
0
votes
0answers
12 views

Gnome-keyring: “Automatically unlock this key whenever I'm logged in”

I don't seem to have the option to "automatically unlock this key whenever I'm logged in" when trying to SSH into another computer. This is a screenshot of my prompt: This is an example I found on ...
1
vote
2answers
36 views

Hard Disk with 8 bad blocks

This is the SMART information about a possibly damaged hard disk of mine: smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.18.0-15-generic] (local build) Copyright (C) 2002-16, Bruce Allen, Christian ...
0
votes
1answer
48 views

How to execute .sh with certain file which has .xyz extension

I have abc.sh file and input source (input.xyz). I always execute the abc.sh file with input sourece (e.g. I type 'sh abc.sh input.xyz') However, as the number of directory increases I cannot bother ...
1
vote
0answers
5 views

zsh _arguments completion that gradually reveals options

I have at the moment a completion function that looks something like this (except way more entries) _arguments \ '-check[do a check]' \ '-play[play a specific song]:songnumber' \ '-test.n=[run ...
0
votes
1answer
15 views

GNU datamash transpose example doesn't seem to work correctly

I am trying to replicate the example of using teh GNU datamash utility to transpose a file. I get a different output though. Not sure what's happening. Instructions: https://www.gnu.org/software/...
0
votes
0answers
18 views

How to split a bash loop on several nodes with Slurm?

I would like to split this loop : for i in $subset do srun Rscript my_script.R --subset $i done where $subset corresponds to seq 1 number . I would like to execute each value of i on multiple nodes....
0
votes
0answers
9 views

after a p2v conversion I have kernel panic in my redhat 5

I did a p2v in my linux 5 redhat machine to vmware, now I am getting kernel panic error, before it could not find the VolGroup00 then i recreate the initdr, now i am getting this error: I can not not ...
-1
votes
0answers
20 views

SSH Tunneling for a specific network device

I'm hosting a few VMs and I want to give them their own public IP. I also have some low cost VPSes that come with a public IP. I recently found out about SSH Tunneling and it seems like the perfect ...
1
vote
1answer
24 views

Restricting a user to a certain directory on SSH login

I am having trouble restricting a user to a fixed directory when they connect with SSH I want the user restricted to /var/www/home however I connected myself and they are free to move about the ...
0
votes
0answers
6 views

Mismatch in USB devices listed by lsusb and sys filesystem

I work on a Ubuntu 18.04 LTS PC. I have a need to find out the USB device name that matches a particular USB device ID. When I run the lsusb command to list USB device interfaces, here is the output I ...
0
votes
0answers
5 views

gnome-control-center not running

Today, just after a software upgrade which involved samba-libs, the gnome-conrol-center utility didn't start anymore when I tried to launch it from the small "tools" icon located at the top-right ...
0
votes
0answers
16 views

How does linux arbitrate access to devices

I would like to know the different methods linux uses to control access to a peripheral device. e.g. for example you have a spi temperature sensor. And multiple threads are trying to get a reading. ...
0
votes
1answer
11 views

Packaging CMake components for Debian

I have a single upstream source package using cmake and I'd like to package it as two binary debian packages. $ tree proj proj/ ├── app1.c ├── app2.c └── CMakeLists.txt Upstream's CMakeLists.txt was ...
1
vote
0answers
9 views

Avoid pipeline stalls from write caching to usb drive

I have the following process I use for backups: btrfs send snapshots/home-2016-06-04 | zstd --verbose -T4 - | gpg --batch --passphrase-file /tmp/secret --compress-algo none --symmetric - > /mnt/...
0
votes
0answers
10 views

ICMP “TTL expired in transit” and “Fragmentation required” messages when forwarding is disabled

I have a server with IPv4 forwarding(routing) disabled: # sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 0 # Is there a circumstance where such server sends out ICMP 11/0(TTL expired in transit) ...
0
votes
0answers
27 views

Powering up Linux system, it starts and reboots continuously

Actually we are designing a touch based Destination panel where the panel just reboots continuously for every 64 seconds and the thing i can see i the logo only through serial monitoring i got some ...
0
votes
0answers
12 views

How to convert Mysql data to RRD

Is there any tool or script where I can convert mysql Data to RRD for monitoring data to be loaded in graphic mode. Headings of the sql data to csv. systemDate macaddress ipoe pppoe hotspot ...
0
votes
0answers
15 views

How to run puppeteer in Docker on VPS and connect to display server to local machine?

I am running a puppeteer-controlled chromium instance inside of docker on a remote server. For a specific operation, I need to be able to interact with the page that is opened by puppeteer. This ...
0
votes
0answers
8 views

Yocto “Failed to run qemu: Could not initialize SDL(x11 not > available)”

So I've got Yocto on a local build server, coz who wants that massive build chewing up their workspace amirite? Host and Server are Arch Linux 4.19.44-1-lts Anyway I am just running up the example ...
2
votes
0answers
18 views

Grub unresponsive with high resolution

I am running grub (version 2.02) with a resolution of 2560x1440. Although this resolution is the preferred mode according to the videoinfo command, grub happens to be incredibly unresponsive/laggy in ...
0
votes
0answers
10 views

RHEL 6.8 and nm-applet. How to install and configure OR how to to use nmcli and setup wifi connection

I have Red Hat 6.8. I accidentally removed the GNOME nm-applet when working with the keyring manager which is also located under “.gnome2”. I have since downloaded the nm-applet package (from http://...
0
votes
1answer
11 views

How to remove the grey border in network manager applet

I'm using nm-applet in xfce, however it displays a grey border like the following: I tried to debug the panel by doing: gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true xfce4-...
-1
votes
2answers
33 views

Specifying the range of the arguments to print in every record line

We have a sample data as below EMP_ID|EMP_NAME|AGE|SALARAy|DepId|DepName 123456|XXXXXXXXX|30|10000000|1234|XYZWE I have used below code to split the data as below awk -F\| ' BEGIN { print "EMP_ID|...
1
vote
0answers
16 views

Pmem and huge pages

In my Ubuntu 18.04 Intel system, there are 356gb of DDR. Out of this memory, 300gb, are pre-allocated using the pmem mechanism (since we have an external HW that sends us contiguous data chunks of ...
1
vote
1answer
21 views

Create a directory if it doesn't exist when symlinking a file into that directory

Assume I want to symlink like in the following command: ln -s /home/user/dots/cmus/cmus.theme /home/user/cmus/cmus.theme But for the above command to work, I need to make sure that the directory /...
0
votes
0answers
12 views

Seeing dead process in nethogs?

nethogs is a very useful tool to see which process(es) send/receive lots of network traffic. But as soon as the process exits, on the next display refresh nethogs no longer displays the process. Is ...
0
votes
0answers
8 views

Disabling a key in Ubuntu 18.04.2 which doesn't show in keyboard panel

I have a problem that when I'm pressing Alt+Shift (both right and left) Ubuntu changes the language... I want to disable the shortcut of changing a language in my Ubuntu 18.04.2 LTS , but I don't see ...

15 30 50 per page