# All Questions

956 views

### 'yum update' without internet connectioon

I have a PC and a laptop. my laptop is always updated, so for updating the PC I don't want to download the packages again for my PC. What I do is copying rpm files from ...
992 views

### Two EFI disks with Grub2

I bought two SSD disks and as usual I though that installing Windows on a completely separate disk would be the easiest solution, but I can't find any tutorials for dual booting with grub2 (efi). All ...
735 views

### uwsgi install in Debian 6 (Squeeze) wants to upgrade libc6 and initscripts

I'd like to install uwsgi on my Debian server. This package wants to upgrade some core packages: libc6 from 2.11.3-3 (now, stable) -> 2.13-35 initscripts from 2.88dsf-13.1+squeeze1 (now, stable) -> ...
4k views

### Remove prefixes from filenames

I have a bunch of files as follows: 04602635_b0294.DAT20120807164534 04602637_b0297.DAT20120807164713 04602638_b0296.DAT20120807164637 04602639_b0299.DAT20120807164819 ...
882 views

### What would it take to add a command to run a script at the completion any given random task?

I was playing around with Pushover, and had the thought that it would be cool if I could use it as an argument on any random command, so that it would run a pushover script at the end of the task, ...
1k views

### Keep kerberos ticket across sudo invocation

On a regular linux machine, when I use sudo -s as a normal user, I become root but HOME still points to ~user, so every admin has his own environment etc. (this is without env_reset or always_set_home ...
3k views

8k views

329 views

### Compiling against a newer version of glib?

I'm working on a piece of software that needs to compile against a very modern version of glib, but also needs to run on Ubuntu 11.10 (which doesn't come with that version). My first thought was to ...
12k views

### How to get VIM to display 256 colors properly

I'm trying to get 256 color theme files to work with VIM under xterm. This is peaksea how it looks for me: How it should look: I've tried following the tips on the wiki page to no avail. set ...
214 views

### memtester runs faster after couple of runs

I am using this test tool : http://pyropus.ca/software/memtester/ And I noticed that first 3 iterations take 4 hours but 30 iterations take only 12 hours. I was hoping that 30 iterations will take 40 ...
2k views

### /home partition

I am facing the following doubt. I installed Arch time ago with a home separate partition. My issue is that I need to reinstall the system and I don't have a backup of my /home. Would a new ...
1k views

### Books/Resources which explain TCP/IP kernel implementation [closed]

I only know about: 1) Internetworking with TCP/IP: Vol.II, Design, Implementation, and Internals 2) TCP/IP Illustrated, Vol. 2: The Implementation but these are quite dated. I am particularly ...
2k views

### Switch to an application using its PID

I'm using Gnome. In vim, I want to map a key to switch to Firefox. I know that I should use bash commands (a command in form of !...). Is it possible to switch to an application using its PID?
7k views

### Which extension to use for text files? (Unix/Linux)

I noticed that I can read text files without an extension .txt just fine. How come? Should I save these files with or without the .txt extension? Also, what about .ini files? I usually use them like ...
5k views

### How to change SMTP outgoing port on Centos 6.3

I have a dedicated server running Centos 6.3. My customer wants to use Microsoft Outlook to send and receive e-mails. He can connect and receive his mails but when he tries to send e-mail he can't ...
917 views

### What is a canonical way to find the actual maximum argument list length?

Following ARG_MAX, maximum length of arguments for a new process it seems like ARG_MAX is wrongly (or at least ambiguously) defined on my Mac Mini 3,1 running Ubuntu 12.04: \$ getconf ARG_MAX # ...
755 views

### Avoiding duplicate entries in ~/.ssh/known_hosts

I have my DNS search path set to ".intranet", ie, /etc/resolv.conf contains: search intranet When I SSH to a host using a FQDN, like "mailserver.intranet", it adds an entry for ...
5k views

### How to change desktop enviroment in Raspbian?

I'm running Raspbian “wheezy”, a Debian based Linux distribution for the Raspberry Pi and I would like to know where I can change the desktop environment that boots with the OS. In particular, how can ...
678 views

### Nvidia 9800GT and HP w1907v resolution woes

I was happily dual-booting Windows 7 and Ubuntu 10.10 a year or two ago, with, as in the title, an Nvidia GeForce 9800 GT graphics card (on a Gigabyte GA-MA790XT-UD4P) outputting VGA to an HP w1907v ...
561 views

### VirtualBox with aMule - How to configure network, port forwarding… properly?

for security reasons I am running aMule inside VirtualBox. Guest and Host systems are Linux (to be more specific Arch 64 distro) Host system has public ip directly connected to internet (no router) ...
658 views

