Questions tagged [linux]

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.

Filter by
Sorted by
Tagged with
51
votes
4answers
39k 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 ...
15
votes
3answers
4k 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
11k 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 ...
6
votes
2answers
1k 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
2k 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 ...
10
votes
3answers
1k 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
2k 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 ...
10
votes
5answers
58k views

Program for decrypt linux shadow file

Is there any program or script available for decrypt Linux shadow file ?
3
votes
5answers
276 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
661 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 ...
10
votes
3answers
2k 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
449 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 ...
27
votes
6answers
26k 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
196 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 ...
6
votes
4answers
762 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 ?
2
votes
1answer
3k 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?
5
votes
2answers
2k 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 ...
5
votes
3answers
6k views

Can the initramfs image use a compression format other than gzip?

Can the initramfs image be compressed by a method other than gzip, such as lzma?
12
votes
3answers
14k views

copy recursively except hidden directory

How do I copy recursively like cp -rf *, but excluding hidden directories (directories starting with .) and their contents?
32
votes
5answers
13k 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
482 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: ...
15
votes
3answers
5k 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 ...
2
votes
1answer
1k 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 ...
5
votes
2answers
565 views

Databases for embedded Linux?

I need to choose a database for an application on an embedded linux platform.
12
votes
1answer
2k 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 ...
2
votes
1answer
380 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 ...
2
votes
1answer
398 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
549 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 ...
15
votes
9answers
20k 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 ...
4
votes
2answers
523 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 ...
10
votes
3answers
9k 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 ...
24
votes
1answer
24k 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?
7
votes
4answers
2k 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 fine-...
0
votes
0answers
122 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.
4
votes
2answers
869 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 ...
3
votes
1answer
1k 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? in ...
25
votes
4answers
16k 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 ...
10
votes
1answer
11k 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" # ...
28
votes
2answers
12k 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 ...
12
votes
2answers
6k 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?
9
votes
4answers
16k views

using cross-compiled Valgrind

I have downloaded the sources from the Valgrind trunk and built it for using on an embedded Linux system(Montavista Linux) powered by an ARM926(ARMv5t architecture). Everything went well until I tried ...
7
votes
1answer
980 views

Patching Linux kernel on-line (i.e. without rebooting)

Sorry - I don't remember the exact name. I know there is mechanism to patch the kernel at runtime by loading modules without need of the reboot as long as the structures involved are not affected. It ...
4
votes
2answers
1k views

Does the Linux PreemptRT patch benefit desktop users?

Does the PREEMPT_RT patch (real-time kernel) have any benefit for regular desktop users?
4
votes
1answer
458 views

Kernel memory allocator patch

Is there any patch for Linux kernel to use different memory allocators, such as ned allocator or TLSF allocator?
18
votes
6answers
14k views

Compiling GNU/Linux with -O3 optimization

It's said that compiling GNU tools and Linux kernel with -O3 gcc optimization option will produce weird and funky bugs. Is it true? Has anyone tried it or is it just a hoax?
8
votes
2answers
965 views

Good tutorial for setting up a KVM/Xen box and advice on which would be better

I've got a dual xeon, 2GB, 75GB hd server that I'd like to turn into my dedicated virtual environment. Currently I'm using VirtualBox locally to run a mock cluster for Cassandra and Nginx/Haproxy, ...
12
votes
4answers
27k views

What is sendmail referring to here?

When I install sendmail from the debian repos, I get the following output: Disabling HOST statistics file(/var/lib/sendmail/host_status). Creating /etc/mail/sendmail.cf... Creating /etc/mail/submit....
6
votes
6answers
17k views

Bash eval array variable name

Here is my bash case: First case, this is what I want to do "aliasing" var with myvarA: myvarA="variableA" varname="A" eval varAlias=\$"myvar"$varname echo $varAlias Second case for array variable ...
33
votes
11answers
37k views

Linux replacement for Apple Keynote slideshow software?

I am trying to migrate from Mac OS X to a Linux distribution, maybe/probably Ubuntu. One of my favorite applications for the Mac was Apple Keynote, which makes amazing sideshow presentations. Is ...
18
votes
5answers
7k views

Rock-stable filesystem for large files (backups) for linux

What filesystem would be best for backups? I'm interested primary in stability (especially uncorruptability of files during hard reboots etc.) but how efficiently it handles large (>5GB) files is also ...