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

1
vote
0answers
215 views

setting up linux routing table for mutliple wifi connections

I would like to increase the speed when downloading large files on a public hotspot by using both a built-in wifi-adapter (wlan0) and a wifi-usb-stick (wlan1). As bonding wifi-devices does not seem ...
1
vote
1answer
36 views

File last changed time earlier than it was last opened

Why is the file last changed time dated earlier than time shown by the previous date command? $ date Fri May 17 13:41:11 MDT 2013 $ touch other.rst $ ll other.rst -rw-r--r-- 1 ondrej cnls 59261 May ...
3
votes
1answer
195 views

How to find a file and move it into the directory it was found in

I am trying to rename files in sub directories using xargs by running the following command: find . -name oldfile.txt -print0 | xargs -n 1 -0 -I % mv % newfile.txt The problem is that the file gets ...
1
vote
1answer
95 views

limitations of Apache2 mod_mono

I run a small web application development shop. On a very limited basis, we do on occasion host some of our customers' apps and sites (I am not really set up for hosting, from a hardware stance). I am ...
0
votes
2answers
205 views

If there are 2 NICs on the same machine, can a TCP client on one NIC connect to a TCP server on the other NIC?

I use TUN/TAP to create a tun NIC tun0 with IP 10.10.10.2, and I have a real NIC eth0 with IP 202.112.34.49 Then I run a TCP client which binds its socket to 202.112.34.49 and a TCP server binding ...
3
votes
1answer
663 views

How do I figure out what to set my DISPLAY variable to for a virtual display?

Here's my uname -a info ... Linux qa3398c 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm running some Google Web toolkit tests that require access to a ...
0
votes
0answers
33 views

Can anyone explain how the loopback interface works? [duplicate]

I got to understand how TUN/TAP works from the following illustration: TUN/TAP illustration I'm at a loss how the loopback interface works. Can anyone explain a bit about how the loopback interface ...
0
votes
1answer
415 views

Apache as Load balancer – forcing a break in persistent connection

I set up a load balancer with Apache 2.2 via mod_proxy and mod_proxy_balancer. The load balancing works just fine, but there is one case I cannot find any configuration options for, namely, while ...
0
votes
1answer
145 views

Counting by number of occurrences in first column

I have an input file like this: ATTACK-RESPONSES id check returned root BACKDOOR ACKcmdC trojan scan BACKDOOR hack-a-tack attempt BACKDOOR WinCrash 1.0 Server Active ICMP Destination Unreachable ...
0
votes
1answer
60 views

How can a param be added to boot-command but not accepted by sysctl?

I can successfully add libata.ignore_hpa=1 to my boot command and the following cmd will yield a '1' upon boot: cat /sys/module/libata/parameters/ignore_hpa but grep'ing sysctl -a for libata and ...
0
votes
3answers
189 views

Ran out of primary partitions, want to install another system

