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

1
vote
1answer
381 views

Fedora 15 - Limited RAM Access

I have an issue with Fedora 15's available memory. The laptop it is installed on has 4GB of SDRAM, but Fedora only sees 2GB. [njozwiak@calvin xpmc6720]$ free -m total used ...
0
votes
1answer
634 views

VirtualBox guest hangs when starting vbox additions

I have a Fedora 14. I installed the Ubuntu 11.04 i386 mini.iso in Virtualbox. After install when I reboot it, and wanted to start it: it just hangs...for minutes... what can I do?
1
vote
4answers
4k views

cfgmgr like command under Linux?

cfgmgr is a command under AIX/ksh that checks for new hardware; e.g. new HDD's that have been added without a shutdown. Question: Are there any similar commands under Linux? If "fdisk -l" doesn't ...
6
votes
3answers
6k views

How can I make a bootable usb flashdrive?

Can I just dd an Ubuntu 11.04 mini.iso to an usb flashdrive an boot from it? or what am I missing?
1
vote
3answers
105 views

Check that there was an error one-liner in script

I want to put an error checking solution to my script, it looks like this: ! [ `echo $?` != 0 ] || echo "omg, st went wrong, CTRL+C? `read`" My goal is when this line runs it check the "$?" - if ...
1
vote
1answer
398 views

Issues compiling Tanuki Java Service wrapper version 3.1.2 under armv5tel architecture

Basically I need this specific version of the Tanuki Java Service Wrapper to run a specific Java application. I downloaded the source from the Tanuki website and I'm trying to compile it from source. ...
2
votes
1answer
819 views

How can I encrypt a device with loop-aes under Linux?

Using Fedora/Ubuntu, how can I do it?
33
votes
2answers
12k views

What is this new /run filesystem?

I just ran df -h a minute ago and noticed a filesystem has been added that I'm not familiar with. Does anyone know why /run exists? Is this something that's been added by the kernel? By Arch Linux? ...
18
votes
7answers
64k views

Show top five CPU consuming processes with `ps`

How to show top five CPU consuming processes with ps?
6
votes
3answers
3k views

How to map ataX.0 identifiers in kern.log error messages to actual /dev/sdY devices?

Consider following kern.log snippet: ata4.00: failed command: WRITE FPDMA QUEUED ata4.00: cmd 61/00:78:40:1e:6c/04:00:f0:00:00/40 tag 15 ncq 524288 out res ...
1
vote
1answer
353 views

What encryption to use for good performance?

I will install Ubuntu 11.04 to an encrypted VolumeGroup with the installer: http://i.stack.imgur.com/Skil9.png AES Blowfish Serpent Which one is the fastest from these 3? Or Using AES with only a ...
16
votes
4answers
17k views

sending text input to a detached screen

I'm trying to run a minecraft server on my unRAID server. The server will run in the shell, and then sit there waiting for input. To stop it, I need to type 'stop' and press enter, and then it'll ...
2
votes
3answers
206 views

What are my choices when I want to convert DVD format to AVI under Linux?

What software is out there there to help me convert to AVI from DVD?
5
votes
1answer
9k views

How to check that perf events are enabled in Linux kernel, and how to install perf userland as non-root?

From what I have checked it looks like kernel side of 'perf' subsystem is enabled on computer I work on. Checking kernel configuration shows the following $ zgrep "_PERF[_= ]" /proc/config.gz ...
1
vote
1answer
2k views

Esker ActiveX Plug-in for Firefox under Linux?

I have installed the windows version of Firefox with winetricks under Fedora, hurrah! I heard that there is an Esker ActiveX Plug-in for Firefox, but I can't find it. I need it for visiting a website ...
1
vote
3answers
1k views

minimal install, still want gnome!

I'm at the stage of the install of Fedora 15 where I choose what software to install. I want less so I'm going for "minimal" and "Customize now". What do I need to tick to get the machine to boot ...
3
votes
1answer
113 views

Is there a way to tell which file (script, specifically) executed a command?

I'm running Slackware 13.37, and I was wondering if there was a way to tell which script executed a command. I tracked the process and its arguments, but I would like to know where the command ...
5
votes
3answers
1k views

Can't access USB HDD

I just bought a WD 1TB Caviar Blue drive, and a Bytecc HD-35SU enclosure for it. Snapped the drive in, went to plug it in on my laptop, nothing happened. I figured that probably meant I needed to ...
5
votes
2answers
79 views

Making a duplicate of a path in Unix

My Unix vocabulary is failing me. I have 5 billion images in /foo/live/images. For the purposes of developing a new version of the app I'd like to make /foo/dev/images into a working path without ...
-1
votes
1answer
1k views

Gifsicle on CentOS? x86_64

I am trying to install Gifsicle on my server which is CentOS x86_64. I do not know which package to use or how to install it. Can someone with experience help me out? http://www.lcdf.org/gifsicle/
2
votes
1answer
368 views

Packaging Google Chrome and Flash into a Linux Distro? [closed]

I've been working on a Linux distro based on Arch, and I want to include Google Chrome and Adobe's Flash Plugin. Can I get in trouble with Google or Adobe if I pre-install both of those pieces of ...
14
votes
4answers
5k views

Wipe last 1MB of a Hard drive

Is there an easy command that I can use to zero out the last 1MB of a hard drive? For the start of the drive I would dd if=/dev/zero of=/dev/sdx bs=1M count=1. The seek option for dd looks ...
1
vote
1answer
776 views

Find server with small ping latency (my script, but can anyone write it in e.g.: Perl?) [closed]

I want to download OpenBSD with FTP with a script, and I want to download it from a server that is near me. So I want to choose a mirror that has low "ping latency". I wrote a little script, that ...
3
votes
1answer
245 views

Find creator of resource in X [duplicate]

Possible Duplicate: What process created this X11 window? Recently I've been bugged by a mysterious invisible window in X on my Ubuntu machine. It takes the form of an always-top-most ...
2
votes
2answers
456 views

Need for thread_info structure in Linux 2.6 Kernel

Prior to the Linux 2.6 kernel, struct task_struct was present at the end of the kernel stack of each process. There was no thread_info struct concept. But in Linux 2.6 kernel, instead of task_struct ...
15
votes
6answers
16k views

Execute a specific command in a given directory without cd'ing to it?

Is there a way to execute a command in a different directory without having to cd to it? I know that I could simply cd in and cd out, but I'm just interested in the possibilities of forgoing the extra ...
2
votes
4answers
6k views

How do I run uTorrent?

I just downloaded the uTorrent archive from their website and unpacked it. Inside were: docs utserver webui.zip utserver is an executable, so I'm guessing that's what I'm supposed to run, but when ...
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
231 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
862 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
18k 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
637 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
661 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
827 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
985 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
852 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
628 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
519 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 ...