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
1answer
212 views

Update single kernel module / driver

I needed a newer version of a Kernel module in an quite old kernel. How can I replace a single kernel module of the mainstream linux kernel and compile only this module?
2
votes
1answer
352 views

How do I ensure a process is running, even if it kills itself? (it needs to be restarted then)

I'm using linux. I want a process (an irc bot) to run every time I start the computer. But I've got a problem: The network is bad and it disconnects often, so I need to manually restart the bot a few ...
0
votes
0answers
40 views

firefox bug with history

I noticed the following unwanted behaviour (bug) on the latest firefox for linux: go to youtube.com click on "trending" click on any video (the first one for example). click on the firefox 'go back' ...
1
vote
1answer
2k views

How to address an alsa “mixer_device” in mpd config for a second sound card?

I run mpd on a system with a built in sound card and a second card that I plugged in via USB. Adressing the second sound card in the mpd.conf was easy: change: device "hw:0:0" to device "hw:1" ...
0
votes
2answers
742 views

What happens to wget when the ssh pipe gets broken?

Say, I'm downloading a file using wget on the server machine via SSH and due to some internet connectivity issues, ssh kicks me out saying broken pipe. What happens to the wget download? Would it stop ...
0
votes
1answer
137 views

Is there a race condition when two computers have the same remote directory mounted over NFS

I am seeing some very strange results in a filesystem where I have one machine that creates a directory in a mounted NFS filesystem, does some work it in, then makes a remote call to another machine ...
0
votes
1answer
195 views

Only video playback not working for Xbox using uShare

I have been mucking around with video encode for a while now using Handbrake without any success. (just recently tried EncodeHD on a Windows machine with no luck) So far all music and pictures play ...
3
votes
1answer
429 views

Change the default route without affecting existing TCP connections

Let's say I have two public network addresses on my server: one NAT through an ISP (192.168.99.0/24), and a VPN through a different ISP (192.168.1.0/24), already configured with a per-host route to ...
0
votes
3answers
624 views

Toolkit / tool for PDF checking?

Looking for a command line tool for Windows / linux environment that can check a PDF file for any errors (not for repairing).
2
votes
1answer
558 views

needing storage integrity (write/read) test - for BASH

In need of shell scripts / bash commands to verify data integrity of local harddrives, usb-drives, etc, ... Like the famous www.heise.de/download/h2testw; or something that is at least common within ...
1
vote
1answer
2k views

How to setup 802.11n wireless card in ubuntu

I have installed ubuntu 9.10 on my laptop. It has a 802.11n wireless card. When I boot up to ubuntu, the wireless does not work. And if I connect to a wire network within ubuntu, it works. Ubuntu ...
0
votes
1answer
240 views

static name for a wireless interface on ubuntu/debian machine

I use ubuntu 12.04 on a beagleboard-XM. I use wireless dongle on the board for wireless interface root@ubuntu:/# uname -a Linux ubuntu 3.2.0-23-omap #36-Ubuntu Tue Apr 10 20:24:21 UTC 2012 armv7l ...
0
votes
0answers
136 views

1:1 NAT IP address using iptables

Suppose I have 2 internal networks: 1.1.1.0/24 and 1.1.2.0/24 I would like to NAT a specific IP address from one network to the other, in which the new address would be obtained via DHCP. For ...
2
votes
1answer
226 views

How to compose key in Linux

This topic has been addressed on quite a few web pages of this website, however I do not yet understand the full extent of the things that we might be able to do with the Compose key. A user here has ...
1
vote
3answers
1k views

Persistent BackTrack on USB

Can someone explain how to make a persistent installation of BackTrack 5 on an 8GB USB drive?
2
votes
2answers
78 views

Can I associate my command history based on my cwd

I often navigate between multiple directories in a bash session. Sometimes upto 4. For each directory I am in I often have an exclusive set of commands that I fire and this set can be between 7 and 10 ...
7
votes
2answers
6k views

Linux: no space left on device error with 50% free space

After spending a day crushing my head on the desk I would appreciate some help. I'm running a Squid-Proxy on Fedora 14. Even if I try to touch /tmp/foo I'll receive a "no space left on device" error. ...
1
vote
2answers
546 views