I have a Fedora 18 system installed on my hard disk, but upon installation I created 4 partitions for boot, swap, root and home, and now I want to install Windows on some unallocated space (I need it, ...
1
vote
1answer
175 views

Can emacs be used across multiple screens?

I would like to use emacs across multiple monitors: one monitor would have code the other would have the R session that will be processing the code submissions. I am in a Windows machine logging into ...
1
vote
2answers
954 views

Is it possible to create a subfolder inside a symlink folder but not be added into the parent folder?

Is a very tricky question, sorry about that Base on this Folder A file1 file2 Folder B ( symlink of Folder A (softlink) ) file1 file2 that i want to do is create a folder or file inside my ...
0
votes
1answer
509 views

How to to measure and monitor I/O performance

We have a linux cluster with worker nodes sharing a common remote file system. We want to optimize the I/O, in particular when the workers read from the remote fs. The starting point is to measure ...
0
votes
1answer
259 views

How do I drop the entire INPUT chain from iptables?

On Linux, I've been building a malicious IP list. I assume the DDOS is now gone. How do I drop the entire INPUT chain from iptables, without affecting the FORWARD or OUTPUT chains?
0
votes
1answer
253 views

How I can replace linux module which are the same version?

I have compat-wireless module, it's built and patched. I really need to replace the module located in /lib/modules/3.2.0-4-686-pae/kernel/drivers/net/wireless/ with this one but I don't know how do ...
1
vote
1answer
121 views

non-root man pages with Linux-Ubuntu

I'm working on a Linux-Ubuntu server as non-root user. I created a small application and because I'm not a privileged user I'm going to install it under $HOME/bin directory (this directory is in the ...
1
vote
1answer
845 views

configuring huawei e303e dongle on arm9 embedded board

i have been trying to connect 3g modem on arm9 board. bot modem is not getting detected. here is my lsusb: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID ...
0
votes
1answer
72 views

what's the meaning of “?” in file/folder mode bits in CentOS 6.4?

Environment: 2 desktops. A is a Ubuntu 12.04.2 LTS B is a CentOS 6.4 A mounts B's folder via sshfs. The output of 'mount' in A: Lebian@zeus:/share on /mnt/share type fuse.sshfs ...
1
vote
1answer
289 views

incron on Raspberry Pi

I installed incron on my Raspberry Pi as you would any other package: $ sudo apt-get install incron I went to edit my incrontab... $ incrontab -e user 'pi' is not allowed to use incron I checked ...
2
votes
1answer
48 views

How to estimate compute time on EC2?

I need to generate data samples for my thesis, using some R/C++ code I've written. It can be embarrassingly parallel, and I've generalized it to run on local multicore machines without much trouble. ...
1
vote
1answer
598 views

How do I install 'z' file directory jumper on linux?

I'm attempting to install this and running into issues. I am supposed to add a line to the ".bashrc" file? Where in the file? the bottom? the top? somewhere in the if statement? do I make it an alias? ...
0
votes
1answer
318 views

Expect not working using -c arguments

So I have an expect script like this that works: #!/usr/bin/expect spawn scp me@myserver.com:* . expect { password: {send "mypassword"; exp_continue} } Based on the man page for expect, I think I ...
0
votes
0answers
272 views

LVM woes - is it possible to recover data from LVM?

I think I've cocked up a smidge, so asking for some advice. I have 4 drives in my machine: sda - OS sdb-d - sdb1, sdc1, sdd1 - swap sdb2, sdc2, sdd2 - LVM Total logical volume size ...
-1
votes
0answers
3k views

How to solve “the system is running in low graphics mode” in ubuntu 12.04? [closed]

I have ubuntu 12.04 installed and it was working fine. But today suddenly it stopped responding, then I restart it and gives a window The System is running in low graphics mode, Your Screen, ...
0
votes
1answer
1k views

How can I use lookahead and lookbehind regular expressions on Linux using find?

I generally use the following command to match patterns find . -maxdepth 1 -regextype posix-egrep -regex '.*/{pattern}' However when I attempt to use a lookahead for example, no results are ...
1
vote
1answer
615 views

Use Qemu & chroot to reset password on mounted external disk

I have a NAS based on Linux, but the root password is kept secret by the manufacturer. Now to reset the password I am trying to mount the disk to my local linux computer. All of the files are present ...
5
votes
4answers
5k views

Why do we need to set swap space as twice big as our physical memory?

When we want to setup a linux system, there is a common a suggestion to set the swap space twice as big as your physical memory. I want to know why do we need this, and how it is this suggestion come ...
2
votes
4answers
2k views

Recommended replacement for Fuduntu (a discontinued Linux distro) [closed]

I have a laptop which gets very hot. And as we know, heat is bad for the Lithium battery. So I wanted to install a distro which was lightweight and kept my laptop cool. I came to know about this ...
1
vote
1answer
558 views

Ubuntu/apt-get: redownload all extra/suggested packages dependencies

I have two computers: one's online and fully updated, the other's offline. I want to download specific .deb files to deploy them on offline computers manually. For instance I want to install ...
0
votes
0answers
27 views

Samba connection and read only directory

I have a Windows XP computer connected with a Linux computer with Samba. My problem is that the directory in Linux has all permission, while when I see it from XP it seems to be a read only directory. ...
2
votes
1answer
958 views

How does Linux know what is the mimetype of a file?

How can linux know the mimetype of a file? Is there something written inside the file? Does it look at the extension of the file?
0
votes
1answer
589 views

How to identify that one of the bridge interfaces(SW bridge in linux) is down?

I have a board. This board have two interfaces one eth0 and other usb0. eth0 port is connected with network. and usb0 port is connected to another device With the help of bridge-utils, I am able to ...
1
vote
1answer
164 views

Add a window padding to guake

Text is too near the edge of the screen, I'd like to allow a small 10 pixel padding on all sides to comfort my eyes. Is this possible? I'm using guake.
0
votes
4answers
132 views

Backup entire data and migrate

I have been given promotion in the office and hence given a new laptop. Now I have to move from my old system to the new laptop. I am currently working on many projects and have many dependencies ...
2
votes
1answer
389 views

Human readable text for current weather condition

I am looking for a command line program that takes the current weather condition from a website and prints it out in a human readable format. Actually, I have a Linux box which is connected to my TV ...
0
votes
1answer
159 views

Disable volume-change sound

I'm using Debian Wheezy with Gnome 3 and I'd like to disable the "bip" sound made when pressing the volume +/- keys. Audio programs that are running currently (I have no clue which program exactly ...
0
votes
0answers
337 views

How do I configure rsyslog to write to /var/log/{hostname of sender} when receiving remote logs?

My ADSL modem supports remote logging via syslog. I have set up my server, running rsyslog, to accept the log messages from the modem and they are being show in /var/log/syslog along with the messages ...
1
vote
2answers
152 views

How to rename to existing folder

i am not able to rename the folder name. i tried these ways. please correct me, [testuser@backupdev1-lnx backup]$ cd /opt/backup/ [testuser@backupdev1-lnx backup]$ ls -l total 8 drwxrwxr-x 2 ...
3
votes
1answer
3k views

SYSLINUX? Booting off a Live USB?

I used Unetbootin to install Xubuntu to a Live USB (a 4 GB SanDisk). By default, I'm running Windows 7 (which is also what I ran Unetbootin on). The computer I'm trying to use to boot off the Live USB ...
0
votes
1answer
114 views

Debian DomU on Debian Dom0

I've set up xen on a Debian squeeze DomU and it seems to be working. I followed the this guide The problem I have is when I try to start the VM and attach the console using xm create -c ...
0
votes
1answer
630 views

Fixing Windows 7 BSOD Stop 0x7B in a Xen VM after migration from physical partition to a logical volume

I had been dual booting my laptop ( Sony Vaio-VGNCR26B ), with the two os's being Win7 and Ubuntu 12.04 LTS ( I think this is referred to 12.04.1 LTS now ). Previously, I had been able to boot the ...
4
votes
2answers
4k views

Making SELinux play nice with OpenVPN (in NetworkManager)

I have been trying to use OpenVPN to connect to my work network. Using it via the command line works fine: openvpn user.conf I haven't bothered to set it up with DNS properly though, and it looks ...
12
votes
4answers
5k views

How do you start a program after X has started?

There's a little app called F.Lux that sets your screen temperature based on the time of day. The Linux version is a little spartan with just a console interface but it works perfectly well. Where ...
0
votes
1answer
177 views

Upstart event when network connectivity to a specific server is available?

Is there a way in upstart to code an event to start when network connectivity to a specific machine becomes available? Something based on a ping result would work in my case. The task being started ...
1
vote
2answers
429 views

Is this (wireless) network layout possible with clearos?

I am planning the layout of my future home network. On it, I want to use a small pc with clearos on it as a firewall/server/router. However, I'm having trouble with the wireless part of my network. I ...
2
votes
2answers
4k views

why is sftp rmdir not working?

I'm trying to remove a directory with lots of files and folders from my private server space. I'm logging on via SFTP fine; I can access the entire directory no problems; I can even delete individual ...
2
votes
2answers
408 views

2 and more keyboard layout groups in Linux changed by different hot keys

So, this is something I've been dreaming of for years now. I've sporadically foraged for a solution on Google but never really found anything. I was told once by someone on IRC that it's possible but ...
0
votes
1answer
97 views

Linux gateway / DNAT: restrict to certain interfaces

I have various machines with a number of network interfaces: eth0: a local LAN eth1: sometimes used for the connection to the Internet gateway ppp0: Modem uplink as an alternative to eth1 tun0: ...
5
votes
3answers
3k views

Is it possible to put foreground process into background without suspending (control +z)?

I am running an application which receives TCP and UDP packets and therefore cannot be suspended. I intially ran 3 processes of the same application, with different arguments, in background mode using ...