These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

2
votes
3answers
7k views

Starting Qt Application On Startup for Embedded Linux

I'm trying to get a Qt application to launch immediately after booting up. When booted, the Linux image does nothing more than launch an X server and a terminal. It also has the cron daemon running in ...
1
vote
2answers
394 views

Setting up a RAID 1 in Funtoo [closed]

In short Following the guide How to Set Up a RAID 1 Under GNU/Linux, I have setup a RAID 1. Checking the RAID Array for validity in various ways, appeared to be normal. However, after rebooting the ...
1
vote
2answers
369 views

Richard Stallman compares Linux with Windows [closed]

I'm posting this here, because I really don't know any other place that could answer this. I'm curious about switching to Linux. I'm referring to this video: https://www.youtube.com/watch?v=...
3
votes
3answers
3k views

How can I create my own distro and include a custom kernel & packages? [closed]

I wanted to know how to add packages to the Linux kernel and then package it to a ISO or CD for friends. Thanks in advance and please don't point me to LFS - Linux From Scratch!
2
votes
1answer
122 views

Unknown source sends “AT+GC” into /dev/rfcomm0 opened by BlueZ

I'm testing a bluetooth application running on an Android device. I registered a dummy service on the device and opened the RFCOMM channels to it from the PC running Ubuntu 12.04: bluez-test-serial ...
1
vote
0answers
600 views

Compiling PHP-FFMPEG Extension

