Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
0answers
13 views

How to make a ring buffer for logs in linux?

I need a ring buffer - say 1 MB - for logs. I want to redirect a service's stdout and stderr to a ring buffer, and usually do not do anything with it. But when there is an error, i want to see the ...
0
votes
0answers
5 views

How to chrome keychain in linux

Wishing to download a copy of my keychain like OSX comino does. Is this possible and if so how... Context: I use pgp and crypt my drives.. all to often tho I have public machines or installers ...
0
votes
0answers
9 views

How to configure rsync to backup a windows XP partition while running linux

I have a dual boot configuration with an XP partition and a Linux partition. The linux partition is my primary one and the XP one is just for gaming/running Windows-only software that's pretty much ...
0
votes
0answers
4 views

How to connect psql to the forumdb.py(a python file) in ubuntu?

I have my system with UbuntuOS installed. I am following an online course where it indicates the use of Vagrant and connects your Windows/Mac system using the Virtual Box having Linux installed in it. ...
1
vote
2answers
1k views

Limit users only to their home folder and sub folder

Today i did give acces to SSH to my friend,and i want hem only to shay in folders that he is owning.So that is his home folder. So,how can i make sure that he will only have acces to that folder? I ...
0
votes
0answers
5 views

How to enable miredo UPnP-Enabled Symmetric NAT Extension

I have linux mint and miredo installed on both machines. Both machines are behind symmetric NAT. Routers have UPnP enabled. Does miredo support upnp routers? How to enable UPnP-Enabled Symmetric NAT ...
3
votes
1answer
43 views

How can I use a second USB keyboard for special keys under Linux?

I'd like to use a second USB keyboard connected to my box running Ubuntu to generate special keystrokes. I'd like to map those in Vim to very specific actions. I plug both my main keyboard and the ...
0
votes
0answers
7 views

Connecting local device to remote port

I have a remotely located linux system and windows machine which I use to login to my remote linux machine using PuTTY. I have an android device which I have connected to my Windows machine through ...
9
votes
5answers
800 views

Network-dependent ~/.ssh/config?

In the office, I can connect to internal machines without a proxy, but need a proxy for external connections. Outside of the office, I can connect to other external machines without a proxy, but need ...
2
votes
1answer
17 views

Man in the middle using iptables

I wish to test a subsystems which communicates with another subsystems via tcp. I have used the following: "iptables -A OUTPUT -p tcp --dport "+port_number" -j DROP" to stop the traffic on a port ...
4
votes
1answer
31 views

Linux: Prevent keyboard turning screen on under X

I'm trying to bind a key (using xbindkeys) to turn my monitors on/off under X. So far I have the key bound to this script: #!/bin/bash MOUSE="Logitech USB-PS/2 Optical Mouse" if [[ ! -z $(xset q | ...
0
votes
0answers
13 views

Is it possible to boot Linux on a ServSwitch DTX Extender

I'm working for a company that is going to close and has a lot of these: http://pr.blackbox.com/Store/Detail.aspx/ServSwitch-8482-DTX-Extender-Receiver/DTX5001%C4%82R And I would be able to buy them ...
1
vote
1answer
40 views
+150

how to install autotest on linux?

I'm looking at the autotest software suite found here: https://github.com/autotest/autotest I follow the instructions in the documentation here: ...
2
votes
2answers
937 views

How long will badblocks -vws run?

I'm running badblocks -vws /dev/sda on a new 80GB laptop drive to make sure the disk is good. So far it's completed 2 passes and is working on it's third. How many passes does it normally make?
0
votes
1answer
18 views

How to do a single pass with badblocks in destructive mode?

I am using badblocks to simultaneously (a) checking a disk for errors, and (b) do a destructive erase of any data on the disk; using the following command: badblocks -wsp 0 /dev/sdb1 I passed the ...
1
vote
2answers
22 views

What is the shortcut to minimize all the windows except the active one in Linux

I know there's 'Aero Shake' for Windows and I want something similar for Debian 7. I already checked all the keyboard shortcuts but couldn't find anything related to it.
0
votes
1answer
10 views

Keep linux software RAID 1 after OS change

Currently I've configured software RAID 1 on ubuntu machine. However I am planning to add SSD drive just for the OS and keep my main 2 HDD for the storage with RAID. The question is, can I put now ...
10
votes
4answers
22k views