How to delete a file containing dots and backslashes in Fedora 17

I'm using Fedora 17 and I generated a folder named .\data\ from code How can I delete this file from the command line?
0
votes
1answer
62 views

ssh tunnel stopped working

Suddenly my call to ssh -f -vvv rdp@corn06.stanford.edu -L 2025:corn06.stanford.edu:55576 -N stopped working. It prints the output at the bottom of this post, and then the process terminates. Yet it ...
2
votes
1answer
1k views

“There are stopped jobs” when I try to quit terminal

I am using terminal.app on a MacBookPro running Mac OSX Lion 10.7.5. When I try to exit the terminal, I get a message "There are stopped jobs" and the exit fails. What does this error message mean, ...
1
vote
3answers
15k views

XRDP errors when trying to use sesman-x11rdp

I've just installed Ubuntu 11.10 Desktop on an old laptop of mine and I wanted to set it up so I could remote into it from my windows desktop. I've installed XRDP, but when I attempt to login using ...
-1
votes
1answer
276 views

How to read the route table?

Host: win8 ip: 192.168.1.102 Virtual Machina: gentoo ip:192.168.1.108 I type the command route -n to see the route table. The route table is : root@gentoo-jl ~ # route -n Kernel IP routing ...
0
votes
4answers
116 views

Partitioning a Linux based system

I am using Linux Mandriva OS. During installation my friend suggested 2GB for the swap partition and the remainder as the root partition. What is the use of providing a separate space for root? ...
1
vote
1answer
685 views

How Do I Get Dual Monitors To Work in Slackware 14 using XFCE?

Just installed Slackware 14 and using KDE both monitors work great. I can stretch the desktop across both monitors. However, if I startx using XFCE I can't seem to figure out how to configure the dual ...
1
vote
1answer
322 views

How can I create persistent symlinks to my other drive?

When I create soft links within my /home folder to my other hdd (sdb) they no longer work when I restart my system. Do I have to mount my hdd to say /mnt/sdb on boot?
2
votes
1answer
744 views

Creating a ssh tunnel to transfer files?

For me, networks are a very "opaque" thing, and even with reading a lot of tutorial about SSH, I do not understand how to create a basic tunnel to transfer my files. The configuration is the ...
-4
votes
1answer
117 views

How to create a single file archive of a huge directory of around 18 gb

I have a directory containing around 1800 files in a directory , the directory size is now around 18gb. I need to create a single archive of the directory in order to download the whole contents. I ...
0
votes
2answers
1k views

How to make daemon starts automatically? Ubuntu server 12.04

I have nginx and postgresql daemons installed. How can make them start automatically every time server is started? I think to add sudo service nginx start sudo service postgresql start to ...
1
vote
1answer
2k views

How to remove systemd services

If I install a new service then decide I don’t want that application anymore and delete it, the service is still listed in the output from systemctl as error. Where is this coming from and how can I ...
2
votes
2answers
87 views

Resize partitions after instalation

Is it safe to resize partitions (with gparted live) after successfull instalation dualboot w7-mint? I swapped partition size by mistake so I need to reduce win partition and enlarge mint part.
1
vote
2answers
652 views

How can I get the unique items in a bash list?

If I have a list in bash L="11 22 11 33 22 44" Is there a clean way to get to "11 22 33 44" ?
2
votes
4answers
2k views

Convert color photos of documents to good black-and-white (bitonal) images?

Since I don't have a copier or scanner, I'm using an 8 megapixel camera to copy documents. This works pretty well except they need a lot of processing afterward. I'd like to get from a photo to a ...
3
votes
4answers
2k views

Execute script before shutting down in Ubuntu

When I shut down my computer I want to show some pending tasks that I have to do before leaving the office. I have a local application to manage those tasks, so basically I just want to run a ...
0
votes
2answers
345 views

Map Linux drives to Windows 7 for media streaming over the internet

I'm trying to map a Linux network drive to my Windows 7 laptop, however this laptop is not on LAN. At home, I simply use Samba, but this obviously won't work over the internet. I'm trying to avoid ...
1
vote
2answers
399 views

How can I add a beep to ZSH's prompt?

