A family of Unix-like 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

10
votes
2answers
3k views

How to get rEFInd working with FileVault 2 on OSX 10.8

I installed rEFInd on my new Macbook Air which I planned on using to do a dual boot to Linux, but prior to installing Linux, I decided to encrypt my drive. I knew I was going to do this, so I had ...
6
votes
2answers
2k views

Cannot make mobile broadband Vodafone USB connection Ubuntu 13.04

I have Ubuntu 13.04 and I bought yesterday a Vodafone USB stick for internet connection. I am located in Romania. This is what I've did: First Thing Network Connections, added connection. Selected ...
5
votes
2answers
160 views

Remapping SysRq in Linux

The designers of my new keyboard decided that for some f:in reason the PrintScreen key must sit between AltGr and RCtrl. So now I have this problem: I like having the magic SysRq key available ...
5
votes
2answers
530 views

High I/O system hanging

I have a Fedora 20 box that i'm trying to import a massive amount of data in to postgres on (billions of rows). System spec: 16GB RAM, 6 core 3.2 ghz, 500GB RAID0 PCIe SSD Everytime I/O load gets ...
5
votes
2answers
4k views

UTF-8 locale portability (and ssh)

I spend a lot of my time sshed into various machines, all of which are different (some are embedded, some run Linux, some run BSD, &c.). On my own local machines, however, i use OS X, which of ...
5
votes
2answers
2k views

automatically encrypt and decrypt emails using gnupg (gpgrelay for unix)

My point of view related to email security is: whenever possible emails should be protected with PGP/GPG while transporting, but it doesn't have sense to store encrypted emails in local mailbox (this ...
5
votes
2answers
630 views

GVIM hangs when saving through GVFS' FTP

I loved Gnome's Nautilus and FTP integration and being able to mount a remote FTP directory as a regular bookmark/directory, and double clicking any remote files to open in any unmodified program. I ...
4
votes
2answers
407 views

can't unlock system settings, such as network settings, to edit in xubuntu

I can't change any settings nor install anything using the xfce GUI on my xubuntu 14.04. Some setting-windows have that unlock button you usually click to enter your password to gain root privileges, ...
4
votes
2answers
2k views

Getting UEFI shell when trying to boot OS X in Virtual Box

