All Questions

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

Remote Raspbian installation using too much 3G data

I'm trying to set up a Raspberry Pi to use on a remote site with a 3G modem to connect it to the world. I've got everything running but my modem constantly runs out of data on the prepaid card I've ...
1
vote
0answers
18 views

Turn on xtrace with environment variable

Bash has a sometimes-useful feature whereby if you turn on the "-x" option (I believe the symbolic name is xtrace), Bash outputs each line of script as it executes it. I know of two ways to enable ...
0
votes
2answers
37 views

Skypeforlinux won't launch anymore

Since of the latest updates (within the last two weeks) skypeforlinux stopped working and the only thing I find in the logs is [ 324.575813] traps: skypeforlinux[2487] trap int3 ip:555cb8dab847 sp:...
0
votes
0answers
34 views

Mapping of well-known processes and ports

I need a list of well-known processes (and, if possible, a mapping between the processes and default ports they use) that are usually run on Linux servers. e.g. sshd : tcp/tcp6 22 : Secure Shell ...
0
votes
0answers
14 views

Apache2 ISPConfig - Fatal Error Unable to create lock file: Bad file descriptor (9)

I'm totally out of opinions. ISPConfig at Debian Our webserver works with no problem for a long time. We do not make any updates or upgrades. But today all websites got 500 error even ISPConfig ...
-1
votes
0answers
29 views

Terminal not starting properly

I have a Mac running OS Mojave version 10.14.6. I was adding some PATH to run ethereum geth command and now my terminal is not starting properly, it is always starting with the below message: Last ...
0
votes
0answers
13 views

NanoPi NEO2 disable/blacklist audio

I have a NanoPi NEO2 on my hands, which is a neat little board. The board has analogue 3.5mm audio and HDMI audio (although I am not sure how to get that one as there is no HDMI connector). # aplay -...
-1
votes
0answers
19 views

Unable to find the mount point entry in fstab

I am using Deepin OS and upon installing it, I couldn't find a partition on my homepage, upon using lsblk I found that the partition was mounted in some other folder and to change the mount point, I ...
-1
votes
1answer
19 views

Bash Script to telnet network devices other then telnet port

i have automate juniper auto add address from one srx to another srx using script in virtual emulator.EVE-ng emulator set different telnet port for different network devices for telnet. eg, vsrx-1 ...
0
votes
0answers
9 views

Problem with wine 4 on Ubuntu 18.04 ( libc6 and dxvk, cannot install, broken packages)

Wine 4 requires libc6 and dxvk, but I can't install them. The following packages have unmet dependencies: wine-staging-i386:i386 : Depends: libc6:i386 (>= 2.29) but 2.27-3ubuntu1 is to be ...
-1
votes
0answers
27 views

Linux machines assessment [on hold]

Good Morning. I was tasked to create a listing of our gnu/linux machines that we have in our and clients infrastructure. I need to perform a complete assessment of those machines. Considering that I'...
0
votes
0answers
11 views

how to connect jdbc connection in java using postgresql as database on linux environment? [on hold]

I am trying to do java database connection in java by using PostgreSQL as database. But, i am not getting how install PostgreSQL driver and how to set path for that driver on Linux environment. So, ...
0
votes
0answers
16 views

Reusing TCP port of a killed process

I have a TCP server process on Linux. It sometimes gets killed by SIGKILL, after which its parent restarts it. I cannot change the way the child is killed. Sometimes (about once per 100 times) the ...
0
votes
1answer
29 views

How do proprietary modules work for majority of kernel versions?

A question has been bugging my mind recently. Since virtually all proprietary modules are out of tree (and therefore not compiled against any kernel versions), I'm wondering how exactly they are ...
0
votes
1answer
42 views

ssh ask passwd also after copy-id

the problem is from his machine to this server, to other pc is all ok .the server correctly receive ssh connection from other pc whitout asking pass! OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013 ...
0
votes
0answers
5 views

filter data going through nload ? Purpose : measure bandwidth consumption of a gateway?

I have a LinuxBox that has two functions : an internet gateway and a mail server. With nload I can monitor the traffic on the internet (WAN) interface, but that shows me both the gateway consumption ...
0
votes
1answer
33 views

How could I write the total number of files copied to a variable?

