12
votes
2answers
11k views

Parse html on Linux

I have a couple of hundred html source code files. I need to extract the contents of a particular <div> element from each of these file so I'm going to write a script to loop through each file. ...
6
votes
2answers
7k views

I added a user to a group, but group permissions on files still have no effect

I changed permissions of a file (chmod g+w testfile) and running ls -l testfile gives: -rwxrwxr-x 1 user1 user1 0 2011-01-24 20:36 testfile I then added a user to that group ("/etc/group" has ...
3
votes
2answers
1k views

How can I assign a keyboard shortcut to a specific application in Openbox?

I use the web browser Uzbl and the window manager Openbox, and I wondered if I could configure openbox to add a keyboard shortcut to minimize / maximize Uzbl's window ...
2
votes
2answers
347 views

Windows Media Audio 9 player plugin- something for linux

I need something to play WMA radio. Do you know any way of doing this on linux?
3
votes
4answers
288 views

Backup script permission issue

I have a server with a user named deploy-user and have written a backup script to backup a number of websites associated with this user. However one of the sites I'm trying to backup has a directory ...
2
votes
2answers
837 views

How to run e2image to backup a remote CentOS server?

Our server is hosted out of the country, I just have SSH access. I want to take an image backup of my server. I found the e2image utility to take an online backup of that server, but when I run ...
4
votes
3answers
985 views

How to list currently not installed packages?

I'd like to output a list of all, currently not installed, packages (they are visible in Synaptic for example) using only shell commands. How do I do this?
1
vote
0answers
675 views

Problem with Fedora 14 Virtual Desktops (KDE, Compiz)

I have multiple, random problems with my Virtual Desktops. I'm running Fedora 14 with KDE and Compiz on a dual-monitor config. What happens (at random): I often (almost always) have a problem with ...
7
votes
1answer
172 views

Managing and applying custom updates to multiple identical machines [duplicate]

I work at a library where we have just recently setup 5 kiosk's based on linuxmint. The hardware is identical. I actually used DD to make an image after I set the first one up. My Problem is, I now ...
60
votes
15answers
62k views

How can I get distribution name and version number in a simple shell script?

I'm working on a simple bash script that should be able to run on Ubuntu and CentOS distributions (support for Debian and Fedora/RHEL would be a plus) and I need to know the name and version of the ...
40
votes
6answers
17k views

Different linux distros sharing the same /home folder?

What is the best way to share the same /home directories between different linux distribution? I mean, I want to have both, say, Fedora and Arch, and I want to find my files at home no matter which ...
1
vote
1answer
554 views

mount root fs to /target

I am installing crunchbang linux (#!) to my eeePC and it is unable to start the disk partitioner. I traced the problem to partman and partman-lvm that states No volume groups found. So I have ...
6
votes
1answer
1k views

How do I get my shell functions to make use of existing autocompletion in zsh?

I have a couple of shell functions defined in my .zshrc which save on typing and allow integration with screen. For example: function s() { screen -t "$1" ssh "$@" } However, when I use these ...
4
votes
1answer
2k views

LVM Mirrored Logical Volume Performance

I read that when mirroring a logical volume a log of some sort is used to keep the files in sync. You can either set it so this log is in a separate physical volume or in memory. I also read that if ...
8
votes
2answers
3k views

What causes various signals to be sent?

I sometimes get a little confused by all of the signals that an application can receive. As I understand it, an application has a default handler for each of these signals, but it can provide its own ...
2
votes
4answers
444 views

Is SCADA an RTOS?

Is SCADA one of the RTOS out there (it's used for real-time control and data acquisition)?
1
vote
2answers
110 views

Is there a tool that lets me exaggerate audio levels?

It often happens that a movie I'm watching has audio loudness levels set too low. Since I use a typical laptop, I can't just go raise the volume level of my speakers. I've raised all knobs offered by ...
7
votes
1answer
2k views

Nested ssh session inside screen has no color

I am attempting to keep a nested ssh session inside of a byobu/screen window, which I also connect to over SSH with Putty on Windows. However the nested SSH session has no color. Here's what I'm ...
10
votes
4answers
1k views

Can I keep applications running across X sessions?

Let's say I have a Firefox window downloading a big file that will take a lot of time. Now that it's running halfway and I want to switch to another DE (for example from GNOME to KDE), can I do that ...
4
votes
2answers
2k views

Implementing a Unix shell in C: Logging

I am currently working on implementing my own UNIX shell in C. The basis of the shell is working, you could find the source code here. Right now my next task is to implement a logging feature for the ...
1
vote
1answer
613 views

How to build-compile a .c file

I have little experience with LINUX . I am using Debian. It has a library glibc which has several useful programs. iconv is the program that i want to use to do several charset conversions... However ...
11
votes
3answers
8k views

How to find out which (not installed) package a file belongs to?

On Debian systems (and derivatives): $ dpkg --search /bin/ls coreutils: /bin/ls That is, the file /bin/ls belongs to the Debian package named coreutils. But this only works if the package is ...
3
votes
2answers
1k views

How to fix icedteanp plugin error?

I'm using openSUSE 11.3 with "latest updates". I have installed vimprobable and uzbl. Whenever I start one of those two browsers, I get the error message: icedteanp plugin error: Failed to run ...
2
votes
2answers
729 views

Stuck on “grub>” prompt when dual-booting Ubuntu

On the dual boot option screen I choose Ubuntu and only get: grub> I want to get into Ubuntu and start learning it a bit but am stuck. What would be the best way to fix my problem?
0
votes
1answer
2k views

Debian 6.0 RC1: Cannot login as root and user is not a sudoer

After installing Debian 6.0 rc1, I can't do anything as administrator because I cannot login as root (but I did setup the password during installation) and user is not a sudoer either. Did I miss ...
13
votes
6answers
1k views

Ideal Hardware for GNU/Linux Laptop

What's the best way to find a laptop with hardware that is amenable to installing and running GNU/Linux? I'm looking for something that will ideally work with GPL'd drivers and/or firmware. I took a ...
78
votes
3answers
43k views

How do I read from /proc/$pid/mem under Linux?

The Linux proc(5) man page tells me that /proc/$pid/mem “can be used to access the pages of a process's memory”. But a straightforward attempt to use it only gives me $ cat /proc/$$/mem ...
0
votes
0answers
167 views

need to install mercurial [duplicate]

Possible Duplicate: How do I upgrade python on openSUSE? Hi If you look at my previous question you will find this one as same as that but as I couldn't solve my problem yet I want to ask ...
4
votes
1answer
3k views

Sharing Mac Snow Leopard directory via NFS

I am running a Mac Pro using Snow Leopard (not server). I would like to share a directory with a linux machine. I have edited /etc/exports on the Mac to: /Volumes/mstore/home/sdavis -maproot=root ...
7
votes
2answers
339 views

Straightforward Linux Clustering

We have many unused PC machines and we would like to use them to set up educational lab for high performance computing applications. Which Linux distribution is the most convenient to set up and easy ...
4
votes
1answer
253 views

Diacritics do not work in GTK+ applications running on Mac OS X Snow Leopard

I am using some GTK+ applications in Mac OS X Snow Leopard. My MacBook is configured for using the Brazilian layout, which allows it to enter diacritics as dead keys (so I can write á typing ' and ...
3
votes
1answer
1k views

Do I need pata_atiixp or ata_generic kernel modules on a SATA only system?

I don't have any IDE drives and my only SATA hard drive is running in AHCI mode, but my initrd image loads the pata_atiixp module. Is it safe to disable this module? And what about the ata_generic ...
140
votes
3answers
168k views

Check package version using apt-get/aptitude?

Before I install a package I'd like to know what version i would get. How do I check the version before installing using apt-get or aptitude on debian or ubuntu?
22
votes
5answers
17k views

On-the-fly monitoring HTTP requests on a network interface?

For debugging purposes I want to monitor the http requests on a network interface. Using a naive tcpdump command line I get too much low-level information and the information I need is not very ...
3
votes
1answer
276 views

Can't shutdown mandriva 2010.2

I can't seem to shutdown my machine from mandriva,I have to restart to shut it down from GRUB it says "System Halted" and just freezes there I'm using the x86_64 GNOME version I've already asked on ...
8
votes
3answers
595 views

Open Source router firmware options?

What distro's exist that are designed for routers? Please include the following link to the project page link to supported hardware list what distinguishes them, why pick this option friendly web ...
2
votes
1answer
3k views

How do I reimage OpenWRT?

How do I reimage openwrt in such a way that all my settings will be lost. I've been having some issues, and I want to ensure that it's not a lingering setting, I want this to be a fresh install.
7
votes
1answer
3k views

How to make startx use alternate xinitrc?

I don't have a desktop manager installed (and I don't want to). After logging in through the terminal I use startx to start the GUI. I have entries in ~/.xinitrc for my GUI sessions. Right now I have ...
14
votes
4answers
6k views

How to re-load all running applications from swap space into RAM?

If my desktop run out of memory and swaps a lot then I free or kill the application wasting my RAM. But, after that, all my desktop/applications have been swapped and are horribly slow, do you know a ...
2
votes
1answer
356 views

How to generate a report summary of messages that triggered a specific DSN code

I use Sendmail on CENTOS 5.x, I hope this is a simple question. =) I need to generate a report summary of messages that triggered a specific DSN code. For example: Jan 11 07:43:34 server-example ...
3
votes
4answers
8k views

How to check available package versions in rpm systems?

If I want to check available versions of a package in Debian, I run apt-cache policy pkgname which in the case of wajig gives: wajig: Installed: 2.01 Candidate: 2.01 Version table: *** 2.01 0 ...
2
votes
2answers
631 views

Multiple-boot from ISO files does not show OS menu

I used instructions from PenDriveLinux.com to create a multiple-boot USB drive with some ISO images on it. I used Xubuntu 10.10 Desktop image and a Linux Mint 9 XFCE image. I was able to boot either ...
3
votes
1answer
159 views

Are there any apps that will post to multiple social networking accounts at once?

I currently use Ping.fm to post to multiple social networks at once, but it's been irritating me for a while and I'm thinking of writing a tool to replace it for myself. But I figure it's possible ...
3
votes
1answer
2k views

How come I don't have package updates in Fedora?

I last updated my Fedora 14 install weeks ago, so I expected a slew of new packages waiting for me, but after I run yum update, I instead get: ... Setting up Update Process No Packages marked for ...
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 ...
22
votes
2answers
11k 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
930 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
201 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 ...

15 30 50 per page