All Questions

2
votes
0answers
7 views

List Dependencies of Pending `pkg upgrade`

I wanted to update most of the stuff on my FreeBSD system, so I was going to perform a pkg upgrade. I noticed that one of the listed new packages to be installed was Wayland; I'm not interested in ...
2
votes
0answers
9 views

What would cause glob to list results twice?

System: Raspbian 8 on a Raspberry Pi 3 An errant space in a sudo command caused a bunch of system directories (/bin, /etc, /usr, etc.) to be moved into a subdirectory. I was able to fix it by putting ...
3
votes
0answers
12 views

How to run script at start when everything is up and running?

I have a PC for routing purposes, it has 2 network interfaces and runs Debian. I want to add a sound to it, to signal that it is booted and okay. So I've created some /etc/init.s/beep-startup script, ...
0
votes
0answers
6 views

TFTP timeout problem during PXE boot

While setting up a PXE boot server on a CentOS 7 machine, I encountered a strange problem with TFTP. I cannot retrieve any files from the TFTP server without encountering a timeout problem. The boot ...
2
votes
0answers
12 views

ThinkPad second “sticky” backspace key

I have bought a Lenovo ThinkPad T580, and noticed that in the upper right corner of the keyboard, there is a second backspace button (in addition to the other backspace button right above the ENTER-...
-1
votes
0answers
14 views

SSH into a server that is running ExpressVPN?

I have a server running the ExpressVPN VPN service. But this results in me not being able to SSH into the server at all while the VPN service is running. How can I fix this?
1
vote
2answers
18 views

How to make symlink executable?

I am using the Cloud9.io IDE. I have downloaded the Julia generic executable and extracted it. sudo wget https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-1.0.3-linux-x86_64.tar.gz tar tar ...
0
votes
1answer
18 views

Error 404 on JDK Download Debian 8

I'm trying to dowload and install the JDK 8 on my debian with the following command: apt-get install oracle-java8-installer This is the log I get: [...] Do you want to continue? [Y/n] Y Setting up ...
0
votes
0answers
3 views

Duplex printing on Kubuntu by default

When I was using Ubuntu 16.04, duplex printing worked like a charm with my Brother DCP-J4120DW. However, I switched to Kubuntu 18.04. This makes Okular the default document viewer and also my document ...
0
votes
0answers
8 views

lxc container has internet access, how to access internet from host

I have a requirement that networking has to be managed by lxc container, so the Ethernet interface(eth0, which is the source of internet) is assigned to container. I am able to ping "8.8.8.8" from ...
0
votes
0answers
6 views

Order of kernel upgrade commands for gentoo

I have simple bash script to update the kernel. It includes building the kernel, rebuilding external modules, building initramfs with genkernel and updating grub config, here is the script: #!/bin/...
1
vote
0answers
12 views

Lightdm fails to start xsession

I switched from xfce4 to i3 a while ago. The first go through, everything worked fine. I then had to reinstall i3 for some reason, and I can no longer enter i3 through lightdm-gtk-greeter. I have to ...
-1
votes
0answers
12 views

Trouble connecting to open wifi networks in Arch Linux

I have two open wifi networks in my builds, call them A and B. I have lived here for over two years and they have always worked, but now (after being away for a while) I've been experiencing problems ...
0
votes
0answers
7 views

Tunneling VNC for guacamole

I want to set up multiple Raspberry Pis to be accessible via VNC. For this I think guacamole is a good option as it doesn't require to install a client which is really what I want. The thing is that ...
0
votes
2answers
28 views

Can't tar files: Refusing to read archive contents from terminal

I have host without dpkg so I need to install it. I followed the instructions from here and here. On both of these answers they wrote that I need to download the file: wget http://security....
0
votes
0answers
9 views

Divert incoming network traffic for a single Ethernet Interface card (NIC)

I have one/single network card and I want to divert the incoming traffic to 2 different applications (app1, app2). One application will follow the normal TCP/IP Stack while the other application must ...
-1
votes
0answers
10 views

+ Create a new launcher here

I'm not exactly sure why, but the create launcher function has stopped working for me on Linux Mint 19.1 Cinnamon 4.0.9. I created one yesterday to a website, it took me a bit to figure out that I ...
0
votes
0answers
8 views

Transparent LXTerminal on LXDE

I've been trying to set transparent terminal background in lxterminal on Arch Linux but with no luck. Setting transparent background in preferences does nothing, so does setting transparent to 1 in ...
0
votes
0answers
8 views

memory.max_usage_in_bytes is 0

I have one system with a non zero /sys/fs/cgroup/memory/memory.max_usage_in_bytes value and another with a value of 0. I think they have the same kernel config and boot args. Is there a cgroup ...
0
votes
2answers
23 views

Can't run parallel zgrep with regex

When I run this: find . -name "my.log*.gz" -print | \ parallel zgrep -e "\(text1\|text2\).*Exception" to find all lines that match /(text1|text2).*Exception/ in all files in the folder, I get this ...
-1
votes
0answers
10 views

Limit ssh unix socket forwarding

From reading the docs, it seems clear that PermitOpen and PermitListen only apply to ports from:https://man.openbsd.org/sshd.8 permitlisten="[host:]port" Limit remote port forwarding with the ...
-1
votes
0answers
12 views

HDD randomic read-only

I have a notebook, which I frequently forced a sutdown when it was necessary (either by holding the OFF button or with the CTRL ALT PRINT REISUB). This caused problems where the system started or ...
0
votes
1answer
37 views

Still safe to use distro after applying c program to it?

I installed elementary OS Juno on an old iMac 5,1. The Computer uses a 32bit EFI, which is not able to boot elementary OS Juno so I decided to follow Matt Gadients guide for a little workaround. You ...
0
votes
0answers
6 views

ipsec libreswan weakest available params

what is the weakest value in libreswan for ike=? phase2alg=? i'd like to use ipsec/xauth/psk as only for transport purpose
0
votes
1answer
21 views

Can't install wine on Kali Linux 4.18.10

I can't install wine. I type apt-get install wine32 And I have this error Reading package lists... Done Building dependency tree Reading state information... Done Package wine32 is not available, ...
4
votes
3answers
342 views

How do I search a file using “less” for a value with a decimal point?

So I less my file: less myFile.log Then I try to search for a value: /70.5 I've since learned less uses regex, so . is a wildcard. I've tried to escape it with no success.
0
votes
1answer
35 views

How to grep using gcc to find definitions in standard librarys

I have found in my project a type definition, which is definitely from a standard library. Lets say the definition is called uint64_t I know #include <stdint.h> #include <string.h> #...
1
vote
0answers
18 views

kexec: relocate_kernel fails

I am not able to get kexec to work. For x86_64 relocate_kernel fails to store information for jumping back. Kexec stops in movq %r9, CP_PA_TABLE_PAGE(%r11).
1
vote
1answer
36 views

User bypasses DenyUsers on Debian 8

So I have a user called spring and although my sshd_config says DenyUsers spring, I can login with PuTTY into that user. I restarted the SSH service of course. The non-comment lines from /etc/ssh/...
1
vote
1answer
13 views

How to configure the “most” pager to highlight all matches on search?

I have been using the "most" pager for couple of years, but when searching and jumping and navigating between the matches ( with n and p ) the cursor is quite small (I barely notice it), so i'd like ...
1
vote
1answer
17 views

iptables, rpcbind, nfs (v4) - vagrant cannot mount

The setup debian 9.6 vagrant 2.2.3 VMs are all configured in vagrant as private network with static IPv4 in address space "192.168.3.0/24" as far as I discovered NFSv4 and later is listening to TCP:...
-2
votes
0answers
36 views

How to AutoRotate In LineageOS With ADB? [on hold]

I am using LOS 14.1 unofficial (by dl12345 user from XDA) in my N910C. AutoRotate doesn't work and i found a solution which is working partly. What does mean partly? ​ I added these to my ...
0
votes
0answers
9 views

RBP 3+ Stuck at rainbow screen after LUKS encryption

I'm trying to create a raspberry pi with kali linux that is encrypted with a key that is located on a USB device, so it doesn't boot without the USB device plugged in. I followed this guide: https://...
0
votes
1answer
30 views

Keyboard issue console terminal

I have an issue on my Debian computer with Intel Stick. Link to screenshot => I have extra character in console tty like ^[ I dont know why Do you have idea ? Regards,
0
votes
3answers
41 views

Get the command that generated piped data

I'd like to figure out a way to access a string describing the command that was run before the current command running. For example, if I run: ls | myscripthere I'd like to be able to know that the ...
0
votes
1answer
28 views

[1]+ Exit 125 nohup [on hold]

I am running the following command: nohup ./run_hyper_param_tuning.sh> ../../logs/hyper_model_15_b_Jan.txt 2>&1 & echo $! >save_pid.txt It has been always working but suddenly it ...
0
votes
0answers
11 views

Ctrl + F4 not working

I've some problems with shortcuts in Ubuntu. One of them is that I cannot close tab in PhpStorm via Ctrl + F4 (it's specified so in screen where I choose to close it manually). It just does nothing
1
vote
0answers
15 views

Pulseaudio randomly breaks introducing noise

Setup Arch linux (Antergos) XFCE Pulseaudio 12.2 Issue Everything works correctly, but sometimes, pulseaudio breaks randomly: Delay of 1s in the audio Super annoying white noise This problems are ...
0
votes
0answers
28 views

brute forcer tool in bash have problem

i coded an tool with bash script for bruteforcing one of website accounts. my code is: #!/bin/bash clear old_IFS=$IFS IFS=$'\n' lines=$(wc -l passwd.txt | cut -d " " -f1) IFS=$old_IFS linesNum=${#...
0
votes
1answer
35 views

Process appear by “netstat” but doesn't appear by “ps -a”

I have a machine in my organization that I sshed and received a terminal. When I run netstat -ntlp I received: [root@webtl1 ~]# netstat -ntlp Active Internet connections (only servers) Proto ...
3
votes
2answers
41 views

A Unix AIX variable without a $ symbol?

I'm trying to debug an existing program and found an if condition without $ symbol prefixed to it. Values are: dt_val=1234 prev_dt_val=1234 If condition goes like: if [ dt_val -eq prev_dt_val ] ...
0
votes
0answers
8 views

Chrome won't snap correctly

Since I upgraded to Linux Mint Cinnamon 19.1, I cannot snap my Chrome Window to the left or the right. It only snaps to the top or the bottom, for both my laptop monitor and also my second monitor. ...
0
votes
0answers
12 views

LXDE panel is constantly writing to disk. How to stop?

I've noticed that LXDE panel on Raspbian is writing something to disk every 60 seconds: $ pidstat -dl 600 Linux 4.14.79-v7+ (localhost) 01/15/2019 _armv7l_ (4 CPU) 03:11:53 PM UID PID ...
0
votes
2answers
25 views

How to remove trailing CR quickly?

This is my source file, it dumps a database into a JSON and worked great with Debian wheezy: #!/bin/sh echo "Status: 200" echo echo { printf ".mode csv\nselect * from cfg;" | sqlite3 /home/ftproot/...
0
votes
0answers
6 views

schedule auto backup the directories from Centos to FTP server

i have three Centos server i want to schedule autobackup some directories to my FTP server ,FTP is already installed in all servers, i want to use crontab for schedule the backup but the SH files is ...
1
vote
1answer
19 views

Can I create BASH function that will hold text block that can then be called for output to FILE and SCREEN to cut down on code block repetition

I have a BASH utility that outputs measurements to screen live as it runs and writes the result to file at the same time. I am having to repeat the same code twice (see below). Once to write to ...
-1
votes
1answer
13 views

How can I search a specific list of files with ripgrep?

I've got a list of files that I would like to search for a pattern with ripgrep. How can this be done?
0
votes
1answer
31 views

facing error as syntax error near unexpected token fi'

#/bin/sh file="C:/khushal/prop.txt" if [ -f "$file" ] then echo "$file found." while IFS= read -r key value do key=$(echo $key | tr '.' '_') eval ${key}=\${value} echo "User Id ...
1
vote
0answers
15 views

Keyboard not working properly on my ASUS laptop with Fedora

I'm using Fedora for years on my ASUS X550LD laptop without any major problems. But sind a few months (I not able to say since when exactly), I have a very annoying issue that I can describe as follow:...
-1
votes
0answers
10 views

Is it possible to create an ndarray of ndarray? (python 2.7, numpy)

For example, t = np.ndarray((10), dtype='void') a = np.ndarray((10), dtype='float') for b in range(10): a[b] = b t[0] = a Is there a way I can do this? I am getting an error: ...

15 30 50 per page