All Questions

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

Windows to Ubuntu Ethernet Connection

My windows 10 laptop is able to connect to wifi, and I want to use an ethernet connection so my ubuntu computer (18.04) can siphon off the internet. I tried to use this and this. Neither worked and I ...
1
vote
0answers
12 views

How to configure auditd to collect logs from /proc

I've been looking for this for about 2 days and have come up empty handed. I am looking for a way to build a threat alert for linux based credential dumping in splunk. To do this I need to be able to ...
0
votes
0answers
7 views

iptables-restore v1.6.1: Can't use -i with OUTPUT

The line for the loopback interface is -A OUTPUT -i lo -j ACCEPT but the error iptables-restore v1.6.1: Can't use -i with OUTPUT shows up
0
votes
0answers
13 views

how to gracefully handle rsync failing, sometimes, to correctly read a directory?

Running Ubuntu 16.04 LTS fully updated on remote webserver Running rsync 3.1.1 on remote webserver I have a fairly simple setup where I allow some users to manage a set of publicly accessible files. ...
0
votes
0answers
7 views

trouble with byobu custom status

I'm trying to add nVidia GPU utilization to my byobu-tmux status line. I've installed gpustat which returns ~$ gpustat myhost Mon Aug 19 17:26:51 2019 410.48 [0] GeForce GTX 1080 Ti ...
0
votes
0answers
14 views

Using subset in sed for replace with regex

Well consider some data that looks like "2019-12-12 00:00:01","2012-01-01 01:01:01" I wish to replace it so they are valid datetime json values: "2019-12-12T00:00:01+01","2012-01-01T01:01:01+01" I ...
0
votes
1answer
35 views

Is there a POSIX shell which completely removes the need for `cat` and `dd` by using in-place operators?

In Vidar Holen's blog entry Useless Use of dd, he argues that dd is effectively useless, primarily because everything is a file and files can be piped. We have also seen regularly on all the *nix ...
1
vote
0answers
14 views

Can't get to GRUB bootloader

I am trying to get to the recovery mode through the grub bootloader but cannot get in because I have a very fast m.2 and load too fast. Is there any command I can use to boot into recovery mode?
0
votes
0answers
5 views

UBIFS errors on an embedded RPi-like device

