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

3
votes
3answers
2k views

Using bridge utils to connect two computers via Linux

I have been using bridge utils previously to connect my network connected computers to a single interface on my Linux computer. The problem I'm having is when I installed a new Linux (with Slackware) ...
15
votes
10answers
5k views

What is the smallest possible Linux implementation?

What are the bare minimum components for a Linux OS to be functional, and that I can use as a base to expand and improve as I learn Linux and my understanding and needs grow?
1
vote
3answers
1k views

What libraries are there for reading/editing ID3s of mp3?

I think the title says it all. I need a library to allow me to read and edit ID3 Tags from C++ in Linux. Suggestions?
3
votes
2answers
521 views

Will enabling Hyper-Threading create two virtual half-speed processors?

If I enable Hyper-Threading for my netbook which has an Intel Atom (1.6 GHz) will the kernel see two virtual 800 MHz processors?
16
votes
5answers
11k views

Using different versions of Python

Background: Since I develop python programs that must run on different python versions, I have installed different versions of python on my computer. I am using FC 13 so it came with python 2.6 ...
2
votes
3answers
210 views

archive files and directories before transfer

I was wondering what is the advantage of making all the files and directories into an archive file for transfer, such as by cpio, instead of transferring them directly, such as by cp, scp?
33
votes
2answers
48k views

timestamp, modification time, and created time of a file

I just know that ls -t and ls -f give different sorting of files and subdirectories under a directory. What are the differences between timestamp, modification time, and created time of a file? How ...
9
votes
5answers
4k views

How to create a file even root user can't delete it

How to create a file even root user can't delete it ?
3
votes
1answer
2k views

Connect Windows printer to Linux machine via samba

How can I connect my Windows printer to a Linux (RHEL5) box via samba? I'm looking for a clear configuration file
4
votes
2answers
3k views

Names for ATA and SATA disks in Linux

Assume that we have two disks, one master SATA and one master ATA. How will they show up in /dev?
20
votes
4answers
11k views

Resume transfer of a single file by rsync

In Ubuntu, I want to copy a big file from my hard drive to a removable drive by rsync. For some other reason, the operation cannot complete in a single run. So I am trying to figure out how to use ...
11
votes
2answers
2k views

How to rip scratched audio cds?

What is currently the best way to rip scratched audio cds under Linux? What I find complicated, is that there are several tools available but it is not clear if one tool has better error correction ...
2
votes
5answers
6k views

How to install Linux on a Lenovo ThinkPad T400

I want to completely format my computer and replace my current OS with Linux. How should I go about doing this? Particularly, how do I handle finding all the device drivers I'll need? I'm using a ...
4
votes
2answers
869 views

Why is my hostname different in Emacs?

So I changed the name of my computer recently, by editing /etc/hostname. The bash prompt is user@name, so I know it has worked. But in emacs, in the window bar it says emacs@name.tiscali.co.uk. ...
5
votes
2answers
1k views

NFSv3 with Kerberos “unmatched host” error

I've setup NFSv4 using Kerberos (works great), but now I need to add NFSv3 with Kerberos. When trying to mount the NFSv3 export, I get a permission needed error on the client and on the server the ...
7
votes
2answers
682 views

How to disable system beep for non-privileged user

How to disable system beep on Linux? I don't have superuser powers so I cannot recompile kernel/unload module.
5
votes
2answers
786 views

Linux Distro specifically for benchmarking?

At my current position, we use some outdated proprietary software in order to benchmark new computers that the company is testing and evaluating for purchase. We would like to move on to something ...
7
votes
5answers
25k views

Program for decrypt linux shadow file

Is there any program or script available for decrypt Linux shadow file ?
3
votes
5answers
257 views

all media converter

do you know something which is able to convert almost all media types? from flv to music to wav to mp3?
0
votes
1answer
447 views

Reseting USB for scanner

This is a question on:superuser, since one reply suggested I ask here... My distro does not yet have a backend for my scanner, but the last release of SANE does. So I downloaded the source and ...
9
votes
3answers
645 views

User-local package management system

I need to deploy, manage and run software as a non-privileged user in SuSE (that is, no root access whatsoever, can't use system's package management, etc). What are my options? I'd prefer reusing ...
1
vote
3answers
345 views

How to implement conditional update of deb package

I am creating a deb package of a product which is part open source and part proprietary. In order to reuse the built in functionality of some distributions like Ubuntu to monitor a list of ...
14
votes
5answers
5k views

Getting information on a machine's hardware in Linux

How can I check what hardware I have? (With BIOS version etc.)
1
vote
1answer
185 views

Why am I getting a “Cannot revert to safe mode” error whenever I try to run a game?

I'm using internal VGA these days and I've got a problem: I can't run any games. I always get this errors: --------- [Loading Renderer] --------- Initializing OpenGL display ...setting fullscreen ...
5
votes
4answers
336 views

Is it possible to use pendrive as key for Linux system

I want to give high security for my linux box. So i planed to use my pen drive as key for my linux box. How can i do it ?
1
vote
1answer
1k views

How to reset Linux root and grub passwords?

If we forget our Linux root password, we can change it by changing grub's boot options. But in this case, we also set a grub password and forgot both passwords. How can we recover both?
3
votes
2answers
941 views

How can I simulate keyboard shortcuts in a bash alias?

