All Questions

0
votes
1answer
23 views

How to check which process is writting on FileSystem Solaris

I need to identify what process is writing non-stop on the Disk. I tried to run prstat -t to get the list of the processes running, but I can't identify/find which process it is. running df -k , I ...
1
vote
2answers
33 views

How to track which process is generating network traffic?

After fresh system install (opensuse Tumbleweed) I have observed strange activity on network monitor - some app is generating small network traffic (sending and receiving data)... how to track which ...
0
votes
1answer
6 views

Redirect DB traffic dependent on type of request

I have a Postgres cluster managed by Patroni and want to be able to redirect DB requests to the replica if they are read requests and write requests to the master. Does anyone know of any tools that ...
0
votes
0answers
13 views

Routing public IP address through GRE tunnel

I'm trying to set up a tunnel to route a public address through it. The tunnel itself is working and the destination server receives the requests as well, but it doesn't send any reply if I try to ...
0
votes
1answer
20 views

FreeBSD can't mount home partition

I've been having an issue with my first installation of FreeBSD. As I always do in GNU/Linux I created separate home and root partitions. The issue I've been having is that my home partition doesn't ...
-1
votes
0answers
8 views

Micro SD - Buffer I/O error on dev sdx - logical block 1836384, async page read

I was copying about 20 GiB of photos from the smartphone's micro SD card and got tons of errors about I/O error, asnyc page read, hardware error etc (log sample below). I would like to know if this ...
0
votes
0answers
33 views

Changing permissions in a Unix directory

I am not able to change permission on a directory I created on the Unix server. This is how the structure looks $ ls engany N832342 N854431 zabbix $ Now I want to change the permission in ...
0
votes
1answer
30 views

view excel files in linux command line without installing any packages

I am connected to a server where I don't have sudo privileges to install packages such as Libreoffice. I only want to view an excel file might be .xlsx or .xls on linux terminal with a command line, ...
0
votes
0answers
32 views

FTPS - LFTP problem

We have some trouble in my company with ftps access with a provider. Here is our configuration: Ubuntu 14.04 LFTP | Version 4.6.3a Our_cert.crt our_key.key provider.crt AuthorityRoot.crt ...
2
votes
1answer
53 views

Cleanup Script for macOS

I have a bunch of shared Mac workstations with dozens of users. These users constantly leave large files on their desktop and in the trash, which eventually fills up the local hard drive. I want to ...
0
votes
1answer
18 views

BeagleBone Slackware UART issue

I'm working with a custom made image of Slackware ARM 14.1 with kernel 3.8.X since about 3 years and now needed to upgrade kernel for cdc-acm driver and watchdog. I've tried different kernels from ...
1
vote
1answer
28 views

Apache 2.4 get request processing time in microseconds log

Trying to add the %D and %T format string to my Apache log to see time for request processing but apparently not able to. Here are the LogFormat directives in my httpd.conf [root@server01 admin_ad2]# ...
0
votes
1answer
28 views

Renaming Multiple files in different directories [duplicate]

I have about 5TB of data stored on Synology NAS servers with a DSM of 6.1+, so bash should be available for use on these systems. The issue is that we are currently archiving this data to external ...
0
votes
1answer
51 views

Bad substitution when running from cron

I have a function (notify_dba) that with two string args, a header and a body. (correction) Works well from shell prompt, but not in cron Err, doesn't work in either shell or cron (but should...?): ...
1
vote
2answers
39 views
+100

Emergency mode after adding partitions and installing another Linux distribution

I had Linux Debian installed onto my computer. My partition table was as follows: sda1: __________________________________________________________________________ File system: vfat Boot sector ...
1
vote
0answers
12 views

Can one efficiently identify “stacked” keybindings?

Consider this example "session stack": vim inside bash inside tmux inside a terminal emulator inside my desktop environment. Any given key or chord may be mapped at any one of those levels. Sometimes ...
0
votes
0answers
23 views

How can I regex match-and-replace _all_ on-screen text?

I need a way to replace an on-screen pattern with another string, regardless of what places that text on the screen. Maybe I can live without user input being replaced, but anything that comes from ...
2
votes
1answer
12 views

cannot find package with running go build

