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

-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?...
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
927 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
435 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
655 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
736 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
973 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
617 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
516 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
830 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
828 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
373 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
245 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/...
4
votes
1answer
741 views

How do I run Gnome from a systemd-nspawn container in a second X server?

I'm using systemd-nspawn to "boot" a second Linux OS from a USB hard disk. I'd like to launch that OS's Gnome Desktop in a second X server running on the same machine on a different tty than the ...
0
votes
1answer
5k views

Open xlsm file in linux?

For all my spreadsheet needs, I've found Open/Libre Office works fine, and I can receive xls and xlsx files from colleagues, and send files to them. However, I have recently been sent a large xlsm ...
1
vote
2answers
183 views

Package name suggestion in fedora

In Ubuntu when an app is not installed and in Terminal you type for example gvim it says that this app is contained in package vim-gnome and try installing that but in fedora that doesn't happen with ...
2
votes
2answers
61 views

How to paste same information into 2 different files?

I'd like to create two files in /etc/skel using a script which does many other things in addition to the creation of the files in /etc/skel. The part from script regarding /etc/skel looks like this: ...
2
votes
0answers
274 views

How to freeze system clock for a wine application? [duplicate]

I have a windows program, that works only to a particular date. It's a legacy application and I can't change the source code. Is there any way to set a specific date in the system clock for the wine ...
2
votes
1answer
529 views

How can I work around the program failing if there is *any* stdin?

For example, the following works fine: /usr/bin/program It produces some output, and gets to result. But if I invoke it like this: echo -n | /usr/bin/program or this echo -n | bash -c "/usr/...
1
vote
1answer
172 views

Data loss prevention ( or recovery) in a MySql db in embedded systems

I have a little ( big ) problem with a MySql application that write on a SD card or a Compact Flash. After a data loss ( a power failure , for example) , if I try to retrieve the data of my db , it ...