I am using the latest test build of Virtual Box (normal versions don't work on El Capitan). When trying to boot a Virtual Machine with an El Capitan cdr file (created from the command line) I end up ...
4
votes
2answers
652 views

Use /sys/class/gpio/ in Python without root permissions

I want to interact with the GPIO pins using the Python module Ablib. And I want to do this without root permissions. How can I achieve this? When I create an ablib.Pin instance the module opens /sys/...
4
votes
2answers
1k views

Filter tail command through multiple grep commands to separate files

What I am trying to do is filter the output of one log file into separated log files based on a grep filter. tail -f test.log | tee >(grep "Error" > error.log) >(grep "Warning"" > warning.log) ...
4
votes
2answers
8k views

How do I install python with proper permissions?

So python installed probably fine. Or perhaps it was already on here (I'm using xubuntu 12.10). But I tried to install networkx today using pip: pip install networkx then says I don't have ...
4
votes
2answers
796 views

Arch Linux - dhcpcd messages at login screen

I have a fresh installation of Arch Linux, and I've enabled dhcpcd on eth0. However, the message output for dhcpcd startup appears after the OS is booted up and is at the login screen, so I get this: ...
4
votes
2answers
1k views

NFS: Network disconnect causes Gnome Nautilus to hang / Jumping progress bars

I mount NFSv4 export via /etc/fstab and mount and use the shared folder in nautilus. There are two issues: When I copy a large file (around 4 GB) to the NFS server, the progress bar rapidly goes to ...
4
votes
2answers
4k views

Linux startup script to connect to bluetooth and cron to keep it connected

I have a mini Bluetooth keyboard and a Raspberry Pi running a Debian-based distro. I know the MAC address of the keyboard but for this question, let’s just use AA:BB:CC:DD:EE:FF. Right now I have to ...
4
votes
2answers
1k views

How do I install the latest gcc 4.7.0 on centos 6.2?

[root@localhost dyliu]# yum list gcc Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: centos.mirrors.tds.net * extras: centos.mirrors....
4
votes
2answers
876 views

Can I have sudoedit check `$EDITOR` like visudo does?

As far as I know, the major difference is that visudo has a simple parser for seeing if /etc/sudoers (and other sudoers files) is goodly; however, I also noticed that, when I set EDITOR=emacs, ...
4
votes
2answers
4k views

Why does pinging a local router return “Destination Host Unreachable”?

I have two tomato routers. One is bridged wirelessly with the other. I have a new server on the network. It's running Ubuntu Server 11.04. They are all connected like this: A - Linux PC B - New ...
4
votes
2answers
14k views

How can I mount a single RAID 1 disk/partition as ext3?

I need to copy data from a single HD, which used to be part of a Linux RAID 1. I've googled around, but can't find any clue how to mount partitions from this single HD. Background: The HD comes from ...
4
votes
2answers
694 views

Optimum Swappiness for a Linux System

I have a 64-Bit Linux PC with 4 GB of RAM. How can I find the optimum value of swappiness (/proc/sys/vm/swappiness) to be set? The default is 60 and I don't think it works best for everyone. I am ...
4
votes
2answers
2k views

Running OLEDB VB6 Windows Progam Under Wine

I'm trying to install a VB6 Windows program that uses OLEDB to access VFP tables to run under Wine 1.0.1 on Ubuntu 9.10. Wine is configured to Windows version Windows XP. The program install ran okay, ...
3
votes
2answers
37 views

How to make a three disk software RAID by adding the third disk?

The server is running CentOS and it has been successfully running a two disk software RAID. I wish to add a third disk to this for redundancy, so when one disk fails, the system still has two disks ...
3
votes
2answers
119 views

Helping remote user with Linux by downloading scripts

So I'm an Linux fan and word is spreading. People bring their laptops to me to have a new installation. Now I want to help people easier without requiring them to bring me their laptop. I'm looking ...
3
votes
2answers
351 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.
3
votes
2answers
1k views

USB 3.0 linux live boot issues

I have a problem with booting any live linux distribution from USB flash drive 3.0 (Kingston DataTraveler 100 G3 16 GB). When I do the same with USB flash 2.0 (Philips) => create bootable usb (using ...
3
votes
2answers
1k views

How do I permanently reset the UUID of an LVM partition?

A (dd cloned) backup of my boot partition left me with duplicate UUIDs. blkid shows: /dev/sda1: UUID="32579810-0388-416d-bb49-7031ac2c2975" TYPE="ext4" ... /dev/mapper/raidgroup-osbackup: UUID="...
3
votes
2answers
156 views

On Linux, how do I enforce a whitelist of USB devices?

With the things like RubberDucky, and available code to reprogram USB Flash, the USB port on my laptop is becoming a security risk. How can I begin using a whitelist of acceptable USB storage and HID ...
3
votes
2answers
281 views

Which package contains the `most` command

I feel extremely dumb for asking this, but: On CentOS, which package should I install to have the most command (a really nice pager)? A google search turns up way too many irrelevant results. A ...
3
votes
2answers
761 views

Remove text from pdf

I have a pdf file with some text on each page which I would like to remove. The text is matched by a regex and I think it comes in one block of the pdf. I have used pdfedit to select and delete the ...
3
votes
2answers
596 views

Default gateway “dissapears” from the routing table

I use NetworkManager (Arch Linux) in my laptop in order to connect to wireless networks. I use the official GNOME GUI. Everything works fine, but after an half an hour or so the network is still ...
3
votes
2answers
1k views

Downmix from 5.1 Surround to two channel stereo using avconv

I have a .wmv with the audio codec of wmapro, which my target video player chokes on. I am generally in the process to "standardise" my collection to x264/aac (as this works fine on all my devices), ...
3
votes
2answers
169 views

How can I tell how long a particular file has been in a directory?

I want to find (and delete) all files from a directory that have been in the directory longer than X days. I know that I can find files that haven't been modified in an hour with find /directory/* -...
3
votes
2answers
4k views

Very strange behaviour of mouse / not able to click certain elements of UI

So from one moment to the other, in Windows 7, i wasn't able to click certain elements of the UI. I could click icons in the taskbar but not on the desktop (just no reaction), then I could click icons ...
3
votes
2answers
318 views

How can I get the shell-script-mode in Emacs to intepret #PBS -S /bin/bash to be a bash shell code?

I am using Emacs on a LINUX system that uses Portable Batch System (PBS) for controlling the use of resources. The PBS scripts require "#PBS -S /bin/..." as the first line in the script to declare the ...
3
votes
2answers
5k views

HDPARM Keeps giving Input/Output Error

I've been trying to set the password on my Seagate drive: sudo hdparm --user-master m --security-set-pass pwd /dev/sda I get Issuing SECURITY_SET_Pass command, password="pwd", user=master, mode=...
3
votes
2answers
1k views

Network usage monitor for linux for specific hours?

I need a network usage monitor for linux like vnStat that have the ability to turn off metering at specific hours. I have a broadband connection with limited and unlimited bandwidth respect to time. ...
3
votes
2answers
368 views

Linux does not see sdc on boot (but does during install)

OK, now I'm at a loss. I have been struggling with getting my Ubuntu server to boot. After a couple of days of fighting with it, I gave up and reinstalled thinking that'll sort it out. It didn't. ...
3
votes
2answers
1k views

No space left on device, df shows 50%

I have done everything I know about, and now I'm completely lost. I'm getting an error on my Storage partition. The drive is a ntfs, and I'm using ntfs-3g, the disk is being shared between my Windows ...
3
votes
2answers
211 views

How should I create a folder that automatically links to a shared drive between Windows and Linux?

I'd like to set it up so that when I click on my 'My Pictures|Videos|Music...etc' folder it just redirects to my middle data drive. Likewise for my linux folders. How can I set this up? I'm sorry if ...
3
votes
2answers
2k views

Mutt with GPG Password Protection

I got Mutt working with the default IMAP password management configuration with this line in my config: set imap_pass = XXXX Which is obviously not secure. I looked at this https://wiki.archlinux....
3
votes
2answers
8k views

linux migration/N high cpu consumption

on my linux appliance based on 3.0.0-14 kernel I got: RPN:/tmp# ps axuf | grep migration root 6 92.9 0.0 0 0 ? S Apr23 2788:33 \_ [migration/0] root 7 99.7 0.0 ...
3
votes
2answers
2k views

google-chrome open url in current tab through ssh/remotely

Basically I need to issue an ssh command to open a url in the current tab if i try to run chrome with say google-chrome http://yahoo.com it adds a new tab to the already existing window. I looked ...
3
votes
2answers
5k views

Create a multiboot USB drive with NTFS or ext2

I am trying to create a multiboot flash drive, but I don't want to use fat 16 due to the huge performance cliff between fat 16 and other file systems like ext 2 or NTFS. I need to have multiple linux ...
3
votes
2answers
529 views

GNU Screen: Combining split-regions and full-screen sessions

Let's say I have three sessions: 0, 1 and 2 I'm on session 0 and I press CTRL-A S to split the screen. Then I select session 1 for the bottom split region, while 0 is in the upper. Can I switch to ...
3
votes
2answers
426 views

Command line merge a sequence of overlapping binary file chunks in Win or Linux

I have a set of binary file chunks from a video file. They are partly overlapping. To exemplify say that the video file binary data can be represented like this: ---ABCDEFGHIJKLMNOPQRSTUVXYZ ...
3
votes
2answers
1k views

How large is the performance loss for a 64-bit VirtualBox guest running on a 32-bit host?

I have a 64-bit Virtualbox guest running Gentoo Linux (amd64) and it is currently hosted on a 32-bit Gentoo laptop. I've noticed that the performance of the VM is very slow compared to the ...
-4
votes
1answer
282 views

How Can I clear server log file to reduce memory?

I want to clear the server logs in Linux without having to restart server, so that I dont get Out of Memory issue. I heard that > filename would do that but that contents are stored to some other ...
-4
votes
1answer
183 views

What username and password should be used when mapping a network drive

I have an old windows 7 machine connecting to local linux server and have mapped to the server. And just got a new windows 8 machine, which can access the linux server. What I am trying to do is to ...
-4
votes
1answer
1k views

Cygwin responds with Permission Denied when I try to copy a file

I am a complete beginner to Cygwin and am trying to copy a file. cp /cygdrive/c/Users/name/Downloads/file_name . Cygwin responds with cp: cannot create regular file `./file_name': Permission ...
-4
votes
1answer
3k views

How to use Pendrive in a USB disabled Computer?

The computer (study lab computer) that I am using has its USB disabled, hence I cannot run or copy the programs that I have in my pen-drive. How can I run or view the contents in my pen drive. OS:...