Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

7
votes
3answers
8k views

How do I connect a serial terminal to a KVM instance?

Perhaps I'm misunderstanding what KVM is capable of, but the ability to add/remove hardware on the VM seems to imply I can add a serial port that then acts as a terminal. So, my questions are: ...
43
votes
11answers
19k views

Recommended reading to better understand Unix/Linux internals [closed]

I've worked on *nix environments for the last four years as a application developer (mostly in C). Please suggest some books/blogs etc. for improving my *nix internals knowledge.
22
votes
3answers
2k views

How can I set the processor affinity of a process on Linux?

The question is all in the title: How can I set the processor affinity of a process on Linux?
5
votes
3answers
249 views

RAID 1 in linux

I'd like to setup RAID 1 with two drives in linux. I don't have a hardware RAID controller and don't want to buy one, so what is the best software RAID option for linux? Note: If it makes a ...
5
votes
1answer
408 views

How can I setup Apache on Linux to stream WMV-HD to Xbox 360?

What I am looking for is a free and open source solution. If the distro I use matters, it is Open SUSE. VLC supports only WMV1&2.
10
votes
5answers
15k views

Stop program running at startup in Linux

How do I stop a program running at startup in Linux. I want to remove some apps from startup to allow them to be managed by supervisord e.g apache2
26
votes
12answers
3k views

How can I tweak my Linux desktop to be more responsive?

I have the experience that Linux works fine until the physical memory is exhausted. As soon as swap space is used the performance is severely degraded and the GUI becomes unresponsive. This problem ...
14
votes
6answers
6k views

What's the best way to partition your drive?

I usually install Linux on a single partition since I only use it as a personal desktop. However, every now and then I reinstall the box. And what I do is to simply move my files around with an ...
8
votes
5answers
2k views

On Linux, is there an rc.local equivalent for shutdown?

I've got a few commands that I run in rc.local so they are run last in the startup sequence. I would like to know if there is a similar facility for undoing the results of those commands at shutdown, ...
22
votes
7answers
5k views

How can I use DD to migrate data from an old drive to a new drive?

I am upgrading the internal SATA hard drive on my laptop from a 40G drive to a 160G drive. I have a Linux/Ubuntu desktop which has a SATA card. I would actually like to do the same thing for a couple ...
10
votes
5answers
16k views

Which cell phones run Linux?

I know of the FreeRunner, but are there any other Linux cell phones out there? Are they any good?
10
votes
4answers
1k views

What makes a portable mp3 player work well with Linux?

I'm in the market for a new portable mp3-player, and will be connecting it mostly to a Linux box, but occasionally to a Windows Vista machine as well. I'm wondering what qualities I should be looking ...
5
votes
2answers
162 views

Sync Palm Centro pictures on Linux

I have a Palm Centro, and I'd like to copy the pictures to my computer. However, I'm using Ubuntu, and I don't want to switch to Windows or use Palm's horrible sync application (through Wine.) Is ...
7
votes
5answers
17k views

DNS queries not using nscd for caching

I'm trying to use nscd (Nameservices Cache Daemon) to cache DNS locally so I can stop using Bind to do it. I've gotten it started and ntpd seems to attempt to use it. But everything else for hosts ...
4
votes
1answer
2k views

Default username for Samba share that is not the user name on the client system

When mounting a Samba share the user name is defaulting to the user name from the client machine rather than the "User Name" field from the earlier "Connect to Server" dialogue. Accessing a Samba ...
6
votes
2answers
712 views

Font getting reset in virtual console on GNU/Linux

I have set a custom font on my virtual console (vt1) using the following command: shell> setfont ter-114f If I switch to X (using Ctrl+Alt+F7) and come back to the virtual console (using ...
6
votes
5answers
1k views

Why does locale es_MX work but not es?

Wikipedia entry for GNU gettext shows an example where the locale is just the lanuage, "fr". Whereas the 'i18n gettext() “hello world” example' in SO has the locale value with both the language and ...
51
votes
14answers
46k views

Determine the size of a block device

How can I find out the size of a block device, such as /dev/sda? Running ls -l gives no useful information.
11
votes
4answers
178 views

What is Linux for SET FILE/ERASE_ON_DELETE?

In VMS one may tell the file system to write junk over the existing contents of a file when it is deleted. Here is the DCL command to identify the file for this kind of treatment: $ SET ...
11
votes
2answers
2k views

Is it possible to simulate installation of Debian packages, still marking them installed?

Here's what I would like. Start with a virtual system with no installed packages. Then I invoke a tool similar to apt-get to ask it to compute the dependencies and mark all the packages that would be ...
8
votes
3answers
2k views

How should I configure grub for booting linux kernel from a USB hard drive?

I have a laptop hard drive in an external enclosure which I use as a large pendrive. For an added twist, I have installed Linux on it, so I can boot any machine with my distribution of choice (e.g. ...