2
votes
4answers
4k views

Why did my package get installed to /opt?

A while back I installed couchdb from source on my debian machine. It seemed to install okay and everything worked. A few weeks later I wanted to upgrade and installed from a .deb using dpkg. ...
22
votes
4answers
45k views

Open a window on a remote X display (why “Cannot open display”)?

Once upon a time, DISPLAY=:0.0 totem /path/to/movie.avi after ssh 'ing into my desktop from my laptop would cause totem to play movie.avi on my desktop. Now it gives the error: No protocol ...
4
votes
1answer
482 views

Install Ubuntu over Suse without affecting Windows

I have Windows XP and Linux Suse 11 installed on my laptop for some time. I want to replace my Suse installation with Ubuntu and would like to know if it is possible to do that without affecting the ...
4
votes
2answers
3k views

Configure Python to include another directory when looking for packages

I'm on a SUSE machine where the default Python site-packages location is /usr/lib64/python2.6/site-packages. Some packages automatically install themselves in /usr/lib/python2.6/site-packages instead. ...
2
votes
1answer
508 views

There are no items in GNOME main menu after openSuse 11.4 upgrade

I've upgraded my openSuse os from 11.3 to 11.4. Everything went smoothly but now I cannot see any item in main menu (analog of Start in Windows) and I cannot set any background picture, so now I see a ...
4
votes
2answers
1k views

YaST2: Command-line equivalents to GUI naviagtion

I'd like to automate some interactions with yast2. I assume I can do everything on the command line that I can do in the curses interface, but I'm not sure how to figure out what the commands are. ...
12
votes
2answers
46k views

Orphaned connections in CLOSE_WAIT state

I've got a SLES machine that accumulates TCP connections in a CLOSE_WAIT state for what appears to be forever. These descriptors eventually suck up all available memory. At the moment, I've got 3037 ...
7
votes
4answers
936 views

Differences in package management between Debian and Arch

A discussion from this post made me curious of differences between Debian and Arch package management. Also, people tend to say that Arch is very light-weight, so I wonder what that has to do with ...
8
votes
2answers
564 views

Best way to archive attachments?

My saved-messages and sent-mail "folders" (actually Unix MBX files) are huge because of attachments, most of which I've saved to disk anyway. I want to keep the messages, but replace the attachment ...
5
votes
2answers
4k views

What params do I pass to grep to return only file names?

I'm trying to use grep to find a specific piece of text in a bunch of files on my web server. No problem, except that it returns way more information than I want! Ideally it would just return a list ...
16
votes
3answers
44k views

How do you change the root password on Debian?

I want to change the password I assigned to root on my Debian webserver to something longer and more secure. Bit of an obvious newbie question, but how do I do that? I haven’t forgotten/lost the ...
3
votes
1answer
994 views

Debian 6.0 and Xen PyGrub failure

On my VPS (running Debian 6.0 on Xen with PyGrub) I get the following error when trying to upgrade the system: Searching for GRUB installation directory ... found: /boot/grub warning: grub-probe ...
2
votes
2answers
312 views

OpenBSD patch system

If I install OpenBSD from CD-ROM: http://www.openbsd.org/ftp.html with install48.iso then is it patched? All 10 patches from here are in the ISO file? If those are not included, how can I apply ...
7
votes
6answers
14k views

How to run commands in batch mode over ssh?

How can I run commands in batch mode over ssh? That is, what is the ssh command's equivalent of sftp -b <filename> <hostname>? I have a set of commands which I wish to run across a set of ...
15
votes
5answers
3k views

How to start a new Linux distro?

Some of my friends and I are interested in starting a new Linux distro. How do we do that? What do we need to plan? Backstory I represent a community of Linux sysadmins/implementors whose special ...
3
votes
1answer
935 views

Open Source firmware for e-ink book reader

Is there any open source version of firmware for ebook readers or maybe project like RockBox? AFAIK most of e-ink readers runs linux, so maybe exists at least one model of e-reader with an open ...
18
votes
3answers
16k views

Where can I see a list of kernel killed processes?

