Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

14
votes
1answer
1k views

Why does the file command say that ELF binaries are for Linux 2.6.9?

Whenever I run file on an ELF binary I get this output: [jonescb@localhost ~]$ file a.out a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked ...
3
votes
2answers
232 views

Linux axel write error

I was downloading a 4.0 GB file using axel. When it reached 98%, it displayed "Write Error". I still have 30+ GB of free disk space. I tried to run axel again, and got "Write Error" again. Here is ...
3
votes
1answer
870 views

Solution to get data from memory of a process

If I'm using Firefox and filling out a big form (with lots of text to write), and for some reason I accidentally press F5 and all my text in the forms is lost, I can use e.g. HxD on Windows to ...
41
votes
1answer
19k views

Kernel inotify watch limit reached

I'm currently facing a problem on a linux box where as root I have commands returning error because inotify watch limit has been reached. # tail -f /var/log/messages [...] tail: cannot watch ...
4
votes
1answer
1k views

Set up an access point

I have a laptop with an Atheros card and I want to use it as a wireless access point. I need an AP with WPA/WPA2 encryption for testing purposes; I don't need any routing functionality or anything ...
4
votes
1answer
2k views

How to properly prepare a server for power outages?

I have a personal Debian server set up, that I'm able to access in person and remotely, but normally I'm away from it and it's remote. It's on a battery-backup surge protector, but sometimes that ...
1
vote
3answers
5k views

sudo does not allow me to run cp

Executing the following command on a CentOS 5 box: $ sudo cp file1 file2 gives me the following error: Sorry user my_username is not allowed to execute '/bin/cp file1 file2' as root on ...
2
votes
1answer
421 views

Getting direct input from keyboard, ignoring X

I've made a hardware keylogger for PS/2 (it is connected between keyboard and PC) and it's storing keystrokes directly as keyboard is sending signals. When device dumps data to the computer, ...
2
votes
1answer
639 views

Xorg: two different libglx.so's with two different serverlayouts

I have an nvidia card for on monitor and a radeon (onboard) card for a second screen on Ubuntu 11.04. Would it be possible to have one serverlayout use the nvidia libglx.so and the second ...
2
votes
1answer
663 views

How to execute udhcpc as non-root

On a Linux machine, I am trying to run the udhcpc command as non-root. I am getting the error udhcpc: socket: Operation not permitted. Is there any way to execute udhcpc as a simple user in Linux?
1
vote
2answers
1k views

Is there a BASH command for copying all files from a directory tree and putting all the files in a single directory?

I have a ton of notes categorized into folders, but I think it might be better to put them all into one folder instead. Is there an easy way to do that?
3
votes
1answer
2k views

Multiple SSH chaining (tsocks, socksify, proxycommand, etc. )

http://i.stack.imgur.com/YTOvt.png Goal: you need to reach "Server B" from the Client "directly" with SSH, SCP. "Server B" is next to "Server A". E.g.: they're on the same subnet, but only "Server ...
4
votes
2answers
830 views

In linux console (no X), how to stretch console screen to fit monitor

Google could not help me with this problem. I hope you guys can. When I boot my computer, the first few screens presented to me by BIOS and boot menu are stretched to fit the LCD screen. Once Linux ...
6
votes
2answers
991 views

Configuring a vncserver so it's only accessible from my ssh tunnel

Since I use vnc through an ssh tunnel, is there any way I can block the open vnc port that the remote machine is listening on without it affecting my ability to use the ssh tunnel? Both machines are ...
2
votes
0answers
862 views

Linux kernel slab usage growing on embedded system

I'm in the process of QA/debugging a project on a custom embedded linux system. The problem we're VERY tight on memory, and even a couple megs can cause issues with our software. What I'm seeing ...
5
votes
3answers
630 views

Really light weight linux for VM no extensions

