2
votes
0answers
23 views

Disable backlight device

I have two backlight devices in /sys/class/backlight: toshiba and intel_backlight. The former works only before I put my laptop on sleep and the latter works perfectly. ...
9
votes
4answers
892 views

How can I keep my SSH sessions from freezing?

I have ServerAliveInterval and in case of few machines also ClientAliveInterval set to 540 in SSH client/server configuration files (I suppose setting it to more than that would not be a good idea). I ...
0
votes
1answer
13 views

pager “less”: --quit-if-one-screen without --no-init

I can't get less --quit-if-one-screen (-F) working without --no-init (-X). less --quit-if-one-screen /proc/uptime I see no output. This works: less --quit-if-one-screen --no-init /proc/uptime ...
1
vote
3answers
168 views

How to recognize which virtual environment is being used [duplicate]

Suppose I have logged in through sshto a given Linux machine, knowing nothing about it. How can I quickly check what virtual environment (VMWare, VirtualBox, LXC, etc., if any) is currently running ...
5
votes
3answers
66 views

How to use sed to manipulate continuously streaming output?

I am putting together a presentation for a non-technical audience. I have a program running in bash that outputs a continuous stream of values, a few of which are important. I would like to highlight ...
1
vote
1answer
26 views

linux commandline can connect but webserver (or php) can't connect

We can connect to a specific url with linux (centos 6) commandline (curl, wget,...) But we can't connect to it by webserver (apache) or php. I did 'setenforce 0' command, after that webserver and ...
2
votes
2answers
20 views

Decreasing or emptying the entropy pool?

I work with virtual machines a lot, and they seem to generally be low on entropy (no mouse or other entropy-generating inputs). A bug with my software has surfaced, and I think it's due to running out ...
1
vote
0answers
14 views

Multiple DHCP Offers - Which is selected? [on hold]

I have created a testing scenario in VMWare for a man in the middle attack using DHCP spoofing. It's for a college project. Windows 8 machine bridged to host adapter Kali linux bridged to host ...
-5
votes
2answers
30 views

How to extract the ten digit no 0470420692 from the description given below using unix command?

Please give a one-line summary of your problem : 0470420692 verworpen gesprekken OMS Order : 111111111 CDB Id : 666666666 MSISDN : 0470420692 SIM Card # : 2000000000000 Type of request : Order verder ...
0
votes
0answers
19 views

How to install graphic capabilities to CoreOs?

I would like to install CoreOs as a base on my desktop machine. Then, I could launch some containers, with eventualy a graphical environnement. So I have to add all the graphic stack: GPU drivers, ...
1
vote
0answers
15 views

Debian applications in a different language and unable to change

I recently had to reinstall GNOME on my Debian7 system, the reason being there was a problem with the older version. Unfortunately, probably since I am in Belgium, it has installed part French, part ...
4
votes
0answers
20 views

Search history from multiple bash session only when Ctrl + R is used, not when arrow keys are used

I usually have multiple bash sessions open. I want the history from multiple session to appear when doing a search (with Ctrl + R). When arrow keys are used only the current bash session's history ...
-1
votes
2answers
22 views

Set sender name in mail function

How can I set sender name and email address using mail command in shell script.
0
votes
1answer
18 views

How can I match and substitute this multiline pattern in a bash script?

I have a file jail.local and it has sections like this [apache] enabled = true logpath = /var/log/apache/error.log [ssh] enabled = false port = ssh I want to match on the string [ssh] and ...
0
votes
1answer
11 views

Tomboy won't start: Configuration server couldn't be contacted

I'm unable to start Tomboy on my Gentoo Linux system. It used to work, but now I just get Unhandled Exception: GLib.GException: Configuration server couldn't be contacted: D-BUS error: Method ...
0
votes
0answers
20 views

Change external ip to be the one of a server?

I can ssh from my computer (Ubuntu 14.04) to a RedHat server. I wonder if I can browse webpages in Google Chrome or Firefox using the external IP address of the server? Running firefox on the server ...
1
vote
1answer
15 views

Backup Files on ext4 to external NTFS drive

Would there be any problems in copying files on my Linux system with ext4 filesystem to an external drive that is formatted in NTFS? I'm reinstalling my OS and intend to copy these files back to my ...
0
votes
0answers
8 views