Page numbers in a PDF are off, how can I change them?

I have a digital edition of textbook I bought. The pages are numbered from 1 - 570. As a result, when I search page 68, it shows page 51 as the first pages originally in the textbook aren't numbered ...
0
votes
1answer
22 views

Getting Bluetooth to work in Arch Linux

I recently installed BBQLinux on USB flash drive. The wireless is working fine, but I can't figure out how to get bluetooth to work to connect my keyboard. Here is the list of modules loaded: ...
-2
votes
0answers
20 views

For linux, java or dot net? [on hold]

I am coming from c# in Windows. And I was planning to learn java in order to use it in linux as Web server, for raspberry pi (I mean ARM) and Android. But with Microsoft open sourcing dot net and ...
0
votes
0answers
36 views

Ubuntu 14.04.1 Trusty crashing / being unresponsive

Disclaimer: I am not an experienced linux user, and I am trying to diagnose a case where my Ubuntu goes away, and doesn't come back. The PC is a headless PC without keyboard and mouse plugged in, that ...
3
votes
1answer
40 views

Best way to run service no matter the distro

I am working on an application and want to make the script start on boot, and for the users to be able to run things like service my-program restart What i am seeing is there seems to be different ...
0
votes
0answers
13 views

Why does my Java test suite hang the entire system

When I'm running my test suite for a new java application it hangs, which by itself isn't that unusual considering it's under development. The problem is that that causes the entire system to almost ...
1
vote
1answer
33 views

Looking for shortcut key for Linux terminal

I opened a program via linux terminal, and after some search in Google I find out that I can close the program by Ctrl+C. If I want to run the program, but at the same time have a new line in the ...
3
votes
1answer
5k views

How to diagnose failing 6Gbps SATA connection?

I have a Samsung RC530 notebook and OCZ Vertex-3 6Gbps SATA SSD working in AHCI mode. # dmesg | grep DMI SAMSUNG ELECTRONICS CO., LTD. RC530/RC730/RC530/RC730, BIOS 03WD.M008.20110927.PSA 09/27/2011 ...
0
votes
1answer
39 views

System went read-only suddenly

