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
27 views

How to transfer software raid from windows to linux?

I have a software raid 1 on my windows 7 machine over 2 hard drives and for various reasons, mainly my windows 7 machine wont work correctly over the lan for some reason and no solution in sight and ...
0
votes
1answer
14 views

Where are Chromium extensions stored on Ubuntu Linux?

I'm using the Google Chrome Dev Editor app as a Chromium extension. My platform is Ubuntu 14.04 (trusty) with the LXDE desktop. I need to change some basic configuration such as the indentation size ...
1
vote
1answer
10 views

Log Usage of Particular Programs

I'd like to be able to log the usage of certain programs on Linux systems. As an example, I'd like to know who's FTP'ing files out of the system or placing files in the FTP dropbox, and if possible ...
0
votes
1answer
15 views

How to tell lame to write VBR header to stream?

I want to use lame to encode mp3 files, but instead of writing it directly to a file I want to pipe it into another program that will eventually write it out somewhere. The problem is that if lame ...
1
vote
1answer
34 views

How to shred a device from end to begin?

The shred command (of coreutils 8.23) overwrites a device with configurable data from beginning to end which is perfectly fine for the use cases it is designed for (which are all related to write ...
0
votes
1answer
12 views

Problems using awful.util.spawn in Awesome WM

I am having trouble using the awful.util.spawn call in my rc.lua config file for Awesome WM. If I use: awful.util.spawn("xclock") it works. But if I try awful.util.spawn("setxkbmap fr") there is no ...
0
votes
1answer
33 views

Sudo fails when running as service

I have a program that runs as a normal user but sometimes needs to run a command that requires root privileges. So I made a shell script and gave the user permission to run that script with sudo. The ...
2
votes
1answer
43 views

strange if statement behavior on linux

I am writing a shell script and have come across some weird if behavior. My question is simple, why does [[ "╝" = [█] ]] evaluate to true? Is it because they are both uncommon ascii characters? On ...
1
vote
1answer
14 views

Inconsistencies with which command

I'm using the n tool to update my current version of node, but something strange is happening. I ran sudo n latest which in theory fetches the latest version of Node (v0.12.0 and installs it ...
3
votes
1answer
115 views

Unknown linux process with random command

I have a unknown process when I run top: When I kill the process it is coming again with another random name. when I check the rc.d levels and init.d there are many random name similar like this ...
0
votes
0answers
18 views

Trying to yum install ntfs-3g by borrowing mount space from a shared drive

I am working in Centos 6 in a linux partition in my computer, which seems to have insufficient space for my needs (less than 100Gb). I have a shared drive mounted with Tbs of space which I am trying ...
2
votes
1answer
26 views

How to start terminal in which bash is running with adjusted environment variables?

I'm using Xubuntu with XFCE. I would like to write a bash script which opens a new tab in the xfce4-terminal. In this tab, the bash should be running with an altered PATH environment variable. ...
1
vote
1answer
29 views

Is there a way to enable minicom linewrap by default

I use minicom when working on router terminals... by default, I use these settings in my ~/.minirc.dfl: pu port /dev/ttyUSB0 pu baudrate 9600 pu bits 8 pu parity ...
0
votes
0answers
15 views

Console/error message on all TTY Fedora 20/21

I am running Fedora 20 and 21. I want to route the messages to one vtty. Specifically, vtty2 where I normally have root logged on when I'm at the keyboard. All other vtty's I'd like to must the ...
1
vote
1answer
23 views

How to diagnose HDD spindown?

I have a machine with a zfs pool on three magnetic drives /dev/sda, /dev/sdb, /dev/sdd containing larger data and a SSD with ext4 on /dev/sdc containing the rest of system (including home directories, ...
0
votes
0answers
30 views

File exists but System cannot find file specified is returned in cmd

I have an external disk and i have some files in folder. I am able to copy files from other folders of the disk except one folder. The command prompt autocompletes and shows absolute path of filename ...
0
votes
0answers
23 views

How to stop an errant shutdown

I have a system with many processes and one of them looks to be invoking shutdown or something similar causing the host to exit very quickly. There is no linux kernel crash so I'm going under the ...
0
votes
1answer
10 views

Primary and/or Logical Partitions Debian Install

I'm installing Debían on my laptop, I already have Win7 installed, I made a new partition with the installer, but I already have 3 primary partitions from Windows. After making the root partition ...
0
votes
1answer
13 views

Why are filename ordering rules different on graphical/non-graphical linux programs?

Here is the output of an ls: x-15.txt x-1617.txt x-2411.txt x-24.txt x-ae.txt x-afag.txt x-bdaa.txt x-bd.txt Note that x-1617 comes before x-24 and the same ordering rule seems to apply to the ...
0
votes
0answers
5 views

How to set sysfs.conf for EDAC kernel module

I want to set parameter for the following EDAC settings files: /sys/module/edac_core/parameters/edac_mc_panic_on_ue /sys/module/edac_core/parameters/edac_pci_panic_on_pe But before I set any ...
0
votes
0answers
15 views

Proper way to execute a script before running upstart based service?

I run the deluge torrent client within a virtual machine that mounts an NFS share from the filer that runs bare metal. Occasionally deluge starts before NFS has been mounted, and it starts downloading ...
0
votes
0answers
23 views

Could not get PS2 keyboard to work with Startech KVM

I have a Startech 2-port KVM switch I am using between a Windows 7 and Linux box. Unfortunately I cannot get it to work with a PS2 keyboard that I like (using a PS2-to-USB adapter), although it does ...
11
votes
3answers
432 views

Determine type of device Bash script is being executed on (laptop or desktop)?

Is there any reliable way to determine (programmatically) from within a bash script if it is being executed on a laptop or a desktop computer? I could obviously just prompt the user to ask them, but ...
1
vote
1answer
15 views

Is there a way to reformat a RAID array without losing existing data on the disks?

I have a RAID 10 comprised of 4x 4TB disks. It is currently formatted in XFS on a CentOS server (The server's root directory is is not on the RAID), and I've been looking at replacing XFS with ZFS ...
0
votes
0answers
6 views

Accidental window drag in Gnome

I am getting frustrated by the following Gnome behavior. Say I have the browser window opened full screen and a terminal above it (not full screen). If I click on the title bar of the browser so that ...
0
votes
0answers
25 views

Chromium kiosk mode on Xserver viewport not fully visible

I've installed Ubuntu Server Edition with Xserver and some other packages (rungetty for autologin, unclutter to hide cursor, chromium-browser to show something). I've configured chromium-browser to ...
-1
votes
1answer
57 views

New to Linux: Download/Installing Debian

I've download Debian from Debian.org, first I got debian-7.8.0-amd64-i386-netinst.iso from the main page. I've made a bootable usb and when I selected the option Graphical Install it went black ...
0
votes
1answer
22 views

grep % through a file

I am running an import job on a really large mysql file that for the most part doesn't have line breaks. Using mysql process list I was able to fine the ID of the currently inserting record. What I ...
0
votes
1answer
370 views

How to install KDE 5.2 or 5.3 in Linux Mint 17.1 KDE

I tried: sudo add-apt-repository ppa:neon/kf5 sudo apt-get update sudo apt-get install project-neon5-session project-neon5-utils project-neon5-konsole project-neon5-breeze ...
1
vote
1answer
33 views

Ffmpeg chain references to other parts of the command for dynamic watermark size

I have been reading the ffmpeg documents for a while now. But I can't seem to wrap my mind around how the filters, naming and backreferences work. Or whether what I want is even possible. I am ...
0
votes
1answer
20 views

protect the known_host file from writing - good or bad idea?

I want to protect the known_host file from writing So I want to perform the following steps on my Linux red-hat server Cp /dev/null /root/.ssh/known_hosts chattr +i /root/.ssh/known_hosts I want ...
0
votes
0answers
8 views

How to clean Cloudwatch alarm automatically? How to avoid “INSUFFICIENT DATA”?

I am facing the problem to clean the AWS cloudwatch alarms when an instance is shutdown from Autoscaling event or other reasons. I am searching for a solution that is embedded in the instance without ...
0
votes
1answer
27 views

running a firefox tar.bz install in my homedir with separate settings from a distro installed firefox

Work's mandated a specific version of firefox that's older than I'd like. They're cool with sysadmins and general tech folk running their own stuff (as long as it doesn't trip off the auto "is this ...
0
votes
2answers
41 views

Cannot login to one specific Linux server with PuTTY private key

I use a single private key to login to several Linux servers using PuTTY. When I need to login to a new machine, I first log in by password authentication and then add my public key to ...
0
votes
0answers
32 views

Mouse not usable on specific USB port (Windows and Linux)

This is an operating system-agnostic issue, but I have logs from Ubuntu 14.10. I have this USB wireless mouse: It is not usable through the USB port shown on this laptop: The mouse works on the ...
0
votes
1answer
27 views

Trying to reinstall MongoDB. First it says package is not installed, then it says already installed?

I have a problem with a service, it fails to start. I am trying to troubleshoot it by re-installing it. When I try to start or stop the service I see the following: When I try uninstalling ...
0
votes
1answer
22 views

BASH associative array rearrange keys

I am running into a weird issue with associative arrays in bash. I have the following files in a directory: ls -lart drwxr-xr-x. 3 root root 4096 Feb 9 11:14 .. -rw-r--r-- 1 root root 3275 Feb 9 ...
0
votes
0answers
10 views

Wordpress extremely slow in VPS

Recently a client buy a "unmanaged" VPS at 1&1 and since a few days the site running on it, which is a Wordpress, is extremely slow and I can't find what the cause is meaning if it's at software ...
0
votes
0answers
10 views

How to manually install a library so that it may be included from the standard path?

I need to install and use this library on a Raspberry Pi running a flavor of Linux. The linked website suggests getting the necessary files from the public repo but I was unsuccessful in doing so. I ...
0
votes
0answers
17 views

How is this picture icon generated if the file itself is corrupt?

This problem is very annoying, and has happened before. I previously made a picture on the kolourpaint program for linux, and saved it as a .jpg file in its respective directory. I was able to view ...
1
vote
1answer
34 views

Two Linux systems on ad-hoc wifi can't ping eachother

I have two Raspberry Pi machines with D-link DWA-121 Wi-Fi adapters and I’m trying to set up an ad-hoc network between them. I have followed this configuration example in /etc/network/interfaces: ...
0
votes
1answer
15 views

ZFS send/recieve over ssh on linux without allowing root login

I wish to replicate the file system storage/photos from source to destination without enabling ssh login as root. I've tried a number of different combinations such as: sudo zfs send -R ...
0
votes
0answers
27 views

Where is my EFI? Dual booting arch linux and windows 8.1

I will start by saying I have never used UEFI before and am still trying to understand. So I have a 120GB SSD and a 1TB HDD. Formated In this way. Windows 8 is installed as C: and I want to ...
0
votes
1answer
15 views

Does specifying the compression engine to tar directly actually use less intermediate disk space than tarring first and then compressing?

When I use tar to archive a directory and then compress it separately using e.g. xz, there will be a point where I have three files on my system - dir, dir.tar and dir.tar.xz. As soon as the ...
0
votes
1answer
38 views

How do I save a string of numbers from an ongoing command to a list in a shell script?

I am trying to make a shell script for recording macros via recording the individual keycodes of each button press. The command for it looks like this: xev | grep -A2 --line-buffered '^Key*' | sed ...
0
votes
0answers
28 views

Connecting to mysql server at 127.0.0.1:3307 with iptables port redirect

I have a ruby application which, for various reasons, connects to a mysql server running at 127.0.0.1:3307. This works perfectly on the server side, but now I want to run this application on my ...
0
votes
0answers
10 views

xubuntu sys tray removed, and can't get it back

I have a strange issue that I can't resolve even after googeling for over an hour. I am new to xubuntu. In xubuntu desktop by default there is a system tray. I was mucking around trying to remove an ...
0
votes
1answer
25 views

upgrade (software) RAID 1 capacity

I am upgrading a software RAID 1 array (/dev/md0) from 2TB drives (sda and sdb) to 4TB (sdc and sdd). Straight forward; ext3, single partition, no MBR, no LVM. In the end, I would like to have two ...
0
votes
0answers
26 views

Unable to connect to Sophos VPN using vpnc

I am trying to connect my linux machine (Ubuntu 14.04 LTS) to a VPN using vpnc. The remote end VPN is setup using Sophos UTM 9 and setup for IPSec with preshared key (XAUTHPSK+XAUTHSERVER). On the ...
0
votes
2answers
46 views

After a crash, how does Firefox know what tabs I had open?

I browse in Firefox and in a sudden my power goes off. After booting the machine and opening the browser, Firefox knows my last session's tabs. Is there any file that Firefox is constantly writing to? ...