Is there some way I can check which of my processes the kernel has killed? Sometimes I log onto my server and find that something that should've run all night just stopped 8 hours in and I'm unsure if ...
1
vote
0answers
110 views

I am failing to 'git clone clutter' [closed]

While trying to build clutter from JHBuild, I get stuck at the stage where I have to clone it: $ jhbuild buildone clutter *** Checking out clutter *** [1/1] git clone ...
2
votes
2answers
3k views

Add new user in solaris

I tried to add a new user in solaris 10, but got an error: $ useradd -g oinstall -G dba -d /export/home/oracle oracle UX: useradd: ERROR: Inconsistent password files. See pwconv(1M). I ran pwconv, ...
2
votes
2answers
2k views

How can I enable internet sharing without using the gui or apple script on snow leopard?

for some rather strange reason my sharing preferences tab crashes (it's a long story and there seems to be no good solution for it, it's looking for a ui object that no longer exists). Anyway, I want ...
7
votes
2answers
623 views

No sound when attached to docking station

I have been using Linux and Ubuntu only since the last two months on my (2006) Sony Vaio VGN A617S laptop which is going pretty well on Ubuntu 10.10. When installing Ubuntu audio did get installed ...
3
votes
1answer
1k views

5.1 speakers on soundblaster x-fi 'extreme audio'

The rear and center channels on my 5.1 speakers don't work. I've checked the connections a few time, and turned up volume sliders in alsamixer “System information” in alsamixer correctly identifies ...
7
votes
2answers
2k views

Small Distributed Computing Cluster

I'm a high school student trying to build a linux cluster for a project (I have a bunch of decent computers slated for re-image this summer, so the tech department basically says as long as I don't ...
9
votes
2answers
800 views

How to manage huge amount of files in shell?

$ ls ./dir_with_huge_amount_of_files/errors/ Suppose a directory is full of pictures with unix timestamps, I mean a lot measured in many GBs or even more. Shell-commands like ls will get ...
3
votes
1answer
1k views

How do I set up a BitTornado tracker?

As the title suggests I would like to setup a BitTornado tracker for a local network. At the moment I am using OpenBitTorrent as my tracker but this seems strange as I don't want to do this over the ...
1
vote
2answers
677 views

SVN changelist all my checkouts

Lets say I have 100+ files that I've checked out. Is there a way I can add all of them to a changelist without specifying them one by one, or adding them to file?
2
votes
1answer
185 views

Why does `last` show '{' and '|' in the TTY field?

We recently set up a new FreeBSD 7.2 machine on March 11. When looking at last, we noticed some funny characters for the TTY field. What do these characters mean? Note that at this time, the ...
16
votes
2answers
7k views

/proc/PID/fd/X link number

In Linux, in /proc/PID/fd/X, the links for file descriptors that are pipes or sockets have a number, like: l-wx------ 1 user user 64 Mar 24 00:05 1 -> pipe:[6839] l-wx------ 1 user user 64 Mar 24 ...
3
votes
2answers
792 views

The Right Distro for text-based needs

I'm searching for the right Linux Distro. My four current ideas are: Gentoo Grml Arch Debian But I'm absoluty open to more alternatives. Now a little bit more about my needs: I want it to be ...
4
votes
1answer
952 views

Program to keep track number of login attempts

Is there any way to keep track of number of attempts made by a user to login into his system?
5
votes
2answers
21k views

Why do I get an “rsync: failed to set times on … : Operation not permitted (1)” error on Ubuntu 10.10 with SME Server 7.4? [duplicate]

I am trying to cron an rsync via ssh between two fileservers that are running SME Server 7.4 and Ubuntu 10.10, respectively. The first rsync worked just fine (for reasons that I do not know), but now, ...
18
votes
2answers
62k views

How to get only files created after a date with ls?

With ls command, does it possible to show only file created after a date, hour... I'm asking it because I have a directory with thousand of files. I want files created since yesterday. I use ls ...
0
votes
2answers
633 views

SSH Copy Limit?

So I have a small little Ubuntu server set up, with some rather large files that I've allowed a few people to copy from their putty window. Anyways 2 questions: Lets say a person on windows wants to ...
6
votes
1answer
1k views

