2
votes
0answers
8 views

How do I find out what program 'owns' a hotkey?

I'm running XFCE 4.12 on top of Gentoo with a 4.2.0 kernel. My PlayPause button on my keyboard used to work as a global hotkey for VLC. Now VLC won't even recognize the key. It does see "Alt + Media ...
0
votes
0answers
5 views

How to fix the Ubuntu Linux 15.10 Files GUI manager , /usr/bin/xdg-open , flickers on and off

I recently installed Ubuntu Linux 15.10 on a Lenovo desktop.After a mysterious crash last night while testing point and click of an Mono-.NET 4.5 C# executable which DLLImport's an C++ shared object, ...
1
vote
0answers
5 views

Evolution hangs for 10-30 seconds after replying/writing new email

I'm running linux mint 17.3 and I recently switched to using Evolution(v3.10.4) with the EWS plugin to handle my work emails. Most everything was working fine, and it was a much easier setup than ...
0
votes
0answers
10 views

Reformatting a secondary hard drive while keeping some files

I'm almost certain that I'm in a deadlock here. Just recently, my Synology NAS died. So I decided to configure an Ubuntu server instead on an old computer I had laying around. Ubuntu is now installed ...
0
votes
0answers
10 views

Suppress console output when switching runlevels

Is there any way to silence the output that occurs on TTY1 when switching runlevels? I'm talking about the output like in the following image: I have a simple UI that may be running on TTY1 when ...
0
votes
0answers
13 views

`getaddrinfo`: what specifies its data source in the POSIX standard?

I wanted to check getaddrinfo is expected to use Ubnound when it's installed. Unless I overlooked something in this specification, it does not refer to any data sources it is required to check: ex. no ...
0
votes
0answers
9 views

Big data bioinformatics: Sift through XML to track file name, type, ID

I have a set of 10 files. 5 are unique tumors tissues and the other 5 are matching normal tissues… So {tumor_A, normal_A, tumor_B, normal_B,… tumor_E, normal_E} These files each have a random ID, ...
0
votes
1answer
5 views

Debian respond ICMP : Port unreachable error even if port is open

I am testing my Debian Server with some Nmap port Scanning. My Debian is a Virtual Machine running on bridged connection. Classic port scanning using TCP SYN request works fine and detect port 80 as ...
0
votes
0answers
16 views

Solaris: Spooling filesystem is full

I have a Solaris 5.8 machine that will no longer print. print job that come from the terminal say: "See if spooling file system is full" I had a look around /var/spool but it isn’t particularly ...
0
votes
0answers
5 views

How to make KDE menu (in CentOS) take new .desktop file into account?

My program's installer creates .desktop files into ~/Desktop and ~/.local/share/applications. In most Linuxes this is enough to create respective menu item and desktop icon. In CentOS 7 with KDE, the ...
1
vote
2answers
33 views

Is there a way I can grep recursively over all the files in the current directory to find a pattern and then print it in order of high to low?

So so far, the code looks like this: grep -rc 'Author' $1 It prints out all the files in the directory, which is taken as an argument. However, how would I sort the output (for example): - ...
0
votes
3answers
19 views

List out the original IP Address of the host

I have following content in the file. I would like to print the IP address which is Under Name. Server: 17.128.100.12 Address: 17.128.100.12#53 Name: Testserver1 Address: 17.146.118.156 ...
1
vote
0answers
6 views

hibernate works over a short time but not a long time

My laptop can hibernate and wake up fine after a short time, using either sudo pm-hibernate or the Hibernate option from the system menu (which I enabled after the pm-hibernate test worked). But if I ...
0
votes
1answer
7 views

Centralising Discs to Repository?

I have discs where is much variations. I would like to add the files to my central repository. However, I am getting warnings about ownership. I am thinking of running sudo chown -R masi:masi ...
1
vote
0answers
8 views

How to share Alsa devices between users?

I lost the ability to share Alsa sound between users even if only one is logged in. According to this guide ConsoleKit integration should be used instead direct ownership of the device. After I ...
1
vote
0answers
12 views

Transparent Huge Pages, Pagetable size and /proc/<pid>/status

TL;DR; My pagetable is far bigger than it should be when using transparent huge pages. I have a program (see below), that allocates 50 GiB of memory, requests transparent huge pages and faults them. ...
1
vote
0answers
8 views

How should the `crypto` kernel parameter be passed?

