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

2
votes
1answer
174 views

Which Grub to use for a custom portable boot image?

I would like to make a bootable USB/Floopy/LiveCD with linux kernel and Grub. After booting to that USB/Floopy/LiveCD using VirtualBox or directly, it will show my own customized Grub screen and then ...
5
votes
2answers
274 views

Can I set a gnome keyboard shortcut to be a prefix key, like in emacs, tmux or screen?

I would like to setup some Gnome keyboard shortcuts to be a prefix-key, so that I can add several shortcuts with the same prefix. Eg. I'd like to be able to have Super+x be a prefix key, with the ...
0
votes
1answer
286 views

How to test the difference between using disk encryption or not?

If I have a laptop, and I want to install an Ubuntu 11.04 on it, but disk performance would be an important thing, then how could I test the real differences between: - not using encryption - ...
5
votes
2answers
2k views

VPN like solution for SSH Tunneling?

Socksify like program for Fedora? Socksify, tsocks, proxycommand in ssh, they're great softwares/solutions that can be used to "constrain" given apps to use a SOCKS5 proxy (what was created with an ...
-1
votes
1answer
585 views

What is a cheap Citrix XenServer build?

Was wondering if anyone knew of a cheap XenServer build. Want to build two hypervisors using Citrix XenServer (based on open source Xen project). I was hoping for at least 8gb of ram on each and ...
3
votes
2answers
336 views

find out the culprit process

This is rather a basic linux administration question. We have a CentOS linux machine running a production application. There are 10 application specific processes running on that machine. Once in ...
0
votes
1answer
578 views

In my Dell R310 server, i would like to install CentOS, but for RAID1 what special care i need?

I have my Dell R310 server to install CentOS latest version, it has 2 hot plug disk drive, about 250GB of each. - But i need to install RAID1 on it. My question is for RAID1 installation with ...
1
vote
2answers
3k views

ethernet not found- load module into linux kernel?

We got a new server at work and I installed harddrive from the old system. Ubuntu 8.04 boots up just fine. The only problem is: $ifup eth0 device not found $lspci Ethernet Controller Intel ...
7
votes
1answer
3k views

Do I need root (admin) permissions to run userspace 'perf' tool? (perf events are enabled in Linux kernel)

Do I need to have to run perf userspace tool as system administrator (root), or can I run it (or at least some subcommands) as an ordinary user?
4
votes
4answers
4k views

Which live USB distribution offers selective persistence?

I'm looking for a live USB Linux distribution that would offer semi-persistent functionality. What I mean by that - normally the system should work in a non-persistent mode (read-only) and no writes ...
1
vote
1answer
807 views

How to upgrade application to the latest version using yum in Fedora?

I have Fedora 15, and Gnome 3. But i would like to update to the latest version of Gnome 3 (where i have 3.0.1 always). For some error reason i must need to upgrade to Gnome 3.0.3 How do we update ...
18
votes
6answers
3k views

Why do most linux distros default gnome? [closed]

Why the default desktop environment of most popular linux distros is gnome? KDE seems to me an equally good desktop environment. Is it for licence reason? historic? or else?
10
votes
2answers
4k views

real memory usage

if I understand correctly, in the following output produced by free, 3535m is the actual free memory available to applications, only 413m is used, is this correct? need some clarification on the ...
15
votes
4answers
13k views

How to check that AES-NI is supported by my CPU?

Howcan I check if my CPU supports the AES-NI instruction set under Linux/UNIX.
12
votes
1answer
17k views

What is kernel ip forwarding?

I have seen on many blogs, using this command to enable IP forwarding while using many network security/sniffing tools on linux echo 1 > /proc/sys/net/ipv4/ip_forward Can anyone explain me in ...
1
vote
1answer
3k views

Fedora 15 - Audio Configuration

I have a Macbook Pro 6,1 that I have dual booting OSX and now Fedora 15. I'm working on getting the audio working. In System Settings > Sound > Output there are two options for audio devices: High ...
1
vote
1answer
382 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
636 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
828 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
65k 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
354 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 ...
17
votes
4answers
18k 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
114 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
369 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
778 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
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
868 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 ...