root@kali:~/subfinder# go build main.go:15:2: cannot find package "github.com/subfinder/subfinder/libsubfinder/helper" in any of: /usr/lib/go-1.11/src/github.com/subfinder/subfinder/libsubfinder/...
4
votes
4answers
212 views

Make awk produce error on non-numeric

I have a program that sums a column in a file: awk -v col=2 '{sum+=$col}END{print sum}' input-file However, it has a problem: If you give it a file that doesn't have numeric data, (or if one number ...
0
votes
1answer
73 views
+50

Fedora 28 server install failure

My goal is to install the Server version of Fedora 28.1.1, on a second Intel S1200SPLR server (after the first was proved to have a hardware problem) with a Xeon E3-1275 v5 CPU, 16GB of 2133 ...
2
votes
1answer
40 views

UTF8 Character Makes File Inaccessible

If I run: scp me@example.com:/home/me/cömmön_file.jpg /home/me/ from my remote server I get: scp: /home/me/cömmön_file.jpg: No such file or directory If I swap out the utf8 characters though ...
0
votes
0answers
28 views

are following assertions about linux load and tomcat right?

I am looking to understand precisely how to use the load average and cpu usage on a Red hat machine that hosts a Tomcat 8 only. After looking on the net, I concluded the following assertions. Are the ...
0
votes
0answers
21 views

Why do I have duplicate bind mounts?

I'm curious if someone could explain to me what causes the odd scenario where we have a duplicate mount that appears cyclical on Centos 7 when binding a nfs directory? In our hosting environment we ...
0
votes
0answers
20 views

Avoiding echo -e [duplicate]

I would like to store an HTTP request in a variable and then use it with OpenSSL I now have HTTP_REQUEST="HEAD / HTTP/1.1\\nHost: ${HOST_HEADER}\\nUser-Agent: check_ssl_cert/${VERSION}\\nConnection: ...
0
votes
1answer
37 views

Why is the sum of /proc/pid/stat CPU greater than /proc/stat

In /proc/<pid>/stat I add user cpu, system cpu, child user and child system cpu together for all processes. I take a delta from a previous sample. Immediately after I sum the user, nice and ...
1
vote
0answers
20 views

Bring Java process to the foreground by its PID [on hold]

I am using Ubuntu 16, and I am trying to have multiple Java processes which I can track each process by its PID. They each have an X11 window. Is there any way to bring the Java task's window to the ...
-1
votes
0answers
27 views

Playing .exe videogames online using LAN or other unofficial connection

I would like to play Warcraft 3 Reign of Chaos (a 2006ish game) with a friend. Although I can run the game with no problems on my Linux Mint, I cannot play it online as the game crashes when entering ...
0
votes
1answer
30 views

Kali Linux - wlan0 not showing up in ifconfig, does virtual machine affect this?

I have Panda Wireless PAU07 - the seller says it is supporting Kali and Promiscuous/Monitor modes. However I am running on a virtual machine and when running ifconfig wlan0 or other interfaces do not ...
0
votes
1answer
53 views

Can't login as user

Everything works as root. I can startx, and get into iceWM. I'll be using i3, but that works aswell through lightdm if I login as "other" then write "root". Loging in in a TTY works aswell, but only ...
0
votes
1answer
22 views

Using NVidia GPU on Clevo N871EJ1 laptop

I have a Clevo N871EJ1 (Schenker Media 17) laptop here which gives me quite a headache. I tried to install Ubuntu 18.10, Debian Stretch and Debian Buster (Testing) and all locked up during ...
-2
votes
2answers
29 views

Fetch line which contains only some specific symbol and number

I Need only those records from below file which contains Symbol like "+" and number and characters. 285627 AA283244 278178## 295456+ asdfasdf{ asdfasdfasdf I tried below code but it gives all ...
0
votes
1answer
11 views

Removable volume not appearing in file managers

Neither Nautilus, Caja or Thunar show my removable storage device in the list of devices. I can mount it manually using udisksctl: $ udisksctl mount --block-device /dev/sdd1 Mounted /dev/sdd1 at /...
0
votes
2answers
34 views

WiFi adapter not detected after low battery suspension — Fedora 29

I have a Galago Pro running Fedora 29. The computer went into suspension because of low battery. Now, Fedora does not detect the wireless adapter -- meaning the gui manager returns "No WiFi adapter ...
0
votes
0answers
7 views