For example, one of my bash aliases is this alias p='clear;ls -lt;pwd;' clear also clears the history which I don't want. I just want to clear the screen momentarily. Ctrl+L however does exactly ...
3
votes
1answer
2k views

initramfs image compression other than gzip

can the initramfs image be compressed by a method other than gzip, such as lzma?
10
votes
3answers
8k views

copy recursively except hidden directory

How do I copy recursively like cp -rf *, but excluding hidden directories (directories starting with .) and their contents?
20
votes
3answers
6k views

Why does Linux use a swap partition rather than a file?

It seems to me a swap file is more flexible.
4
votes
3answers
266 views

Randomise or shred memory of an application

Is it possible to randomise or shred memory of a particular application just after its life ends, or better, whenever it deallocates some memory? A command-line utility like this would be perfect: ...
7
votes
3answers
2k views

Is there something that will generate keyboard's click sounds?

I miss using a clicky keyboard at work. It's a fairly quiet office, so I'm stuck using a nearly silent keyboard. The upshot is that I can wear headphones. Is there something in Linux or X that can ...
1
vote
1answer
624 views

Enable running mono apps by double-clicking on the .exe file

I always wondered if running Mono apps will ever be available for Linux by just double clicking on the .exe. Now, in order to have a launcher on GNOME, the best way is to add a new bash file which ...
4
votes
2answers
328 views

Databases for embedded Linux?

I need to choose a database for an application on an embedded linux platform. Any suggestions on which databases are typically used with embedded linux? Please let me know. Regards Radha.
10
votes
1answer
1k views

Permission bits not being enforced on samba share

I have a problem where permission bits are not being enforced on a samba share using a Linux client. I have samba configured on the server to force a certain user, group and permission bits and this ...
1
vote
1answer
341 views

QLogic 42C1831 HBA drivers on RHEL 4.8? Using Kernel 2.6.x

We're trying to get a QLogic 42C1831 HBA installed on a system using RHEL 4.8. We've tried the drivers from QLogic for Linux Kernel 2.6.x (which this system is running) and are getting all sorts of ...
1
vote
1answer
363 views

How to turn off Nautilus autoplay under KDE?

Does anyone have an idea why when I insert a CD/DVD/flash nautilus opens as a default file manager under KDE instead of dolphin krusader? In my system settings krusader is set as the default manager, ...
1
vote
1answer
497 views

Unexplained Log Cruft and Possible Dropped Packets on WPA2-Personal LAN

I've been receiving a LOT of log cruft ever since I installed my Linksys Rangeplus USB WUSB100v2 (using the rt2870sta community driver from the Linux kernel) and was wondering what it all meant. Many ...
10
votes
9answers
6k views

How to flash firmware under Linux in practice?

Well, I am feeling too old for jumping through several burning hoops to upgrade several firmwares via the usual vendor-specific way: Download some DOS tools, waste some time creating a (Free-)DOS boot ...
3
votes
2answers
422 views

Straightforward system and file backup/restore for Linux?

After using an Ubuntu virtual machine for a while, I think I am ready to get a real, physical machine and use Ubuntu on it. Since I am still relatively new to the Linux world, is there a reliable ...
8
votes
3answers
4k views

How do I make my disk unmap pending unreadable sectors

I have a disk with some pending unreadable sectors, according to smartd. What would be the easiest way to make the disk remap them and stop smartd from complaining? Today, I get two of these every ...
13
votes
1answer
8k views

What does libgcc_s.so contain?

I tried running objdump on the lib to figure it out without success. Is there a way to find out what a library does?
3
votes
3answers
1k views

Is there a linux vfs tool that allows bind a directory in different location (like mount --bind) in user space?

For a user process, I want to mount a directory in other location but in user space without root privilieges. Something like mount --bind /origin /dest, but with a vfs wrapper. Like a usermode ...
0
votes
0answers
113 views

resource for understanding the kernel and drivers [duplicate]

Possible Duplicate: Linux Kernel: Good beginners' tutorial What resources are available if I wanted to develop, change and understand device drivers.
3
votes
2answers
752 views

Debian Lenny: Want Splashy to start directly after Grub2

I'm running a GNU/Linux Debian Lenny with an 2.6.26-2-686 kernel. I installed splashy for a bootsplash an updated grub to version 2. Now I want splashy to start directly after the user has selected a ...
2
votes
1answer
952 views

linux static compilation issue

I am building testdisk as static and when i run make static i am getting the following error /usr/bin/ld: cannot find -luuid collect2: ld returned 1 exit status what's the problem? ...
15
votes
3answers
5k views

How to fix Ctrl + arrows in Vim?

I am using Putty -> Suse box -> vim 7.2 combo for editing and want to remap Ctrl + arrows combo to a particular task. But for some reason, Vim ignores the shortcut and goes into insert mode and ...
6
votes
1answer
4k views

How can i know which unistd.h file is loaded?

I have several unistd.h files in my Ubuntu Linux. I've one on: /usr/include/asm/unistd.h This file has this directives: # ifdef __i386__ # include "unistd_32.h" # else # include "unistd_64.h" # ...
12
votes
2answers
3k views

games directory?

On a standard filesystem, we have: /usr/games /usr/lib/games /usr/local/games /usr/share/games /var/games /var/lib/games Is this a joke, or is there some history behind this? What is it for? Why do ...
6
votes
2answers
1k views

Invoke Syscalls from Java

Is there a way to invoke syscalls directly from Java, or is it necessary to first call a native method?