Run Android App on Linux as Standalone Program (Bundle)

I know about the disparate bits: Have Android APK file. Install ARC Welder Android App -> ARC Welder -> Chrome App using ARC Start Chrome App But I don't know how to connect them to accomplish: ...
0
votes
0answers
38 views

Did Ubuntu fix the Docker Security Flaw? [migrated]

I read an article that said that Docker was insecure, and that this is why Core OS was created. Then a short time later, I read an article that Mark Shuttleworth of Canonical / Ubuntu fame was ...
0
votes
0answers
11 views

Systemd and SysVinit compatibility mode [duplicate]

Trying to reuse an existing "SysV" init script with new Linux version that uses "systemd" (RHEL 7). Just copying it into "/etc/init.d/" fails to work as expected. Can only manually Start/Stop service ...
0
votes
1answer
23 views

black screen on boot for more than 30 seconds

I am on Ubuntu 15.04, I get normal boot animation but after that and before I can see my desktop wallpaper I get black screen for more than 30 seconds. Can someone help me out here?
1
vote
3answers
157 views

Why doesn't df's output default to a human-readable format? [on hold]

I mean, did the developers think people would enjoy reading 19478204 rather than 19 GB? Could it be that in the older systems there weren't as much disk space so it was OK back then to count ...
2
votes
0answers
11 views

Can't copy or view files with hangul on HFS+

I'm trying to copy a directory of Korean and Japanese music on a Debian Jessie box. The source file system is HFS+J (Mavericks vintage) from a dead Mac, mounted with hfstools: # mount -t hfsplus -o ...
0
votes
0answers
35 views

Why Debian Jessie is turned off instead of rebooting after installing qemu-kvm?

I'm using a new stable Debian Jessie (minimal installation without DE and standard utilities). First of all, I set 'enabled' for Intel virtualisation in BIOS and installed qemu-kvm as usual: # ...
1
vote
0answers
5 views

Does dnsmasq automatically update when running as a dhcp server as well?

I want to set up dnsmasq on a Raspberry Pi to use as a DNS server for my home network. My goal is to have a setup where when a new device is connected to the home network, it can be addressed by its ...
1
vote
2answers
22 views

Does `ssh -D` proxy DNS request?

Is DNS resolution tunneled to the other end when I use a SOCKS proxy created with ssh -D? I have read the manual, searched the Internet, and found no documentation relevant.
1
vote
0answers
11 views

How to debug an udev rule (in /etc/udev/rules.d/…)

I'm creating a new basic rule /etc/udev/rules.d/10-myrule.rules containing: KERNEL!="sdb*", GOTO="auto_mount_end" ACTION=="add", RUN+="/usr/bin/mount /dev/sdb1 /media" LABEL="auto_mount_end" I ...
-2
votes
0answers
20 views

Sending a command through e-mail [on hold]

What the script can be, if I am sending an e-mail to an e-mail address in a format of: From:<addr> Subject:<cmd> <input> ... ? Script will run a command <cmd> and to ...
0
votes
0answers
12 views

Force mounting, bypassing fsck

When I try to mount some SD card, it fails and dmesg displays: [ 124.121735] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run ...
0
votes
0answers
5 views

Suse 13.2 fails to connect to router

NetworkManager appears to be running, however cannot connect to router. I am in my first days of using a new computer with a then newly loaded opensuse 13.2. The first few days all appeared to ...
2
votes
1answer
19 views

Separate Network Traffic on Two Network Interfaces

I am not an R&S professional, so much of that realm of computing escapes me. Could you lend your expertise in helping understand how to go about configuring the separation of network traffic on ...
1
vote
0answers
9 views

In X11, how can I create a custom key combination that maps to PgUp, PgDn, Home, and End?

My keyboard does not have keys for Home, End, Page Up, and Page Down. I would like do the following: Map Shift+Alt+⇦ to Home Map Shift+Alt+⇨ to End Map Shift+Alt+⇧ to Page Up Map ...
2
votes
2answers
70 views

How is IFS really rendered?

I've read bash manpage and other docs, but I find the explanation a bit confusing. I have the following simple script: #!/bin/bash IFS="" echo $2 var=A B C echo $var if I execute it, eg: ...
0
votes
0answers
29 views