### Can't find a way to customize Mutter under elementary OS

I just installed elementary OS, and I would like to have some options to customize the effects like I could do with Compiz. However, I couldn't find a settings panel related to Mutter. Is there a GUI ...
575 views

### Gedit or an other non-commandline editor with the ability to spell-check two languages at the same time

I'm searching for an editor with the ability to spell-check two languages at the same time (German and English). Gedit can't do it out of the box. But I want to use Gedit. It should be possible by ...
593 views

### Display screen caption on the first line of the terminal

When I start a new terminal, the prompt is on the first line. After working for a while (or running a command which produces some output), the prompt is on the last line. There it'll stay during the ...
3k views

### How to do multiline search and replace text (delete) recursively

I want to go recursively through a directory and search for specific content in all files. The content should then be replaced if found. With a single line I would make something like this: find . ...
3k views

### How to get current buffer's filename in emacs?

One of the main features I miss about Vim, is that it always saves the filename of the current file in the % buffer (more info). That allows launching commands easily like: ;; compile current file :! ...
569 views

Is there a way to Up/Downgrade the iOS of my iPod touch 2G under linux (especially debian)? I have already read about idevicerecovery but this project doesn't seem to be maintained anymore and ...
152 views

### How can I dynamically switch the output destination of a script or command?

I ran a shell command the other day which produced more output than expected. It was writing to a file on a filesystem with very little available space and could have filled the filesystem. The ...
3k views

### Given a git patch id, how to find out which kernel release contains it?

Assume I have some issue that was fixed by a recent patch to the official Linux git repository. I have a work around, but I’d like to undo it when a release happens that contains my the fix. I know ...
7k views

### Is it possible to change Inode count on an ext4 filesystem? [duplicate]

Possible Duplicate: How can I increase the number of inodes in an ext4 filesystem? I have a homemade NAS with Debian Wheezy 64bit. It has three disks - 2x2TB and 1.5TB, pooled together ...
618 views

### Gentoo Live CD from Hard Drive: No Mountable Filesystems on root after modules loaded

I am attempting to install Gentoo on my PowerPC Mac. I have reached the point where I can boot the Live CD (I have no functional CD Drive, so it is from a spare Hard Drive), but after the kernel is ...
5k views

### How can I switch window managers in Gnome 3?

I normally enjoy using Gnome 3 and gnome-shell in Fedora 16. However, I would like to temporarily run a non-compositing window manager such as metacity so that some wine games can have full control of ...
16k views

### Find a file in lots of zip files (like find command for directories) [duplicate]

Possible Duplicate: Find recursively all archive files of diverse archive formats and search them for file name patterns I need to search for a file in all zip files in a directory. Is ...
971 views

### How can I create a bash script which runs irb, then some ruby code?

I'm trying to do this to make unit testing a breeze for myself. The contents of an example script in question are as follows: irb require 'random_utils.rb' a = SuccessChecker.new Right now this ...
546 views

### Emacs mode for man pages

I'm translating man pages, and have run in to a few problems with Emacs. How do you specify language? (With man, it looks like this man -Lsv shutdown for the Swedish "sv" subdirectory, if ...
3k views

### Shutdown from login prompt in tty

Suppose I boot a Linux machine without GUI. When it displays a tty login prompt, can I shutdown the machine with a keyboard sequence? Of course I could type in my username and password and then sudo ...
1k views

### Validate AIX Password for root from script

Looking for a way in a shell script to validate the password for for root on an (AIX) matches a standardized plain text password. This query is similar to another one on this site. I have access to ...
162 views

### Which graphics board my OS is using?

Is there any way to specify which graphics chipset our OS should use? on machines with discrete GPU, when graphics driver installed linux will by default use GPU for UI but I want OS to use on-board ...
6k views

### How can I install the Epel repository on 64-bit Fedora 17 machine?

How can I install the Epel repository on 64-bit Fedora 17 machine? I tried: sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm and sudo rpm -Uvh ...
2k views

### Mixing 4k/512 drives with ZFS (FreeNAS)

I have the following drives: Seagate Barracuda ST3200054AS WDC WD20EADS-00S2B0 Samsung HD204UI As far as I understand, the first are ordinary 512 drives while the last is 4096 (Advanced format). ...
765 views

### Colors not rendered correctly in oh-my-zsh themes

I'm trying to use colors in oh-my-zsh themes. It works fine on my home computer (ubuntu), but in a work computer (Scientific Linux i.e. Enterprise linux) the prompt colors are actually spelled out. ...