I've encrypted a root drive using a cipher with this format: <cipher>-<chainmode>-<ivmode>:<ivopt>. Let's call this [CIPHER] for short. To boot from this device, certain ...
0
votes
1answer
14 views

How do I use sed to change },{“Foo” to }\n{“Foo”?

I have a 55MB JSON file with a huge number of objects that are separated by },{. I would like to have one object per line and get rid of the comma. For one thing, I'd like to be able to look at the ...
0
votes
0answers
23 views

Multiple sed commands in a file

I want to save a .txt file to 2 separate .txt files using command placed in a .txt file. I can use sed -e '1,20 w file1' -e '21,$ w file2' input.txt But how would I plac e this command in a file ...
0
votes
2answers
21 views

Backup script fails with the rsync command's options in a quoted variable

Using: rsync version 3.1.0 protocol version 31; Linux Mint 17 (based on: Ubuntu 14.04.3) In one of my backup Bash scripts, which uses rsync, I put the rsync options in a variable like this: # Set ...
0
votes
0answers
17 views

Newly compiled kernel can't boot to LVM root partition - but the old one does

When booting a new kernel (4.4.1 on Ubuntu 15.10) for my Intel i7 based laptop (MSI GS40 Phantom), I can't seem to far past Grub. Once initramfs kicks in I get an error message saying that it can't ...
0
votes
1answer
7 views

How to determine the added value of installing a (pseudo-)package vis-à-vis installing only one of its dependencies?

Suppose that (pseudo-)package A depends on (pseudo-)package B. I'm looking for a reasonable systematic way to answer the question: "what would I get by installing A that I would not get by installing ...
1
vote
1answer
35 views

How while loop execute in the shell script for the FALSE condition?

I tried it with some example but it is not clear to me. FIRST EXAMPLE #!/bin/bash i=0 while [ $i -lt 10 ] do echo "$i" i=`echo "$i + 1" | bc` done output ===> 0,1,2,3,4,5,6,7,8,9 now ...
-6
votes
1answer
27 views

I am facing hoping issue in my script, please help me [on hold]

for i in `ls -ltr | grep ' Nov' | awk '{print $NF}'` do for j in `unzip -l $i | grep -i SystemOut | awk '{print $NF}'` do unzip -c $i | grep -i Live | grep 'smarter planet' done ...
1
vote
1answer
12 views

fetchmail sees mail but doesn't fetch it - persistent “temporary lookup failure”

I transferred my email setup to a new laptop, and fetchmail stopped fetching my mail. From what I can tell in the fetchmail log, it authorizes fine, sees that new emails are there, tries to fetch ...
1
vote
0answers
10 views

Tcl/Expect: Can't set variable value correctly

Sorry for my English in advance. I'm newbie in Tcl/Expect. I'm trying to get IPSec tunnel details from router. After that fetch lines with IP addresses. So, I have follow code: send "show tunnel ...
0
votes
1answer
25 views

How do i call the case function

I have the following script to login to the servers. This scripts enables me to login to the host automatically using expect script based on the option i choose. As soon as i logout from the host im ...
1
vote
0answers
19 views

How to find what causes my notebook to crash?

I have a new notebook and it crashes frequently. $ uname -a Linux bpgergo-notebook 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -a No ...
0
votes
0answers
3 views

HDAjackRetask: tee: /sys/class/sound/hwC1D0/reconfig: No such device

I am trying to reconfigure the setup of my microphone with HDAjackRetask however when I click reply I get the message: tee: /sys/class/sound/hwC1D0/reconfig: No such device Here is a screenshot: ...
1
vote
1answer
13 views

Unexpected field expansion behavior by bash for loop

I am having a problem reconciling all of the field expansions rules in linux/unix, so I've been experimenting. Here is an example which based on my reading is not consistent with what I'd expect. ~$ ...
1
vote
3answers
24 views

How to determine callee function name in a script

to make it short, doing s.th. like -bash$ function tt { echo $0; } -bash$ tt yes, $0 will return -bash BUT how to get the function name called, i.e. tt in this example instead?
0
votes
0answers
18 views

Script acting as textfile, possible? [duplicate]

A program I'm running has a -logFile option. The file I set as a logfile is filling up quite rapidly, and I only need about half of what's actually in it. Is it at all possible to: have a script ...
0
votes
0answers
7 views

how to remove a RFL_SourceSumbission_20150901 - header .csv [duplicate]

I have created csv file like RFL_SourceSumbission_20150901 - header .csv. I am able to delete other csv files which created normaly but i am unable to remove RFL_SourceSumbission_20150901 - header ...
0
votes
2answers
16 views

analyzing rpm -Kv output

I am getting this output from rpm -Kv on one of my experimental packages: clime@coprbox ~/v4tests $ rpm -Kv signed10.rpm signed10.rpm: Header V3 RSA/SHA1 Signature, key ID f67e1676: NOKEY ...
0
votes
0answers
19 views

i am new to shell scripting..how to do a multiple backup's of a file in a sequence which is overwrting through shell scripting? [on hold]

Eg : Backup.txt in /tmp path backup1.txt, backup2.txt..etc even same file to write to sequential folder also is ok. eg : backup.txt to s1,s2,s3..etc
1
vote
0answers
11 views

Is it possible to monitor JVM usage of Elasticsearch via Munin?

I'd like to use Munin to monitor the status of the JVM used by Elasticsearch, which is run via Java (output of ps follows): elastic+ 1083 1 3 09:29 ? 00:13:23 /usr/bin/java -Xms8g -Xmx8g ...
0
votes
0answers
10 views

MySQL Cluster node crashed, how to re-add in cluster?

We have 2 data node in mysql cluster, and one of them got crashed (totally). I have re-install new OS and now i want to re-add same node back to cluster. How to do that without re-starting whole ...
1
vote
1answer
22 views

Remove a part of a path from a variable content

In a Bash I have a variable: LOCAL_PATH="/this/is/a/path/" Then I have another variable, which content starts with LOCAL_PATH and it should be removed: LINE="/this/is/a/path/which/is/longer" The ...
1
vote
0answers
4 views

trying to get fbpanel installed but getting confusing errors

I'm not too keen on these python errors to figure them out. this is the error I am getting, but I'm using alsa/pulseaudio so I have no idea how to read python errors. %mike@voidz ...
2
votes
0answers
9 views

How to disable a specific interface (dhclient) from resolvconf?

I am using ubuntu/trusty64 Vagrant box with VirtualBox. I want to permanently disable nameserver 10.0.2.3 set by resolvconf based on Vagrant's default eth0 interface. If I set ...
1
vote
2answers
82 views

What do you use when you can't use Bash? [on hold]

I am trying to make a shell script that runs on a widest variety of *nix systems. So, if I wrote a bash script backwards compatible with old versions of the shell, but what if bash wasn't on the ...
1
vote
0answers
18 views

Pipe output of process that's already running

I've got a process that spews out a lot of output, and it's going to be running for the next hour. I forgot to pipe its output through my awk script before I started running it. Now my terminal is ...
0
votes
0answers
38 views

Manually move kernel image to /boot directory

I have compiled my own kernel on Gentoo (following the handbook) and then I have moved the bzImage to /boot/vmlinuz-4.0.5. But when I boot the system I get the Grub2 shell. What am I doing wrong? ...
0
votes
1answer
31 views

Program just works in one terminal

I'm executing this command in two different folders and in two different terminals: for i in *_RG.bam; do k=`echo $i | sed "s/.bam/_Reordered.bam/"` java -jar ...
0
votes
2answers
26 views

Check if a file contains a certain pattern?

#!/usr/bin/expect -f ps ps -ef > test.txt Now if I want to check whether test.txt has certain keywords present, in it, how do we go about? say: 'apache' or 'fast' Can we use the if statement ...
0
votes
0answers
5 views

db2 cursor in shell script

I want to select a row from table in db2 DB and check for each column value like while col1 = do else . I cannot direct the text to a file and use it. Can some one tell me how can i do this?
0
votes
1answer
14 views

Grub not showing up while booting?

I recently installed Kali Linux V2 in my PC with windows 10 already installed. But it when i tried booting up,it booted up with the usual windows 10 while the grub was supposed to show up. Any help ...
1
vote
1answer
35 views

Get the real, apparent size of a folder

I am using the du command in order to get the size of the folder. As I am interested in the actual size I ended up with the following command: du –sh --apparent-size <someFolder>/ In this ...
0
votes
0answers
9 views

using ansible via vpn

I have a set of hosts that I can only access via openVPN (one VPN per host or group of hosts). ssh is only available after connected to the VPN. Is there any way to automatically bring up the VPN ...
1
vote
0answers
24 views

awk print lines before and after pattern match excluding lines with another pattern match

I use awk on SunOS to print 5 lines before and after a pattern match. However I don't want to print the line with the match, empty lines and lines matching other (unwanted) patterns. Currently, I use ...

15 30 50 per page