6
votes
1answer
2k views

How to access network without NetworkManager?

If I don't have NetworkManager installed on Debian, I edit "/etc/network/interfaces" and then run ifup eth0. I see that things are different in Fedora 14 (the directory and the command aren't ...
25
votes
2answers
13k views

What is yum equivalent of 'apt-get update'?

Debian's apt-get update fetches and updates the package index. Because I'm used to this way of doing things, I was surprised to find that yum update does all that and upgrades the system. This made ...
2
votes
2answers
976 views

Puzzle: transfering files between two servers (ssh, ftp, http multipart…)

A puzzle: files being uploaded in realtime by SCP to SERVER1 need to be transfered to SERVER2. But: SERVER1 doesn't actually have network access to SERVER2 (NAT), however SERVER2 has SSH access to ...
2
votes
1answer
4k views

How to change Fedora 14 dual-monitor default behavior (No clone)

I am running F14 on my laptop, and I use it either with or without an external screen. [nbarraille@barraille ~]$ xrandr | grep " connected " LVDS1 connected 1280x800+1280+0 (normal left inverted ...
4
votes
2answers
2k views

Problem with xmobar

I'm setting up an xmonad window manager and I came across following problem - when I try to configure xmobar and run it it shows: xmobar: .xmobarrc: configuration file contains errors! Usage: xmobar ...
2
votes
1answer
205 views

Can't get pop down menus to do anything in KDE/QT application GUIs in Ubuntu (Gnome session)

I have a brand new install of Ubuntu 10.10 x64 in an attempt to solve the following problem from my previous 10.04 x86 install, but with the exact same problem persisting. When trying to run Amarok or ...
3
votes
2answers
713 views

Inittab seems to ignore remount,rw /

I have an embedded system that boots off compact flash and runs with the initrd.img ramdisk mounted as root. When booting, it mounts the initrd image ok in read only mode but then when inittab runs, ...
7
votes
3answers
10k views

How can I change the language in chromium?

I've installed chromium, but it deeply sucks that it uses my mother tongue (german) in its UI and for websites by default. I want the english back, like firefox did. I'm using archlinux's default ...
1
vote
1answer
1k views

What is the function/point of “config.sub”

I'm trying to install some software from the command line. There is a file called "config.sub". Am I supposed to use this for something? I haven't been able yet to find out by searching online ...
2
votes
2answers
1k views

Errors from cfdisk with new external USB backup drive

I've picked up an HP SimpleSave sd500a backup drive. This is a 2.5", 500GB drive. It has a mysterious CD-like partition, but otherwise seems to contain a WD Scorpio Blue disk. It seems that the ...
7
votes
1answer
1k views

Must an X11 server be installed for X11 forwarding over ssh to work?

I would expect that my local X11 server and sshd X11 forwarding turned on is all that is needed for X11 over ssh to work, but I haven't been able to get it. Am I wrong about this? Does the remote ...
3
votes
2answers
554 views

Why did my sudoers file suddenly reset itself?

After setting up Wave in a Box on my Debian server, I started noticing strange things happening: I could no longer use sftp to transfer files, and even worse, I couldn't run any sudo commands! ...
2
votes
2answers
693 views

Why does the Centos apache httpd-2.2.3 rpm remove the bundled apr,apr-util,pcre?

I am manually building httpd-2.2.17 from the source. Just to make sure I have the configuration options right, I checked the latest CENTOS apache srpm (which is for httpd-2.2.3). In the httpd.spec I ...
4
votes
2answers
3k views

How do I install mercurial on openSUSE?

Hi I need to install mercurial on my opensuse but I couldn't find the rpm so I just download mercurial.rpm and wanted to install it by using: sudo zypper ... but it said to need python 2.6 so I ...
5
votes
1answer
524 views

How do you pronounce System V and SysV?

Is the V in System V and SysV (and sysvinit, etc) pronounced "vee" or "five"?
1
vote
1answer
217 views

Unable to find Red Hat Server

Running into a strange problem. I have a local server running Red Hat on a virtual machine (accessed through putty). I'm using this server to work on a website in Django, which I run with: python ...
1
vote
1answer
615 views

Select YeAH-TCP like congestion control algorithm to configure kernel

I'm configuring/compiling the 2.6.37 kernel and I want select YeAH-TCP like default congestion control algorithm but, although I enable this option (CONFIG_TCP_CONG_YEAH), it doesn't show in the ...
3
votes
2answers
3k views

Why does LD keep outputting “no version information available”

On every loading of a lib, I get the error: no version information available This lib has been compiled on another PC (ubuntu 10.04) than the one running it (mandriva 2010.2). $ ldd ...
11
votes
4answers
4k views

Any options to replace GNU coreutils on Linux?

I've been thinking about discontinuing the use of GNU Coreutils on my Linux systems, but to be honest, unlike many other GNU components, I can't think of any alternatives (on Linux). What alternatives ...
3
votes
2answers
149 views

How to disable playlist song hover info in Amarok?

Anyone know how to disable this annoying hover info in Amarok 2.4? I browsed through all the options (not that there is much of them), but couldn't find how to turn that feature off... It's getting in ...
13
votes
1answer
2k views

Why isn't GNU/Linux SUS v3+ compliant?

I am looking for specific details as to why isn't GNU/Linux currently SUS(Single UNIX Specification) v3 or even better SUS v4 compliant? What application apis and user utilities does it miss or ...
12
votes
5answers
2k views

What are some excellent Emacs utter beginner resources?

I administrate a couple of servers and do automation with both python and ruby at times. I've seen some awesome Youtube videos of users with multiple open windows, logged in background chats, and ...
10
votes
4answers
1k views

Why is echo “bar” -n different from echo -n “bar”?

Compare echo -n "bar" with echo "bar" -n The former does what I think it's supposed to do (prints "bar" without a newline), while the latter doesn't. Is this a bug or by design? Why is it ...
0
votes
1answer
649 views

“Too many arguments to function” error while installing php5-pdo_mysql from ports in FreeBSD

I'm having a trouble while installing php5-pdo_mysql in my FreeBSD environment. Everytime I trys to do /usr/ports/databases/php5-pdo_mysql make install the console gives me this error: ...
8
votes
4answers
1k views

Can I easily search my history across many screen windows?

My current screen session has 12 open windows on it. It's been running for weeks... I know I executed an ImageMagick convert command in one of these 12 screen windows sometime last week... is there ...
2
votes
1answer
1k views

How do you derive the passphrase from hexadecimal wep key?

I have a hexadecimal WEP key in the setting of my router. When I try to connect, the system asks me for the WEP passphrase. How can I derive it from my hexadecimal? This is what I have: ...
4
votes
2answers
888 views

zsh alias expansion

Is it possible to configure zsh to expand global aliases during tab completion? For example, I have the common aliases: alias -g '...'='../..' alias -g '....'='../../..' but when I type for ...
1
vote
1answer
129 views

Xorg ignoring wine application

A wine application (Anarchy online, great game try it some time) is behaving very strangely. While rendering correctly, Xorg isn't picking up on it's existence, and because of this the game only ...
2
votes
1answer
442 views

xorg performance in openoffice

I've just been monitoring my cpu usage in openoffice calc when cells have been copied vs when they haven't and seen a dramatic increase in cpu usage for the Xorg process. The additional rendering ...
2
votes
1answer
1k views

ant script stops, waiting for input when run in background

I'm running an ant (Java build tool) script on CentOS 5.5 that execs another java process. When I run the ant script in the background: ant -f myfile.xml &> foo.out & The forked process' ...
15
votes
3answers
2k views

How to use three monitors on a laptop?

I have a laptop running Ubuntu 9.04 with a dual-head setup: laptop panel + external monitor. I'd like to add another monitor but the laptop has a single VGA port, so my question is: what are my ...
2
votes
2answers
953 views

Installing opensuse through an USB

Can anyone explain BRIEFLY as to how to install OpenSUSE through an USB?. I searched in lot of forums, but i couldn't find anything helpful. Moreover, there was something written about installing it ...
11
votes
2answers
12k views

JAVA_HOME not set in script when run using sudo

I'm trying to run an install script that requires java to be installed and the JAVA_HOME environment variable to be set. I've set JAVA_HOME in /etc/profile and also in a file I've called java.sh in ...
2
votes
2answers
2k views

Dtach and Vim over Ssh: Reattach Session

I connected to my server: $ ssh me@example.com While in the server, I open a dtach session with vim: $ dtach -c \tmp\my-dtach-session-pipe vim Then my ssh session dies. I attempt to go back to ...
4
votes
4answers
12k views

testing services/open ports with telnet?

I often see that folks test ports this way: //shell telnet ip-address 80 telnet ip-address 25 AFAIK telnet was the old way of getting onto some remote box - right? or so I thought... Why exactly ...
6
votes
3answers
12k views

How do I periodically run a command with very short intervall and get the return?

i need to call a specific command in an interval of about 5 sec. How would I setup a daemon/process running in the background or something similiar to do that? I looked at cronjobs, but the minimum ...
3
votes
3answers
579 views

How to retrieve monitors configuration from the command line?

I am making a script that needs to access the computer's monitor(s) configuration. How can I do that? Is there a command or a file I could read where I can access this information? At the moment, I ...
2
votes
5answers
1k views

Starting A Bind/DHCP server

I am looking for some reading material on starting my own BIND/DHCP server. I mainly want the bind server to just be a caching server and for my home computers but it may also need to be authoritative ...
0
votes
1answer
375 views

I can't use or find the google debian unstable/sid repository

I'm trying to use the debian unstable/sid branch of the google repositories (deb http://dl.google.com/linux/deb/ unstable non-free main), but I get errors: Err "http://dl.google.com" ...
5
votes
2answers
4k views

What causes a ssh interruption?

What exactly causes a ssh connection to interrupt? When you idle for a while, it disconnects. How do I keep the connection alive (without autossh or reconnect)?
5
votes
4answers
7k views

Can I spawn a new terminal that is a clone of the current terminal?

So let's say I'm developing code in directory /asdf/qwer/dfgh/wert/asdf/qwer and I've added about three more directories like that to my path and I have a bunch of arcane environment variables set. ...
6
votes
1answer
4k views

What happens when your password expires and you're using key authentication?

on one of the boxes I don't control at work I use ssh keys to log in. Our passwords are set to expire after a few months. What happens if I don't reset my password and it expires? will I still be able ...
38
votes
4answers
5k views

Is there any way to keep a command from being added to your history?

Is there any way to keep a command from being added to your history? I have a command that I want to keep out of my history file, and I really don't care to have it there when I search the history ...
5
votes
2answers
5k views

How to combine bash command grouping and pipe status

How do I combine bash command grouping and pipe status? This is an example command group: { tar -cf - my_folder 2>&1 1>&3 | grep -v "Removing leading" 1>&2; } 3>&1 | gzip ...
4
votes
5answers
409 views

How do idiomatic Unix programs detect what prefix they are installed under?

If I install a binary with non-standard prefix, e.g. /opt/bin/foo, which needs some static files from /opt/share/foo, how does it find them? Using back references relative to the executable ...
2
votes
2answers
1k views

Simple terminal emulator that supports cut/paste with other programs?

Coming from Mac OS X, I've enjoyed being able to cut/copy/paste text to and from its built in Terminal application. Now, I am planning to migrate to a tiling window manager like scrotwm, xmonad, ...
4
votes
1answer
2k views

Automatically mount encrypted home folder on login

I'm looking into encrypting my home folder with Truecrypt, and mounting it after I've logged in, which should be pretty straightforward. However, it occurred to me that it should be theoretically ...
3
votes
2answers
2k views

Encode directory with GnuPG

Is there any way to encrypt the whole directory using gpg? It accepts only file as input argument. But I need to encrypt a lot of files on external HDD.
13
votes
4answers
4k views

Is it possible to find out what program or script created a given file?

Three files have suddenly appeared in my home directory, called "client_state.xml", "lockfile", and "time_stats_log". The last two are empty. I'm wondering how they got there. It's not the first time ...
2
votes
3answers
3k views

Selecting files that start with $LETTER, or a letter later than $LETTER in the alphabet

Suppose a directory contains the following files: afile1 afile2 bfile cfile ffile ffile2 qfile zfile I am looking for an easy way of selecting all the files which start with $LETTER, or start with ...

15 30 50 per page