4
votes
2answers
916 views

VM benchmark tools?

I would like to benchmark of few XEN-constallations: PV DomU HVM DomU with PV network and disk drivers HVM DomU with emulated IDE and PV network The base will be the same VM with the same ...
2
votes
2answers
1k views

How to make a mirror of Linux Mint package repository with debmirror?

I'm using Linux Mint 12 Lisa and for some reason want to have local packages repository. I've done local copies before on Ubuntu and it was easy. But unlike Ubuntu's archive.ubuntu.com, ...
2
votes
2answers
2k views

Is my USB hard disk dead?

My USB hard disk started to make some beep type of sound and then stopped working. I have to replug the hard disk to make it work again. After some time same sound is heard and again it stops ...
2
votes
2answers
616 views

Installing afpfs-ng from source

I want to install afpfs-ng to get access to an AFP share from my Mac. I am running Debian and am following instructions from http://unix.stackexchange.com/a/175/17242, and I get checking for a ...
3
votes
3answers
3k views

Black screen when installing Fedora 16

I have read many other threads here and elsewhere but found no solution... I'm trying to install Fedora 16 x86-64. At random points during installation I get black screens that do not go away. I ...
1
vote
0answers
1k views

Installation Error: Kernel Panic - not syncing

I have a machine with the following spec: CPU: Intel i7-2600S 2nd Gen Core 2.8GHz Low Voltage CPU 65W TDP RAM: 8GB DDR3 - 2 of these so I got 16GB of RAM. I want to install a Linux distribution and ...
4
votes
1answer
251 views

Mutt: can I define my own rules for quoted message detection?

I recently started using mutt with my gmail IMAP mail address. Because I loved it so much, I also set it up with my college email address. This, sadly, is hosted by the college ICT team under ...
1
vote
1answer
2k views

Activating Audio System in Arch Linux

I wanted to get the audio system going on Arch Linux, and I followed the very concise instruction I found on Archlinux.org, but it didn't help. Has anyone done this personally, therefore knowing the ...
18
votes
4answers
7k views

Four tasks in parallel… how do I do that?

I have a bunch of PNG images on a directory. I have an application called pngout that I run to compress these images. This application is called by a script I did. The problem is that this script does ...
1
vote
1answer
841 views

confusing about PSS in /proc/pid/maps

I found one great explanation about smaps from info about smaps To my understanding, I thought that shared_clean + shared_dirty + private_clean + private_dirty = rss I wrote a program to ...
2
votes
2answers
437 views

Regular expressions with ExpectJ

I've been used the ExpectJ Java library to automate some jobs on a Linux server, however now I need to automate a job that sends a different text response for each execution. Here is the output: Last ...
2
votes
2answers
739 views

PXE boot chaining to hardcoded TFTP server?

My existing network environment provides the following: DHCP server that sends PXE clients to a particular TFTP server TFTP server with SYSLINUX "pxelinux.0" file for booting The SYSLINUX ...
6
votes
1answer
316 views

ZSH host name completion behaviour change?

I have been using ZSH to do host name completion, and want to change the default behaviour. When I have multiple hosts with similar names, the completion does stuff that I don't care for. An example ...
3
votes
0answers
382 views

How do I change the icon size and padding in the Gnome 3 upper panel on Linux Mint 12?

I'm trying to personalize the desktop interface in Linux Mint 12 running Gnome 3. I just disabled the bottom panel and I changed the font in the upper panel. How do I change the upper panel's icon ...
2
votes
1answer
243 views

How to handle custom debian packages version numbers?

Let's take mplayer for example. I want to compile a new version and create a deb package to roll out to my developers. The version number is 2:1.0~rc3+svn20090426-1ubuntu16.1. I'm not making any ...
4
votes
3answers
647 views

Why is there a type for process ids (pid_t), but not for file descriptors (fd)?

I see that pid_t is typedef'd in unistd.h, and file descriptors are defined to be int in fcntl.h. But since they are used in similar ways, wouldn't it make sense to have a typedef for file ...
1
vote
2answers
589 views

Script that uses MySQL query to automatically remove output