cd ffmpeg-php* phpize ./configure --with-ffmpeg=/usr/local/cpffmpeg make Then I end up with the following issues on my make: ... ... ... /usr/src/ffmpeg-php-0.6.0/ffmpeg-php.c:86: warning: (...
-1
votes
1answer
83 views

How to upgrade Linux version without breaking the original settings or configs? [closed]

I want to upgrade my linux version to an upper level, but I am afraid of by doing that, it will format the original settings or configs on my machine. So is there any way that we can avoid this happen?...
8
votes
5answers
49k views

Parse XML to get node value in bash script?

I would like to know how I can get the value of a node with the following paths: config/global/resources/default_setup/connection/host config/global/resources/default_setup/connection/username ...
3
votes
0answers
70 views

Maintain different Dropbox locations for one Dropbox account on different hosts

We've got a user who is asking if it's possible to keep two config.db's, and use one or the other based on the host name, for the same Dropbox account (not two Dropbox accounts). For example: ~/....
0
votes
2answers
643 views

Which linux distribution is best for multimedia and gaming? [closed]

I am looking for a Linux distribution which has good multimedia and gaming support for my laptop.
0
votes
1answer
164 views

Is my approach to performance testing in Linux environment correct?

I want to do performance testing in a Linux environment for a C++ application. I need to measure the CPU & Memory usage of the application. This application is a multi-threaded application. In ...
14
votes
2answers
925 views

How to keep dotfiles system-agnostic?

Due to work I have recently started using OS X and have set it up using homebrew in order to get a similar experience as with Linux. However, there are quite a few differences in their settings. Some ...
6
votes
1answer
3k views

Does kernel: EDAC MC0: UE page 0x0 point to bad memory, a driver, or something else?

kernel: EDAC MC0: UE page 0x0, offset 0x0, grain 0, row 7, labels ":": i3200 UE All of a sudden today, our CentOS release 6.4 (Final) system started throwing EDAC errors. I rebooted, and the errors ...
-3
votes
2answers
432 views

Bash operator & not working [closed]

As per the bash reference, we can give a non-blocking command by ending it with an ampersand(&) character. However, when I try the below command its not working: python -m SimpleHTTPServer 8080&...
0
votes
0answers
100 views

Issue partitioning with paragon partition manager

I have 4 primary partitions. One of them is a Windows partition and one of the others is a 100MB system reserved partition. I want to convert my other primaries to logicals and place them into one ...
2
votes
1answer
70 views

What happens to the old binary when a new one compiled from source?

I've compiled git from source after git from the repository was already installed via the package manager. In that process, the "from source" git took its place as the "main system git". user@jeanny:...
1
vote
1answer
205 views

Is there a way to disable a plasmoid toolbox that pops up while mouse is over the widget/plasmoid?

When you hover any plasmoid, a vertical toolbox appears to the left. The toolbox contains the resize, refresh, settings and remove buttons. Is there a way to remove this small panel appearing on every ...
1
vote
1answer
410 views

issue installing fedora 19

I'm sorry I know this is not the place but I'm kinda dead in the water here. So I'm completely new to Linux an I wanted to install Fedora 19 with my Windows 7 (dual boot) but when I go through the ...
3
votes
2answers
651 views

Current environmental variables of a process

This question relates to this answer. Is it possible to get the current (not initial) environmental variables of a process by making a child process and checking its initial environmental variables? ...
0
votes
2answers
565 views

Recover Linux ext4 partition formatted to hfs+

I have a Linux partition formatted to ext4 and I accidentally formatted it with Mac OS X Disk Utility to HFS+ (Mac OS X Extended Journaled). I tried to recover it with http://www.r-studio.com/ on ...
2
votes
2answers
735 views

FreeBSD Base packages

Recently, I've stumbled upon an interesting question about the difference between Linux and FreeBSD (Why would someone choose FreeBSD over Linux?) and found there a link to this site. I've read that ...
2
votes
1answer
968 views

reverse extending the LVM group volume

I accidentally extended the volume to utilized 100% free disk space on LVM group volume. I need it to utilized only /dev/sdb disk but it took free space from both disk, since they were on the same ...
1
vote
1answer
616 views

port forwarding to internal lan server

I've ppp0 --> eth1 and eth0 (internal lan). I need forwarding externel 10022 port to port 8999 of the server 192.168.1.254 iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 10022 -j DNAT --to 192....
2
votes
1answer
3k views

How to get system configuration information without dmidecode

In order to collect some system configuration information, I have been using dmidecode and the related tool lshw to find the information. This works great on most machines, but I have recently got ...
3
votes
3answers
179 views

How to know driver names?

Is there any general way to know the name of the driver of all the devices on a linux machine? For example, I want to know the name of my network interface driver and the name of my webcam driver. How ...
1
vote
0answers
386 views

Will there be any security problem to permit non-root user set up a loopback devices?

if the user has full access to the image file (iso or disk image), will there be any security problem to permit him set up a loopback device backed by this file ? % ls -al /dev/loop* ...
2
votes
0answers
2k views

find ount what [flush-8:0] is writing

Using iotop, I found out that [flush-8:0] is doing a lot of hard disk activity, which explains the annoying slowdowns. However, I can't figure out what's the actual cause behind this flushing. No ...
3
votes
1answer
511 views

Rolling your own init: How to shutdown/restart?

After reading this answer, I thought it would be funny to roll my own init on Python, so I wrote this in /init-python. #!/usr/bin/python3 import os import subprocess # Make / writable! subprocess....
1
vote
3answers
5k views

traceroute with explicit gateway selection

I have a router (running Linux) that is connected to two ISPs, the routes are selected using BGP, however, I would like to ping/trace each connection separately. The standard traceroute command seems ...
1
vote
2answers
145 views

Why use linux, and which one should I use? [closed]

maybe this question may seem a little bit odd here, but I would like to ask it to people that actually got some knowledge and use this system. Should I use linux? If so, which one would you consider ...
0
votes
1answer
2k views

Is there any small linux distro for ARM NAS?

I want a small linux distribution, that includes the following open source packages: busybox samba afpd avahi pureftpdftp minidlna transmission I thought, I can compile one from sources, but it's ...
1
vote
2answers
132 views

Create my own disk server

I have been wondering how all these small nas boxes that run linux can share over network and usb. The network part is totally under control, but I am completely at a loss on how I could hook up a ...
1
vote
1answer
114 views

midnight commander: specify commandline options in global config file

I want to start mc always with the --nomouse option. Is there a way to put this option into the (global) config file, so that I don't have to type it every time ?
3
votes
1answer
826 views

Can't find vgaswitcheroo directory in CentOS6

I've installed CentOS6 on my laptop, which has a built in VGA and a discrete (AMD) VGA. I used to switch AMD video off in other distro's (e.g. Fedora, Arch) using: $ echo OFF > /sys/kernel/debug/...
12
votes
1answer
27k views

What does the eth0 interface name mean in Linux?

What do the Linux interface names mean? eth0 eth1 wlan0 My current assumption is that when we are connected to the Internet via LAN cable it's eth0 or eth1 and when we are connected with internet ...
3
votes
0answers
820 views

Is there any DLP solution for linux? [closed]

I'm looking for a DLP (Data Leak Prevention) solution for linux environments. I know OpenDLP, but it's only a way to Prevent Clear-text file, and source codes from malicious access. There are lots of ...
3
votes
3answers
6k views

Using winexe to run “wmic” commands on a Windows machine

We use winexe to execute commands on our Windows machines from Linux. For example: winexe -A authfile //syspc4.domain.com "ipconfig /all" Expectedly the above prints out the same thing as if you ...
11
votes
3answers
13k views

Force dd not to cache or not to read from cache

I'm working on an embedded system with the busybox version of dd. I'm trying to test an erase to the drive from some outside utility, however dd does not read from the disc again after the erase, but ...
1
vote
1answer
372 views

Why is yum's tab completion slow?

Why is yum's tab completion slow? Is it because it needs to connect to the internet? If yes, how can I disable that?
1
vote
0answers
22 views

Fedora's command-not-found doesn't work [duplicate]

I've recently installed Fedora 19. Packagekit-command-not-found is installed. But it's own examples doesn't work. When I enter gedti the output is: bash: gedti: command not found... Similar command ...
3
votes
1answer
2k views

Fedora's command-not-found doesn't work

I've recently installed Fedora 19. Packagekit-command-not-found is installed. But its own examples don't work. When I enter gedti the output is: bash: gedti: command not found... Similar command is: '...
1
vote
1answer
335 views

Enable ACL on ArchLinux

Hi i'm trying to enable ACL on my filesystem. this are the steps install acl with # pacman -S acl edit /home entry on /etc/fstab /dev/sdb4 /home ext4 defaults,acl,noatime ...
0
votes
0answers
22 views

file modified while doing scp/cp [duplicate]

I'm doing scp to a database while it's active. Its not very critical but I would like to know what will happen to a file when it is modified in the middle of a cp process? Does it get corrupted or it ...
6
votes
2answers
116 views

How to set up interchangeable VM guest/hosts

I'm looking for a way to set up a computer so that the disk is partitioned for multi-booting to two operating systems: Linux and Windows. Whichever one is booted, I want the other to be accessible as ...
3
votes
1answer
6k views

How to make nemo support compressing files by context menu?

I use Cinnamon on ArchLinux and Nemo is it's default file manager. I've tried 3 GUI file archivers (p7zip with WxGTK, peazip & file-roller), but none of them add a "compress option" in the context ...
0
votes
1answer
1k views

Using a file input as stdin for a shell script does not work

I have the following script code: test.sh echo "BEGIN" while read CMD <&1; do [ -z "$CMD" ] && continue case "$CMD" in start) echo "get_start" ;; ...
0
votes
1answer
2k views

Can't send mail with sendmail

I use SENDMAIL, I noticed that none of my mail is sent. I have all my mail in the /var/spool/mqueue when I looked at the log and I have this error MDeferred: Connection refused by cluster8a.eu....
3
votes
0answers
836 views

How to migrate existing linux system to LVM partitioning

I want to migrate my system to LVM. My current setup is the following: Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = ...
3
votes
0answers
3k views

Permission denied when Ubuntu is attempting to mount to a remote Windows share folder

Fellow guys, I encountered the error when I's mounting my Ubuntu server to a remote Windows share folder, the following is the error on terminal after I typed command line 'mount -a': mount error(13)...
1
vote
1answer
243 views

How can I create cron jobs in specific files?

I want to have a separate folders for cron jobs like: /mydata/cronjobs Now in that folder I want to have files like backup_server which will have the content like: 30 3 * * 1-5 /home/user/scripts/...