I want to be notified when a job is done or something finishes in a terminal, and I read somewhere about adding a Bell to the command prompt, and then turning on urgentOnBell. But I can't figure out ...
0
votes
2answers
391 views

Strange characters in Linux console

I don't know how I've exactly managed to do this, but when I now invoke some commands (like man man or less) I see strange ESC[1 characters on the screen. It looks like this: The interesting part ...
0
votes
1answer
101 views

Installing Linux from an external card reader

I have this problem. I was experimenting if I could use a memory card (SDHC) as an USB drive for all intents and purposes, and when I put the card in an USB card reader, I can use it just like a ...
0
votes
1answer
234 views

Again, how can I get the data sent to printer by attaching linux pc to the printer side of the wire, hen print it somewhere else?

The similar question was asked by davidb, however the circumstances are different. I have a device with the 9-pin RS-232 port and an ancient printer connected to that device. I need to replace the ...
1
vote
1answer
344 views

After a partial update of Ubuntu 12.04LTS, the system is now un-bootable

I just upgraded to version Ubuntu 12.04 LTS and everything was fine until the restart and entered the grub. I give the first option to enter the menu and I get a screen with two errors that would be ...
1
vote
1answer
176 views

Ubuntu / linux - Set permissions recursively through a folder where files/dirs have certain permissions

My title probably sounds more cryptic than it needs to. I'm using ubuntu 12.04 and want to be able to change permissions on files and folders recursively to 755 but only where the permissions are ...
0
votes
2answers
126 views

How to get ~/foo from /home/user1/foo?

The Bash prompt supports the \w escape sequence, documented as \w the current working directory, with $HOME abbreviated with a tilde (uses the value of the PROMPT_DIRTRIM variable) Is ...
0
votes
2answers
498 views

Error while compiling Cuda Accelerated Linpack hpl_2.0_FERMI

I use Ubuntu 11.04 x86_64 CUDA 4.0 OpenMpi 1.4stable MKL When I compile, I get this error: ar r -L/home/limksadmin/hpl-2.0_FERMI_v13/lib/CUDA/libhpl.a HPL_dlacpy.o HPL_dlatcpy.o ...
-1
votes
1answer
458 views

change owner/uid of mount point upon mount

The scenario is like this. Bob has a computer. It crashed. Now he only has the hdd. The hdd is in ext3 format. He go to his office and told the sys admin John to mount this hdd and put the mount point ...
2
votes
2answers
1k views

In Linux, how to unzip RAR archive containing files with Chinese file names?

How to unrar a RAR archive containing files with Chinese file names? When I try to do it in Ubuntu 11.10 using the default program Archive Manager, it complains it can't do with the Chinese file ...
0
votes
2answers
263 views

File doesn't exist in Linux although it's located in Terminal

I'm a bit new to unix/linux environment, but I have a small problem. I'm using "locate" to find the path of a file I need, it gives me the path for it, but the file doesn't exist in that path, like ...
0
votes
1answer
219 views

script to convert GB to TB

I have (multiple) files like below list. Few of them has both the values in TB and couple of files in GB. Now if you clearly see the file output there are two rows with Total capacity and Capacity ...
1
vote
2answers
184 views

LVM without stripe

I want to use LVM to have a partition that spans over multiple drives. I know that there is a down side in that if one drive fails all the data in the array is lost. Is it possible to have LVM not ...
0
votes
0answers
159 views

Linux Ubuntu, no response from default gateway

I have a wireless router with WPA. I manage to connect to the network, but I have no connectivity to the Internet and when I ping the default gateway, I do not get a reply. I also have access to an ...
0
votes
1answer
226 views

Why is mkdir failing to make directories?

I've got a script which calls "mkdir" like this: mkdir -p dir0/dir1 dir0/dir1/dir2.0 dir0/dir1/dir2.1 dir0/dir1/dir2.2 It is run on a very heavily loaded NFS server over NFS3 and about half the ...
3
votes
1answer
65 views

Rsync with a little twist?

I have 3 drives. For this purpose, we will call them A, B and C respectively. A is 2 TB B is 1 TB C is 500 GB I have already run rsync -avz -progress A B Now B is full and I want to move/copy ...