I have this query that outputs updates older than 7 days from a database. How would I make a script that takes the MySQL statement and puts it into a script to be executed by cron. echo "select name, ...
11
votes
2answers
3k views

How can I manage puppet.conf with Puppet?

I use puppet to manage linux servers and various services. It works well, except for the puppet service itself. My puppet class is like this : class puppet { file { "/etc/puppet/puppet.conf": ...
3
votes
2answers
688 views

Lost window title bars and everything after selecting bad window theme in Linux Mint

I've selected a window theme from the "Advanced Settings" in Linux Mint 12 which seems to be corrupted and I've lost everything on my desktop. I can't start any applications but I can open the ...
0
votes
3answers
263 views

Am I in the right direction for a linux os?

I compiled the linux kernel by downloading it from kernel.org, put it on my desktop, and opened up terminal. I changed to the linux-3.2.13 folder, typed mr proper. Then I use "make menuconfig" to ...
2
votes
2answers
4k views

curl several files and save output in one file

I am using curl to grab the HTML of a website. I want to only grab the first 20 lines, and save this in an external file. I need to grab about 10 URLs, and want to save all of them in the same file. ...
3
votes
1answer
53 views

Compiling software with the same options as a previous install

I want to compile and install a software on a new VM. The software was installed successfully on a different VM by a different admin, but I want to duplicate the exact command with the options that he ...
3
votes
1answer
882 views

/sys/class/drm directory structure

Who is responsible for creating the "/sys/class/drm" directory structure, more specifically the "/sys/class/drm/card0-LVDS-1" directory? I am using kernel-2.6.38 and an nVidia card.
4
votes
2answers
382 views

Is there a way to lock terminal's title?

Sometimes there're lots of different sessions opened in own terminal's tabs and it's rather desirable to have theirs initial titles (named by session name) locked since local title tweaks make those ...
4
votes
1answer
688 views

Home key acting strange in bash (tty and X) on long input strings

When I hit Home if my current input is short enough (say, <36 characters), it works fine. However, when I've typed a longer command and then want to go back to the beginning, it seems like it does ...
3
votes
3answers
3k views

Cannot execute command at GNU screen startup

I want to do something similar to what's written here without using zsh (I use bash), but if I try to start screen with screen 'cd /home/cataldo/Programs' I get the following error: Cannot exec ...
30
votes
4answers
42k views

How to cut by tab character

I want to use cut command to break input into fields and get the second field. cut -f2 -d' ' <--- How can I tell it to use tab instead of space
1
vote
2answers
664 views

Adding an ip to a routing table

Is there any way I can add an ip to an interface , but interface route gets created on a routing table other than 'main' routing table in linux? For ex: If I add an IP 10.11.20.10/24 to eth0, it ...
2
votes
2answers
773 views

Creating recursively sorted RAR archive

For various reasons I decided to use RAR archive to store some data, instead compressed tar. Happy with decision, except for one thing: I can't find a way to store files sorted. Order of files is ...
3
votes
2answers
2k views

How can I force a bash loop to end if it runs x times in x seconds?

I'm trying to grab batches of input from a remote pipe via ssh. My script below works ok, but I would like to add some sort of check into it so that if something were to go wrong or break the loop ...
2
votes
0answers
1k views

Stuck at “Attached SCSI removable disk” trying to install Linux Mint

I bought a new laptop the other day, and now i'm trying to dual boot Linux Mint with Windows 7, which is already installed. I initially used UNetBootin to put the .iso onto a USB. Rebooted with the ...
2
votes
1answer
306 views

ZSH %m prompt escape not working as documented under Debian Linux

The zshmisc man page on my new Debian Squeeze install states, under SIMPLE PROMPT ESCAPES: %m The hostname up to the first `.'. An integer may follow the '%' to specify how many components of the ...
2
votes
1answer
3k views

Headless Debian Server + Windows Clients + X11 Forwarding

I have a headless debian server that I SSH into regularly. I want to know set it up so that users can ssh in and then run something like iceweasel, and a window will popup on their machine which is ...
2
votes
2answers
6k views

FTP over SSL in AIX (UNIX)

Folks over at SO couldn't answer this, so I am posting over here. I need to do an FTP over SSL to a FileZilla Server running on a Windows server from an AIX Unix clien. I have the Host name of the ...
2
votes
1answer
1k views

How do I restore default owner of files in /var/ directory?

Accidentally in /var/ directory I ran chown root . -R;chgrp root . -R. Now services like mysql don't start. Is there a way to restore default owner and groups? If there is no way, what is the default ...
21
votes
2answers
12k views

su vs sudo -s vs sudo bash

What is the difference between the following commands: su sudo -s sudo bash I know for su I need to know the root password, and for sudo I have to be in the sudoers file, but once executed what is ...
2
votes
1answer
115 views

Recompile Apache22 with threading seamlessly?

I just found out today that our apache installation was installed without threading support (we need this for mod_wsgi). Will the following in the apache22 ports folder reinstall our apache with ...
2
votes
1answer
281 views

How should I start X after ssh'ing into a remote box?

I am trying to syncronize my clipboard with a remote machine using XQuartz and xsel. It works, but only after I run an X windows program: connecting from Mac OS X with Quartz running and the ...
18
votes
7answers
46k views

What is the fastest way to view images from the terminal?

The terminal is very fast and convenient way to quickly access directories and files (faster than find and click on the directory). One thing that it cannot show in text-mode is "pictures". What ...
3
votes
1answer
158 views

In Emacs, editing C, sort-fields not working, or stating sole completion. Why?

In Emacs, editing C, and trying to execute sort-fields doesn't seem to be working. I enter M-x sort-fields after highlighting a region. At one point it was letting me pass a field number, but then ...
14
votes
1answer
8k views

ls taking long time in small directory

Running Ubuntu, I open a terminal and do sudo bash cd / ls | head -n 1000 And predictably about 20 directories are returned. However, if I do an ls, and don't pipe it into anything, the ls just ...
4
votes
1answer
4k views

Run xterm with login shell or not?

Per default xterm starts an interactive shell. But you can also configure it to start an interactive login-shell. That means that with starting an xterm you get the same kind of shell like logging in ...
1
vote
2answers
3k views

CentOS Apache virtual hosts sites-available type structure

I just set up LAMP on a new CentOS server. Previously when I installed LAMP on Ubuntu, I always needed to create a virtual host definition for each website I create in my /var/www directory. But on ...
1
vote
3answers
1k views

Combining Awk with Curl

How would I set my curl statement so that it puts the value of each $3 in for the username, and the value of each $4 for the wallclock information? Some further information I am trying to take the ...
4
votes
2answers
42k views

Host unreachable and I do not get why

I can not open a specific website. This is a website hosted by our company, and I know it is up. However, these are my symptoms: VARIABLES: host.com - the website I can not open x.x.x.x - the IP of ...
1
vote
2answers
134 views

Find all postgresql and mysql databases on a system

Is there a way to find all postgresql and mysql databases on my system? (Perhaps using the find command).
26
votes
1answer
37k views

How do you extract a single folder from a large tar.gz archive?

I am using this command on a 5GB archive tar -zxvf archive.tar.gz /folder/in/archive is this the correct way to do this? It seems to be taking forever with no command line output...
6
votes
1answer
1k views

Eye-FI SD Card not working with inbuilt card reader

I am tring to get my cardreader to work with and eye-fi SD card. My System is as follow: #uname -a Linux computer 3.2.0-0.bpo.2-amd64 #1 SMP Thu Mar 15 20:46:44 UTC 2012 x86_64 GNU/Linux Debian ...
2
votes
0answers
155 views

Some applications cover my top bar in dwm

Recently, Google Chrome has been taking 100% screen space and has been covering my top bar. Its never done this before. I tried reinstalling and nothing changed. I can post a screencap if anyone ...
1
vote
1answer
2k views

UID mapping with rsync

I'm migrating files between servers and have to map UIDs (add 500) and GIDs. As I'd like to have it done in one single pass, is there a way to execute a command for each file rsync copies?

15 30 50 per page