My web server (Linux, Debian Wheezy) has suddenly gone read-only, MySQL have crashed (but Apache didn't) - giving errors when pressing tab to complete file name as: bash: cannot create temp file ...
0
votes
1answer
42 views

Bash quotes unescaped on command substitution

Can someone explain me why this is working (listing the contents of a directory that has a whitespace in its name): ret="$(ls "my dir")" Shouldn't it rather be interpreted as: ret="$(ls " my dir ...
0
votes
0answers
11 views

What's the aprlog on Linux

Recovering from a compromised server. Pretty sure the aprlog (768773 -rw-r—– 1 root root root 18K 2015-05-03 12:22 aprlog) that is located in my home dir and presents itself as a bunch of encrypted ...
0
votes
0answers
10 views

Linux Mint Rebecca - No sound - Dummy Output - integrated soundcard

I have been running Linux Mint Rebecca for a little while now and everything has been working fine, but yesterday I lost sound and now it only says Dummy Output. Its an integrated soundcard. pactl ...
0
votes
1answer
28 views

Setting Environment Variables on Mac OS X

I'm new to using Mac OS X. From my understanding, it uses Linux under the covers. I have a need to add an environment variable. Currently, whenever I start a terminal window, I've been executing ...
1
vote
2answers
22 views

Modern Linux commands that parallel uuencode/uudecode functionality

I need to get binary files into text format. Years ago, I used uuencode/uudecode, and it was easy: uuencode file.xls > file.txt # Delete file.xls # Do whatever with file.txt # Now I need file.xls ...
1
vote
0answers
16 views

Bad Magic Number in Superblock or Not a Block Device

I'm having some real problems getting a drive to have any working partitions on it at all. The drive is a 2Tb one from a NAS that I'm trying to repair. I've written zeros to the first 77Gb of the ...
1
vote
3answers
3k views

How to boot Windows ISO installation using PXE (without Windows AIK or whatever)

I have a Linux PXE server. Can boot into Linux ISO installers using PXE with no problems. But how can I do it with Windows ISO? Just start the installation. Without creating some stuff (winpe) under ...
0
votes
0answers
5 views

A simple udev rule

If I create a file /etc/udev/rules.d/99test.rules containing this single line (ok it's dumb, but only for testing purpose): ACTION=="add",RUN+="/usr/bin/mount /dev/sda1 /media" it should try to ...
0
votes
1answer
18 views

Linux Bash Script File Search for Log File

How would I go about writing a Linux bash script for the following? I need to search for a file of format [unique_number].log This file would exist within one of the following directories ...
0
votes
2answers
29 views

Linux software/application deployment tool like docker?

Docker is great. It allows me to quickly run a web application without having to configure my OS to become a host. I use an OpenVZ VPS so I cannot use docker. OpenVZ is a container itself, ideally I ...
1
vote
1answer
34 views

Is there any way to automatically decrease subwoofer volume at night?

I'm using both Windows and Ubuntu, so a solution for either (or both!) would be great! I live in an apartment complex, and love to listen to bassy music and watch movies. My neighbors are fine with ...
0
votes
1answer
303 views

Running vlc qt4 interface with Bumblebee on Debian

I am running Debian Jessie on a laptop with 2 video cards. I use Bumblebee to switch between cards. The optirun command initializes a new x server, that runs on the faster but more power consuming ...
0
votes
1answer
3k views

Ethernet issues in Linux mint.

After a hardrive crash I installed mint 17 LTS with many attending woes related to lack of drivers (two of my 8 usb ports can actually recognize devices plugged into them). I'm currently attempting to ...
0
votes
1answer
14 views

Recursive rename files and folders

I need to rename every subfolder of a specified path. For example I have a directory structure like this: project/ /x /something /somethingElse /x ...
0
votes
2answers
16 views

grep and sed with pipe from tail -f appears to be caching

I am trying to get a working system to monitor special logs. I usually just want a very specific pattern which I extract using grep and a pipe from tail -f. I have noticed that grep does not output ...
0
votes
1answer
18 views

Can a filled up swap partition cause file locking issues on linux

I have a machine at home running elementary OS 0.2 with very little RAM, the swap is always allmost full (I'll upgrade the RAM as soon as I can.) It has an OpenSSH server set up with public key ...
1
vote
1answer
31 views
+100

Java Swing apps steal/don't release focus in KDE

Kubuntu 14.04 (64bit) with KDE 4.13.3, Java Oracle 1.7.0_80-b15 This problem first occured in 12.04 and persists. Java version does not affect the behaviour, i.e. the same happens with 1.6 to 1.8. ...
4
votes
2answers
7k views

Which keymap should I use for a wired Mac keyboard in Gentoo Linux?

I just purchase the new wired Mac keyboard: Running on Gentoo Linux it works mostly fine. The only problem I am having is the function keys and swapping the Alt and Command keys to resemble a ...
1
vote
0answers
9 views

Can't set sample rate to 44100 Hz when using loopback in ALSA

I have set up ALSA like this to play to and record from loopback devices: # output device pcm.loopout { type dmix ipc_key 328211 slave { pcm "hw:Loopback,0,0" period_size 1024 ...
0
votes
1answer
18 views

How can I disable certain system keyboard shortcuts in Linux?

I'm currently working on a kiosk based on lubuntu (which is basically ubuntu with an LXDE desktop environment) that would be put in public places, such as internet cafés, providing internet access for ...
2
votes
1answer
3k views

Why does NTP require bi-directional firewall access to UDP port 123?

From What are the iptables rules to permit ntp?: iptables -A INPUT -p udp --dport 123 -j ACCEPT iptables -A OUTPUT -p udp --sport 123 -j ACCEPT Also, from the NTP website: ... ntpd requires ...
0
votes
0answers
8 views

psmouse serio1: DualPoint TouchPad at isa0060/serio1/input0 lost synchronization, throwing 2 bytes

Recently I have had issue with my DELL Vostro 3750 laptop, the touchpad has eratic behavior. Looking at the dmesg output I can see: [175874.428170] psmouse serio1: DualPoint TouchPad at ...
2
votes
4answers
4k views

How to repair an SD card which shows incorrect size?

I've a Transcend SD card for 16 GB and am using it in my smartphone. One day I've discovered that the smartphone recognize it as 6 GB only. I've tried to find the solution to set the correct ...
132
votes
8answers
138k views

How to check which apache modules are enabled/installed?

which is the most elegant way to check which apache modules are enabled?