Can't pass Elementary OS - Freya initial screen

I installed Elementary on my old Windows 7 64-bit notebook by hard disk using Unetbootin (can't access USB or CD drive). Everything seemed to work and after rebooting and pass through the splash ...
-1
votes
2answers
26 views

How to use pass filename without extension to gedit external tool for make?

I am wanting to build and run a program called dbgen using the external tools. I know that this variable holds the filename, ‍‍‍‍‍‍‍‍‍dbgen.c‍‍ : $GEDIT_CURRENT_DOCUMENT_NAME How do I remove the .c ...
0
votes
0answers
19 views

Starting Wait for Plymouth Boot Screen to Quit

I'm struggling to install Kubuntu 15.04 on my PC. I've got a GTX 970 which i think is throwing off the trial mode from starting up. nomodeset doesn't work, so I tried nouveau.noaccel=1 to beget this ...
0
votes
1answer
10 views

How to create *.run./*.bin file in Debian based distros

AMD distributes the Catalyst drivers as a *.run file that when ran extracts itself, builds and then installs the driver. Thing is the driver needs a patch for it to build successfully. I want to apply ...
2
votes
1answer
29 views

Where does “dpkg -l ”*“” gather its information?

As I understand, dpkg -l "*" under Debian lists all the available packages regardless of their state. Where does this information come from? I understand that /var/lib/dpkg/available lists all the ...
0
votes
1answer
22 views

Run Application without Holding up terminal [duplicate]

If i wanted to run an application from the terminal (linux, ubuntu), how do I do so so that the terminal is still usable or that so if I close the terminal, the application still runs.
1
vote
1answer
12 views

How to create the spectrogram of many audio files efficiently with Sox?

I have a bunch of audio files and I would like to create the spectrogram for each individual file using Sox. Usually, for a single file, I do this: sox audiofile.flac -n spectrogram However I don't ...
0
votes
1answer
35 views

What are the differences between sudo and the use of groups?

I know these are tools used for improving security. But what I would like to know is what they are and how they work?
1
vote
1answer
17 views

how to make virtual box use video memory from NVIDIA graphics card?

as you can see virtual box is using Video Memory from Intel HD graphics. How do I make it use memory from my Nvidia graphics card which has 2Gb memory much bigger than Intel's 128Mb ?
1
vote
0answers
12 views

Lost lvm volume [on hold]

I was upgrading my server and put a new hard drive in but tried to mount the old drive onto the new server. The volumegroup was the same so I renamed it from VolGroup to VolGroup00 now I can not see ...
0
votes
1answer
13 views

Traceroute to just one domain

Traceroute showing all *** for ONLY ONE DOMAIN. Why? Server has checked to see if it my IP is blocked and it is not. I manage the site and none of it works, email, FTP, cpanel, website, NADA. What ...
0
votes
1answer
7 views

How to use Mac Camera on Ubuntu Desktop

I am trying to feed my mac's camera into my ubuntu desktop. Any advice on either how to do this or the proper forum/resource to use to find out?
0
votes
1answer
11 views

Is it possible to disable the login dialog box of Kali Linux?

For example, I need my Kali Desktop to be logged in freely, without the use of any password. That is, I should not see the following Login dialog box after the boot up. How to do that?
0
votes
1answer
20 views

SSH key works on NIS server, fails on NIS client

I am trying to set up public key access to a couple of machines that I have a user account on. What I did: I used ssh-keygen to generate a key pair (without a passphrase) on my personal computer ...
0
votes
0answers
22 views

After each reboot, speakers have volume 0

For some reason my audio volume keeps being reduced to zero when I reboot. I am able to fix this temporarily like so: rm ~/.config/pulse/* If I reboot, the volume functions normally. Rebooting ...
-1
votes
1answer
34 views

Replacing string with value of variable using sed or awk

I want to change the value stored in the file by adding one (but without changing other contents) by substituting. v=`cat FILE |head -n20 \ |grep "Version=" \ |cut -d\= -f2 \ ...
1
vote
0answers
21 views

Splitting files across multiple machines [on hold]

I work in a production support team, and we have 12 servers to ourselves that we use for breakfixing production issues. We currently have a process that we run 3 times a day, and it takes a huge ...

15 30 50 per page