how to focus menu window on the object (instead the mouse cursor position) with a xdotool?

I use xdotool key Menu with super R key to show menu. But when i press Super R - menu appears at the current mouse cursor position. Can i make it appears at the current file position
-2
votes
2answers
51 views

How can i move all files and dir within a dir to its sub dir

Here is the directory listing, Parent dir is B, i want to move/copy C, D and filetest.txt to dir E. How can i do that with a single command.
2
votes
3answers
29 views

Embedding binary data into an executable using LLVM tools

In the past I have embedded resource files (images) into programs by first converting them to .o files using the GNU linker. For example: ld -r -b binary -o file.o file.svg Starting with FreeBSD 12, ...
1
vote
1answer
33 views

How to limit a systemd service to “play nice” with the CPU?

I have a systemd service (a CI runner) that tends to bog the system down with very CPU intensive jobs. I caught the load average flying over 100 just now and want to put a stop to that nonsense. ...
0
votes
0answers
20 views

How can I get playonlinux to download?

I am trying to download playonlinux but every time I attempt to I always get the same error Package playonlinux is not available but is referred to as another package. This may mean the package is ...
0
votes
1answer
15 views

How to distinguish attached monitors?

To automatically change the display layout of the Xserver when I dock my laptop I need not only detect that this event actually happened but also which monitors are connected to be able to distinguish ...
0
votes
0answers
28 views

Close the file in vim without closing the file explorer

I am browsing the files in vim file explorer by entering vim dirname. Then I am opening the file, saving and closing it by entering :wq. Now the file explorer window disappears. How to prevent this ...
1
vote
1answer
35 views

What is the deal with this usb drive with a second block device?

I have a giveaway usb stick and when I plug it into my computer and run lsblk it shows two block devices, i.e. sdb and sdc. sdb of them contains almost all the free space ( ~15G) and the sdc one is ...
0
votes
0answers
17 views

How can I determine which thread raised a signal? [migrated]

I have a multi-threaded application with a signal handler. In my signal handling function, how can I determine which thread the signal came from? I have looked in the siginfo_t that gets passed in, ...
1
vote
3answers
44 views

First Day of week stuck on Sunday in any locale (Debian)

I'm trying to figure out why I can't have any locale working with monday set as first day of the week. Installed locales: francescos@Thinkpad-T420:~$ locale -a C C.UTF-8 en_GB.utf8 en_IE.utf8 en_US....
-2
votes
0answers
47 views

Whenever I open shell it print command not found [on hold]

Whenever I open a new tab or new window I see the following error in the console bash: 4e3291fa48f43adebb522c3c91f49c3120d927525994a34052bee83fb15b55f9: command not found bash: ...
0
votes
1answer
38 views

Calculate difference in negative floating numbers with bc

I want to calculate the difference between two negative floating numbers and subsequently check if the result is below a certain threshold. The numbers are stored in the file.dat, since this ...
0
votes
2answers
35 views

How to print a new line if a pattern from a column matches in 2 lines?

I have the following file: transcr_15824 - YML042W - transcr_18545 - YCR105W + transcr_16934 + YDR032C + transcr_15237 + YDL008W - I do need something that looks like this: transcr_15824 - YML042W -...
0
votes
0answers
67 views

Oracle Java 8 installation Not Found (404) Error [duplicate]

I wanted to install oracle-java8-installer and after adding the repository, give the command sudo apt-get install oracle-java8-installer. First the screen appears that is about agreement, after ...
0
votes
1answer
25 views

Devuan RFS. How to automate resolution of internal IP (LAN) addresses

System correctly resolves external hostnames (bbc.co.uk for example) but will not resolve any internal (LAN) ones. The question here is how to automate LAN lookups without having to modify hosts and ...
0
votes
0answers
22 views

systemctl status shows “active since” from before reboot

I have Debian 9.6 running on Beagle Bone Black. I have external hardware clock on /dev/rtc1 with correct date. Upon reboot /dev/rtc1 is initialized in rc.local. I added to rc.local lines showing date ...
0
votes
0answers
20 views

Symlink resolution and the $ORIGIN variable in RPATH

Are symlinks resolved before or after the dynamic loader figures out the value for the $ORIGIN in the rpath from an executable? Longer explanation: I'd like to know if there's an standards-compliant ...

15 30 50 per page