I've used: sed -n '/.*/=' With the copy command to count the files copied but can't figure out how to get the count total into a variable.
0
votes
1answer
30 views

retaining highest match from a column for a uniq ID [duplicate]

I have a tab delimited file with many columns: 1 A 10 1.94E-31 N/A N/A bat 1 B 20 1.94E-31 N/A N/A bear 1 C 12 1.94E-31 N/A N/A dear 1 D 36 1.94E-...
0
votes
2answers
40 views

Non recursive tar listing

I have a tar archive file containing a directory with lots of files and I desire to list just that directory without extracting it (to hastenly know that directory's filename). I executed: tar -tf ...
0
votes
0answers
20 views

Shortcut to exchange 2 words in zsh

In bash, I can exchange 2 words in terminal using the shortcut Esc and then T. How to set this shortcut in zsh?
0
votes
1answer
25 views

How to specify output file name using piping?

I am using find to return the list of files from a directory and its subdirectories: find $directory -type f -name "*.epub" Then I want to use a command that requires the input and output filenames ...
0
votes
0answers
15 views

How to restore timezone from RHEL 5.x to RHEL 7.x?

We have scripts to reinstall RHEL 5.x to RHEL 7.x and install our application, but I need to update timezone according to old one. So how to restore timezone from RHEL 5.x to RHEL 7.x using /etc/...
0
votes
0answers
14 views

gpg consuming 100% cpu

I'm using gpg (GnuPG) 2.0.22. I'm using it to encrypt my backup files. However, I have observed that once it start encryption, it uses 100% cpu. Any way to avoid this? It's necessary and on priority. ...
0
votes
0answers
17 views

is there a way to create sysfs parameter from userspace? [duplicate]

is there a way to create sysfs parameter from user space? Usually kernel driver creates it and we can access it from userspace. but in my case driver is sitting in userspace so was wondering if there ...
-1
votes
1answer
26 views

How to join tar files after splitting when we want to join specific files

We have the following combination of binaries files (they are after splitting) HADOOPa HADDOPb HADOOPc HADDOPd HADOOPe HADDOPf HADOOPab HADOOPac HADOOPbc Now we want to join them to tar. Since we ...
0
votes
0answers
19 views

Jenkins - Bash if else statement variable not found [duplicate]

I am having a steps in Jenkins pipeline to read my test passing result and fail the Stage if rate lower than 95%. Here's the code sh ''' #!/bin/bash -xe PASS= `cat index.txt | grep % ...
0
votes
0answers
18 views

I want to convert encoding using iconv

I want to use the iconv command (Linux) to switch to a multi-type encoding file. (Encoding type that wants to be changed) UTF-16 UTF-16BE UTF-16LE CP949 EUC-KR EUC-JP US-ASCII Big5 ISO-2022-JP ISO-...
0
votes
0answers
32 views

Bash, generate csv to xls with some formatting [on hold]

Is possible generate csv to xls with some simple formatting in terminal? For example I have first column with pages, so I need generate xls with conditions like this. If column1 is 1 then background ...
0
votes
0answers
15 views

Initramfs: LinuxMint installation error in a new computer

I am doing an installation of LinuxMint 19.2 on a new laptop I bought today. I am getting an error related to initramfs that I am unable to resolve. I had never encountered such an error before. The ...
0
votes
0answers
17 views

associative array execution order problem [duplicate]

in a bash script i'm using an associative array to create tables, tablespaces, indexes and partitions in my database. this is the script (the main script is too long with complicated queries so i ...
0
votes
2answers
38 views

Automatically hold directory name from inside a tar, by a variable

I download a tarball containing only one directory; this directory has a very long name. I desire to change that directory's name once I extract it from the tarball but I prefer another way than ...
-1
votes
0answers
13 views

urxvt: some characters are not shown at prompt

I am using rxvt-unicode in ubuntu with i3. Using zsh. I am attaching screenshots from my urxvt and gnome-terminal: gnome-terminal: urxvt: I echo PS1 and PS2 from gnome-terminal and it looks like ...
0
votes
0answers
19 views

Keeps terminating while using screen with running run.sh file

I'm a newbie on using screen. I'm trying to run my run.sh file from a docker container with screen command. However, it keeps automatically terminating when I typed the below command. screen -S ...
0
votes
0answers
21 views

How to write a PF firewall rule that filters communications between processes on the same host?

How to write a PF firewall rule that filters communications between processes on the same host? From reading the man pages, I understand that packets must physically traverse the given interface for ...
0
votes
3answers
42 views

Extract key value pair data from avro file into a rows and column form using unix command/shell script

I have a file with following dataset. {"table":{"string":"ABC"} "TYPE":{"string":"U"} "TS":{"string":"2019-08-19 12:45:12.006362"} "C_TS":{"string":"2019-08-19 07:45:13.631000"} "dpt":{"...
0
votes
0answers
8 views

How to communicate with the MATE community for general questions?

I've been working on updating Clearlooks for the more recent releases of GTK3 using the old Clearlooks-Phenix project as a base. It's been a steady few weeks and I've had a good experience reporting ...
0
votes
1answer
31 views

How to run ssh reverse tunnel in background using python?

I need to execute the command ssh -NTf -R 5000:localhost:22 server@ip in the background using python. I know the command itself run in the background due to the option -f. I have used python ...
0
votes
1answer
16 views

alias fo rm command ( cp comand issue ) [duplicate]

I try to change the rm command into a command that give me backup of the file and remove the file after. function move_to_trash () { unset rm; cp -v "$@" "/home/`whoami`/backup/" &...
0
votes
0answers
19 views

Ran out of disk space Ubuntu 18

So I just got my pterodactyl server up and running, and the files combined have pushed the dir over the default28GB. Now I am fairly new at Linux os and a bit confused on how to expand that disk to ...
0
votes
0answers
23 views

Is it possible to output sound to speakers over hdmi?

I have a sound bar (Yamaha YAS-107) which has two hdmi ports, described in the manual as follows: HDMI IN jack For connecting an HDMI-compatible playback device such as a BD/DVD player, a ...
0
votes
2answers
55 views

grep command in bash shell loop

I have a log file, name out.log. I need to search a list of string (filelist.txt) from this log file. I need each matching line from "out.log" for every file in filelist.txt. it can appear multiple ...
0
votes
0answers
18 views

building glibc for old kernel

I configured build with this command and built it using make Now I'm trying to create deb package with this settings but i failed with this error FATAL : kernel too old how can i do it?
-2
votes
0answers
14 views

how to get source code for Mumps in my Mac?

I am trying to get source code for Mumps in my Mac Pro 2019, but I get error: Utility wget not found in your PATH. Using ftp command instead. Running script for downloading the source code for ...
3
votes
3answers
365 views

Symlink to directory for easy access: .bashrc, usr/local/bin, something else?

(Mint 19.1, based on Ubuntu 18.04) I have a directory I frequently access but which has a long path. I am tired of typing it out, so I want to be able to easily jump to this directory. The simplest ...
0
votes
0answers
9 views

cuda has unmet dependencies but --fix broken install does not help

OS is ubuntu 18.04 This problem has originated from trying to install QGIS. Or I should say reinstalling QGIS, as I have had this package installed before. Somehow it got broken. When I try to ...
0
votes
0answers
19 views

Accidental ZFS Resilver

I run a RAIDZ2 array of 4 hard drives. All the drives in the array are second hand, so they often fail and I replace them. Today, I began to see I/O errors on a drive, so I went to replace it. ...
0
votes
1answer
20 views

Command to reboot and load Windows partition

I have a Kali Linux and Windows 10 dual partition on my laptop. I'd like an easier way to load Windows from my Linux partition. By default Linux gets loaded first so I can't just reboot. Are there ...
0
votes
0answers
26 views

Suspicion one drive is faulty in zpool, but showing four?

I have a server that I am running for myself and my friends. We host games using Ubuntu 18.04 LTS Server on the primary boot drive, and use a RAIDZ2 pool for storing backups of those games, our music, ...
0
votes
1answer
42 views

Cannot sudo with Debian 10

I have installed Debian 10 on Dell Inspiron with an AMD processor. I am using the KDE Plasma desktop. When I try sudo dpkg -i ./palemoon_28.6.1+repack-2_amd64.deb I get [sudo] password for peter:...
1
vote
1answer
30 views

how to install a FORTRAN solver in Mac?

I am trying to install a solver on my Mac Pro 2019. first step is: sudo apt-get install gfortran but I get error: command not found I also tried brew install gfortran also port install ...

15 30 50 per page