I need to host a ssh server on a x86-64 Debian squeeze machine with no VT-extensions :( I am using virtlib with qemu (set up and working). I have tried a number of things and non have been perfect, ...
5
votes
1answer
2k views

How do I configure setfont and loadkeys properly?

I'm installing LFS and I'm struggling with this section. My locale is sv_SE.UTF-8 and I have a Swedish keyboard. So I suppose I should enable unicode and that the keymap is sv-latin1: cat > ...
7
votes
1answer
4k views

Sound input issue with skype, selecting a microphone?

Ok, Skype yet again has issues with sound. This time, it is unable to record audio. The system is using PulseAudio and I am using a web cam as a microphone. Actually, I tried another web cam and ...
1
vote
2answers
520 views

DNSSEC in the root zone? How to use it?

I'm using Fedora for desktop use and I: yum -y install caching-nameserver service named restart chkconfig --level 5 named on on it, and set the nameserver to 127.0.0.1. If I: dig google.com | grep ...
5
votes
4answers
4k views

Detect if a (NTFS) drive is mounted or not. If not then mount it

I want to sync an USB drive with a folder located on a NTFS partition which is not mounted at boot time. I have found a command to do that: rsync -axu /media/USB/folder /home/user/folder. But I have ...
8
votes
3answers
6k views

how do I prevent Xorg using my Linux laptop's display panel?

I have a laptop (~5 year old HP compaq nc6400 running Fedora Linux) that I use most of the time as a desktop machine. It is plugged into a docking station with its lid closed and connected through ...
3
votes
3answers
971 views

openSUSE Linux Kiosk Setup

Working on setting up a kiosk with openSUSE, where users can only view a single webpage. Obviously open to any Linux distro. Also would prefer to use Gnome. I'm wanting only Firefox to be available ...
0
votes
1answer
4k views

how to Update gcc of OpenSuse 11.2?

I have OpenSuse 11.2 with gcc version 4.4.1. I would like to update my gcc version to 4.5.1. I have downloaded gcc-4.5-19.1.i586.rpm. When I rpm install it, it's asking for ...
6
votes
2answers
4k views

Are there any Linux distros currently using Wayland? [closed]

I know that Ubuntu is planning to use it in 11.10, and Fedora has announced 'eventual' migration, but I'm curious if there is something using it already that I could load in a VM to help with ...
5
votes
2answers
1k views

List unused module

Is it possible to list down unused modules? lsmod would only list down dependency by modules, right?
3
votes
3answers
8k views

Force telnet / ssh to use crtl-H for backspace

I have some devices connected to a Cisco serial term server; many work fine when I telnet directly to the port on the Cisco. However, I have a few stubborn devices that will not use Backspace as it ...
4
votes
3answers
2k views

How do I kill 1 gnome-terminal window?

Why in the world do all my gnome terminals run under 1 process in Ubuntu? This is integrating things that should remain separated! I much prefer xterm's rational mode of running one process per ...
0
votes
2answers
510 views

Is the VG encrypted with dm_crypt OR luks? How to find out?

A system is installed with an encrypted VG. How can I find out if they used dm_crypt or luks? It's running Fedora 14, so I think it's one of those. Or are they the same thing?
2
votes
1answer
47 views

Explain the output of -D rates in GNU find

I did ~/pythonsource1/python2.6-2.6.5$ find -D rates . -type d and got Predicate success rates after completion: [need type] -type d [0.4] [280/4350=0.0643678] -a [0.4] [280/4350=0.0643678] ...
5
votes
2answers
2k views

Why can't I pgrep a process?

$ ps aux | grep -i ssh USER 4364 0.0 0.0 9004 1032 ? Ss 12:20 0:00 ssh -v -fND localhost:4000 USERNAME@SERVER-IP-ADDRESS $ pgrep localhost:4000 Why doesn't this work?
-1
votes
3answers
107 views

Does PGPDesktop supports OpenBSD or e.g. Fedora?

Does PGPDesktop support OpenBSD or e.g. Fedora, or can I only encrypt my whole hard drive when I use Windows?
5
votes
3answers
2k views

How to add packages onto a Fedora live USB

I want to create Fedora 14 live CD with additional packages. How to do it?
3
votes
1answer
421 views

Upgrading I2C client drivers to the newer binding model

I am trying to port some I2C device drivers I wrote for an other kernel to work with the newer I2C binding model. The kernel documentation goes through the steps of doing this: ...
16
votes
1answer
6k views

init process: ancestor of all processes?

I have always learned that the init process is the ancestor of all processes. Why does process 2 have a PPID of 0? $ ps -ef | head -n 3 UID PID PPID C STIME TTY TIME CMD root ...
2
votes
1answer
622 views

KVM with directory rootfs

I'm currently working on an embedded system design and my test development machine is currently a VM running in KVM. Is it possible to have KVM mount a directory (like a chroot) and use that as the ...
5
votes
2answers
808 views

Proprietary or Closed Parts of the Kernel

I've heard of lines of code that are distributed with the Linux Kernel that aren't open. Maybe some drivers or something like that. I'd like to know how much of that is true? Are there lines of code ...
7
votes
1answer
305 views

in zsh, how do I hide the backslashes in the completion menu

On Mac OS X 10.6, zsh. I have set in .zshrc: setopt automenu …to get a completion menu below the prompt. When I type: cd <TAB> I see a completion menu with all directories that have spaces ...
1
vote
1answer
764 views

why is this init.d-script not being executed at system reboot?

I have a selfmade init.d script on a Linux box that worked fine with Debian 4 and Debian 5 but with Debian 6 (fresh install) it gets only executed at system boot but not before rebooting. The script ...
1
vote
1answer
2k views

How to run command at startup in linux? [duplicate]

Possible Duplicate: Bash Script on Startup? (Linux) I want to run some commands at boot time.
11
votes
4answers
4k views

Batch delete exif info

How can I recursively remove the EXIF info from several thousand JPG files?
1
vote
3answers
734 views

How to set Internet Protocol properties using terminal?

When I set up a Virtual Machine with windows (using VMPlayer), I set the Network Connection properties from the VM settings from NAT to bridged. Then I proceed to set the following IP Properties in ...
3
votes
2answers
1k views

How many files can be saved in one directory on Linux? [duplicate]

Possible Duplicate: Number of files per directory I need to save 1 milion static html files in one directory as there is not possible to group the files into the directories (all files must ...
3
votes
4answers
4k views

setpci - Making a script to manually change brightness

I can use something like setpci -s 00:02.0 F4.B=XX replacing 00:02.0 with your device address (obtained via lspci | grep VGA) and XX with a value between 00 and FF (FF = 100%, 7F = 50%, etc...) to ...
1
vote
1answer
999 views

OpenGL in Fedora as a VMWare guest under Windows 7

I installed Fedora 14 (64-bit) on a Windows 7 64 bits system, as a guest in VMWare. I can't use OpenGL support, Compiz and other openGL programs do not work. I searched on Google; I found solutions if ...
3
votes
1answer
400 views

What's an easy way to see whether a mount point has been made shared?

mount has an option --make-shared as described here. However, how do I find out if a particular mount point has been made shared?
3
votes
1answer
1k views

Does ie4linux work under Fedora?

I'm trying to install ie4linux, following this tutorial root yum install wine cabextract normal user wget -q http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz tar xfz ...
12
votes
3answers
646 views

Why do we need the reboot function in different binaries?

Why do we need the reboot function in different binaries? shutdown -r and reboot Or do they differ in something?
1
vote
1answer
200 views

Mass update of /etc/ldap.secret

I have a group of servers authenticating against an LDAP server. I would like to be able to periodically update the /etc/ldap.secret file with an updated secret. I've written a small script that reads ...
6
votes
2answers
24k views

Format of /etc/hosts on Linux (different from Windows?)

Pasted below this question is a sample of a /etc/hosts file from a Linux (CentOS) and a Windows machine. The Linux file has two tabbed entries after the IP address (that is localhost.localdomain ...
5
votes
1answer
119 views

Search for a text in Linux but don't display the complete line in results

I'm using grep to do this, like: grep someText file.log But this returns the complete line in results. If someText is found in the middle of a line I don't want to ouput the whole line, just the ...