Test Environment Single board computer (https://www.emtrion.de/en/details_products-accessoires/sbc-sama5d36-56.html) Linux Kernel is version 4.18.8. Bootargs are: console=ttyS0,115200 earlyprintk ...
0
votes
0answers
9 views

multiple [[collectd]] in influx.conf

I have following collectd instance running in influx.conf file and everything is good, but now i want to setup other instance totally isolated with existing one how do i do that can i do following? ...
0
votes
0answers
12 views

How to autologin in debian 10?

I just installed the debian 10, but it was able to make it autologin into mate after the boot, Im using gdm and try to edit the /etc/gdm3/daemon.conf Uncomented the autologin and user lines but ...
0
votes
0answers
15 views

Ctrl-Enter, Shift-Enter and Enter are interpreted as the same key

I'm using Fedora 30 with KDE and am trying to bind (zsh) autosuggest-execute to Ctrl-Enter for convenience. I'm trying to get it to work in gnome-terminal. However I discovered that showkey -a always ...
0
votes
0answers
15 views

Application fails when ethernet interface is dropped

I have a long running application that operates hardware running with super user privileges and realtime priority. This application has a user interface that interacts with it over UDP (periodically ...
-1
votes
0answers
30 views

Recommend a book to learn and understand hexdump, xxd and other data manipulation linux utilities [on hold]

On occasion, I find myself using hexdump and xxd in pure UNIX shell (sh, not bash). Unfortunately, I usually complete my task by trial and error with minimal reading of the manual pages. Man pages are ...
0
votes
0answers
9 views

Restrict Postfix From domains

I have a webhosting server based on ISPConfig (Debian 9.9 LAMP) and I'm new to Postfix. When users send an email from PHP, the default address is webmaster@thedomain.com. This address can be overriden,...
0
votes
1answer
15 views

Customize password request string

I'd like to know if there's a way to customize the sudo password request. The default string is: [sudo] password for USER: Is there a way to change that to some other custom string, like: Insert ...
1
vote
0answers
18 views

How to save command line screen output in Linux after running program?

I ran a program that has a good amount of command line output, and it ran on a screen in a ssh server. I referred to this post so that I can scroll through the screen and see the output, but there is ...
0
votes
1answer
35 views

Proper way to start a background process

I am just trying to start up a basic node.js server on a remote machine in a ssh session. This seems to work: nohup node server/server.js & disown Maybe I don't need nohup? what's the "official"...
0
votes
0answers
32 views

Compare if the newest file in the directory is different from the previous one

I have the following script: #!/bin/bash x=1 y=0 new=$(ls -t ./pics/0/*.png) while [ $x -le 5 ] do if ! cmp "$y" "$new"; then then y=$(ls -t ./pics/0/*.png | head -1) base64 $y | tr -d '\n' | ...
0
votes
1answer
14 views

GET file with respect to yesterdays date using SFTP

I am trying to download yesterday's files from the server using a bash file with the following code: export SSHPASS=$SFTP_PASS YESTERDAYS_DATE=`$DATE -d "-1 day" +"%Y%m%d"` sshpass -e ...
1
vote
1answer
26 views

uncommenting text with sed is not working

I'm trying to uncomment a 4 line section in an (nginx config) file. Using sed. I first tried with grep and the regexp seems to be correct: $ grep ^#.*bny /etc/nginx/sites-enabled/default # ...
-2
votes
1answer
20 views

Installing python on VM vbox kali linux error [on hold]

zipimport.ZipImportError: can't decompress data; zlib not available make: *** [Makefile:1132: install] Error 1
1
vote
0answers
13 views

Video playback not working/choppy in Linux Mint 19.2

I have a problem with Linux Mint and video playback. The issue is that opening any .mp4 from disk (don't have any other filestypes) results in video player crash. Tried many different players like ...
0
votes
1answer
20 views

Looking for latest i386 DVD ISO download

I'm having trouble finding this CentOS download: 7.6.1810 *.ISO DVD i386 Does anyone know whether this particular build was made available?
0
votes
0answers
6 views

Why can't / doesn't U-boot log messages for us to view later

I have a problem whereby a remote BeagleBone device is taking hours to boot up. When it does, I don't see any problems in the kernel boot logs such as journalctl -b or journalctl -b -1 Without ...
0
votes
0answers
16 views

add multiple columns to csv based on a column using bash [on hold]

I have a csv file: test_1,2,data,hi,**2**,5-- 2 columns need to be added after 5 test_2,3,4,5,**1**,6- 1 column needs to be added after 6 test_1,3,7,8,**3**,7- 3 columns need to be added after 7 ...
-3
votes
2answers
33 views

shell script for finding recently accessed file in linux [on hold]

print the name of the most recently accessed file in the directory /var/run/log/ whose name is of the form access-<DDD>.log (here <DDD> represents exactly 3 digits; thus the filename ...
-2
votes
0answers
18 views

how to find hosts on public wifi network [on hold]

Let's say I am connected to a coffee shop wifi network. Let's say I want to find other Linux users there to talk with. I tried using nmap -sP on the adress, but I only got two hosts: The router, and ...
1
vote
0answers
12 views

Locking Mouse to a single screen

I want to lock the mouse to a single monitor in a multi-monitor setup. I tried the following: MOUSE=`grep -i 'optical mouse' <(xinput --list --name-only)` MONITOR=`awk '/HDMI.* con/ {print $1}' &...
-1
votes
0answers
17 views

When installing debian I skipped the “Configure the package manager” part should I be worried about anything?

I have just done a fresh install of Debian 10 with KDE and I skipped the "Configure the package manager" part as there was an error which I believe to be due to not having internet access at the time. ...
2
votes
0answers
29 views

Host unreacheable from laptop but reacheable from desktop

I have a Synology NAS at home (let's call it ananas), it is attached to my router via ethernet. I also have a desktop (let's call it Aero), it is connected to the same router via wifi. I configured in ...
1
vote
0answers
20 views

Hide Grub Menu - Linux Mint 19.2

For some reason on my Samsung Ativ Book4, after installing Linux Mint, the grub menu is showing and I want to be be able to boot directly into Linux Mint 19.2 without having a loader showing the ...
-1
votes
0answers
10 views

Potfile Brute force error keeps coming up when trying to crack password

I am on a hacking challenge website and I am trying to decode the hashed word. I am trying to decode the hash by using the following command hashcat -a 3 -m 0 use ?a?a?a?a?a?a?a?a --force. I know what ...
0
votes
0answers
14 views

Registration of new nodes in a network

We install Debian (server variant) on a new client node (possibly behind a masquerader) in our network. Now we need to assign an autogenerated UID and secret keys(s) (for SSH and for API such as ...
-1
votes
3answers
33 views

Piping a file (tar) from a download program (wget)

I desire to download a file, pipe that output to tar for extraction to a specific location in one operation. I tried this that failed: war="/var/www/html" domain="example.com" downloaded_file="https:/...
1
vote
0answers
16 views

Why is NFSv4 not translating POSIX ACL's in a usable way?

I have an XFS filesystem in which some folders (using mode setting) have no public accessiblity, with group owner having read-only privileges. There is a program (which runs as user cryosparc_user) ...
1
vote
1answer
28 views

Is SSH enabled on a minimal ubuntu server installation?

I recently bought an APU2 machine from PC Engines and installed Ubuntu 18.04 on it. The APU2 has no graphics output and I had to modify the netboot ubuntu installation to redirect the graphics output ...
0
votes
0answers
9 views

Nautilus doesn't open files on double-click

My office computer is running some odd combination of XFCE4 and Gnome software, and after a recent update it seems that double-click on files in Nautilus does nothing to open these files. This is an ...
0
votes
1answer
31 views

How to split CSV file by first column being a multiple of n

I have large csv file that looks like this: 1 , aaa, bbb, ... 1 , ccc, ddd, ... 2 , aaa, bbb, ... .. 10 , aaa, bbb, ... .. 1000 , aaa, bbb, ... I would like to split it into separate csv files ...
0
votes
0answers
9 views

Screen Brightness Controls Not Working (Fn/Slider)

I just switched from Windows 10 to Linux Mint. I have an older computer (Samsung ATIV Book 4 NP470R5E-K01B). My computer uses Intel HD Graphics 4000, as a graphics driver. I had similar issues with ...
0
votes
0answers
20 views

Fedora 30 can't boot: faild to start up manager

I newly installed Fedora 30 on a machine then I installed Oracle Database 12c and restored a really big dump (took two days). Then, I installed samba server and shared a folder with that. After that, ...
0
votes
0answers
25 views

Terminal Login Screen Language between SSH and Telnet

on the login screen of a CentOS 7, when changing password is enforced with an ssh terminal I have two different languages: login as: user1 user1@192.168.0.20's password: You are required to change ...
0
votes
1answer
23 views

How to get list of processes from N days ago from ps output

How to get list of dates from an output of ps command to only show those processes beyond 30 days? My goal is to kill these processes. I can easily do this by killall command. E.g. killall -u user --...
0
votes
0answers
26 views

How to fix apt-get update not working on my linux container

I have created a Linux Container using below command. sudo LXC create k3_7.8 container_name I am not able to run the apt-get update command after container creation successfully. Please see the ...
1
vote
0answers
41 views

What is meant by “free magic is broken”?

I upgraded the GRUB from GRUB Legacy to GRUB 2, and then after the GRUB menu, it shows: free magic is broken at 0xbffe64f0: 0x44ad20c2 The distribution is a highly customized distribution based on ...
1
vote
0answers
35 views

Timeout shell commands without the timeout command when job control is not available

I would like to automate the process of doing some benchmarks on a remote device using a serial connection, the benchmarks could potentially fail without stopping, so I would like to add a timeout to ...
0
votes
3answers
50 views

Shell script to expand input string

I need help on creating a shell script which will take input string and expand as below: Input => output A2B3C4 => AABBBCCCC
0
votes
1answer
15 views

Install php 7.X (for new wiki) alongside php 5.3 (for old wiki) on CentOS 6

I would like to replace the ancient Mediawiki (version 1.21.2,l PHP version 5.3.3, MySQL 5.1.73) used by my company with a brand new Mediawiki site running the latest version (requires php 7.0.13 or ...
-2
votes
1answer
34 views

Difference between GNU tar's --transform and --xform options

What is the main difference between GNU tar --transform to --xform? From reading the GNU tar manual, I assume they might be the same and the latter is a "sugar syntax".
0
votes
0answers
15 views

Where can I trace the memory usage of a process [duplicate]

I want to keep tracing the memory usage of a process. I know top can show us the memory usage of a process but it is a percentage, whereas I want to know the exact number, such as 10MB. int main() { ...

15 30 50 per page