How can I clear the list of recently accessed documents in Fedora?

When I click on the Clear recent documents item in the GNOME menu, it clears the list of recently used documents (as expected). How can I replicate this functionality from the command line?
1
vote
1answer
345 views

wget not able to log into ftp

I am trying to use wget for downloading files from a ftp repository. The FTP repository has a login and password. I have to go through a proxy server which does not have a login and password. When I ...
2
votes
3answers
2k views

cshrc execute bashrc within itself?

My school has our Linux accounts using csh/tcsh by default. I, however, have a lot setup on my home bashrc and I'd like to use that at school. BUT there's also some important stuff that happens in our ...
20
votes
5answers
13k views

How can I best copy large numbers of small files over scp?

I have a directory that's got several gigabytes and several thousand small files. I want to copy it over the network with scp more than once. CPU time on the source and destination machines is cheap, ...
0
votes
1answer
775 views

internal speaker not working ubuntu 10.10

I have a dv6000 laptop . My speaker and mic were working few days ago . But now only external speaker works. Can anyone suggest me some solutions please. Thanks.
4
votes
2answers
2k views

How to deliberately activate cooling fan of laptop?

Hi I have a laptop (Fujitsu Siemens Amilo 4000), I'd like to control the cooling fan manually. How do I do that? /proc/acpi/fan/ is empty, the fan is otherwise working well. Distro is Fedora 14.
1
vote
1answer
610 views

How to export/extract audio from a DVD under Fedora 14?

i have a DVD's content on my HDD: i have these 2 usually folders, ok: AUDIO_TS VIDEO_TS I just can't google a working way to extract the audio from the DVD. the howtos usually write about when the ...
2
votes
2answers
180 views

How to make KDE3 visible for GDM?

I have Gnome (default), KDE4 and KDE3 installed. When I log out, GDM kicks in and I can select other desktop than Gnome -- among window managers, there is KDE4 (as KDE), but no KDE3. Question: how ...
2
votes
2answers
340 views

non-case-sensitive sed - OpenWrt

the input would be like this in a file: <sCripT and the parsing looks like this: sed -i "s/<script//g" SOMETHING.html the "/gi" is not good, because OpenWrt doesn't knows it (busybox..): ...
4
votes
1answer
947 views

Safe to delete System.map-* files in /boot?

I'm experimenting with generating some custom kernels using genkernel. However, each iteration leaves a file in /boot called System.map-genkernel-<arch>-<version>. Is it safe to rename ...
1
vote
1answer
762 views

Are there any repositories for Fedora 3?

Is there any alive repository for my Fedora Core 3 Linux? (I want to use the yum command but one error comes and tells that base url is not valid) Any help to find any alive repository is very much ...
6
votes
3answers
11k views

What does \? mean in a regular expression?

The following command is used to search for a 7-digit phone number: grep "[[:digit:]]\{3\}[ -]\?[[:digit:]]\{4\}" file What does \? stand for?
2
votes
4answers
747 views

How to guarantee the integrity of an OS?

In information security, integrity means that data cannot be modified undetectably. This answer raised my interest, of course, I want to guarantee the integrity of my OS, outlined here. ...
50
votes
6answers
1k views

Resources for portable shell programming

What resources exist for portable shell programming? The ultimate answer is to test on all targeted platforms, but that's rarely practical. The POSIX / Single UNIX specification is a start, but it ...
2
votes
2answers
522 views

Configure wget to not clobber good data with empty data

I currently have a setup where I have an emergency server which on a scheduled basis grabs files from my main webserver using wget. If all goes well I want wget to clobber the old cached file. ...
-1
votes
3answers
666 views

How can i “wget” the content of this site

If I run: wget 'http://beforeitsnews.com/stories/in/0000000000000013' -O - I can't see the news...why? How can i wget or curl this site, so that i can see the news on it? I can't even browse it ...
2
votes
2answers
334 views

Maemo: how to get system information/specifications?

How can I find the maximum resolution, processor type and RAM capacity of my device in Maemo?

15 30 50 per page