2
votes
1answer
5k views

Getting “cpio: Bad magic” when trying to rpm install into a mounted Logical Volume

I need some help with this. I am trying to follow the Xen guide to provision a domU using package installation of the Fedora 15 release (the dom0 is CentOS 5.6). Ive run the rpm install command with ...
5
votes
2answers
653 views

Isn't $HOME supposed to be the location of the user's home directory?

I'm having trouble with a web application I'm writing: The web application, which runs as user nobody, needs to launch an inkscape process to manipulate some SVG files. Because this runs as user ...
5
votes
2answers
703 views

How to check if libfftw3_threads.so.3.2.4 shared library was compiled for pthreads or for OpenMP?

There is FFTW library installed by an administrator system-wide, in /usr/lib64, and it includes /usr/lib64/libfftw3_threads.so.3.2.4. When I compiled this library myself, before it was installed by ...
9
votes
6answers
878 views

Why was the word “shell” used to descibe a command-line interface?

I'm curious about the term "shell." I think I know what it is (though the distinction between "shell" and "terminal" is still fuzzy) but why was the word "shell" chosen to describe this type of ...
4
votes
2answers
118 views

what am i missing … why run a S/390 platform with Fedora desktop?

I found this link for a group that is converting fedora RPM's to run on S/390 hardware. Wikipedia tells me that the S/390 was made by IBM as a mainframe computer in the 1990's (and run out of service ...
2
votes
2answers
1k views

Can I install Mint to another hard drive without booting from it?

Is there an easy way, given an ISO image for Linux Mint, to install it to an empty hard drive from within my existing Ubuntu installation? I don't have any CDs or appropriate USB devices at hand, so ...
0
votes
1answer
98 views

(audio) Files transferred to Motorola Milestone does not stay there

I'm using gpodder to manage podcast on Ubuntu machine (thinkpad laptop). When I transfer files to the phone I see the files on the phone sd card via ubuntu file manager, however, when I disconnect the ...
3
votes
2answers
1k views

Debian VNC (Remote Desktop) only allowing first connection, then turns off

Basically if I reboot the machine, I can vnc into it (using ultra vnc) but I can only do it once. It seems that the vnc daemon stops working after the first remote desktop session is closed. I have to ...
3
votes
2answers
2k views

Is there a way to push shell config information when SSHing to a host?

I know how to set the GNOME-terminals (or xterms!) prompt to green/red regarding the last exit code: vi .bashrc export PROMPT_COMMAND='PS1="` if [[ \$? = "0" ]]; then echo "\\[\\033[0;32m\\]"; else ...
4
votes
3answers
443 views

mkdir based on input from other directories

I have a directory full of albums I've ripped to FLAC format. Folders are named "Artist - Album [flac]" I need to create matching directories named "Artist - Album [mp3]" but only for certain ...
5
votes
2answers
777 views

Fedora 15 :Twitter on Google Chrome

It's been almost 15 days since I installed Fedora 15 on my laptop. And since day 1, Twitter seems to be having some issue opening up. Whenever I try to load twitter.com, it loads an "Aw Snap" page. ...
0
votes
1answer
457 views

Turning off mailing in psad

The psad monitoring tool keeps on sending lots of mail to my localhost admin account. I use my ubuntu server as a NAT router, and psad warned me to enable logging in iptables. After I did so, it ...
0
votes
3answers
636 views

EBtales not working

I wanted to go a little bit further and install EBtables (the 2-layer filtering and routing table). The purpose of it was to only allow the minimal necessary(IPv4 and ARP). To test it I ran: ebtables ...
19
votes
3answers
8k views

Duplicate entries in $PATH a problem?

I source bashrc's of few of my friends. So I end up having duplicate entries in my $PATH variable. I am not sure if that is the problem for commands taking long to start. How does $PATH internally ...
1
vote
1answer
1k views

Red Hat Kernel Upgrade problem

I'm using a Red Hat 4 Enterprise Linux. But, when I upgrade the kernel, an error occurred. And after, when computer is booting with new kernel (red hat enterprıse 2.6.9-100.el), I receive the ...
5
votes
2answers
319 views

Is it possible to record audio directly to a computer's optical drive?

There's a question over at audio.SE at the moment and I thought it may attract some answers here. I asked the user and he's happy to have it posted here to see if anyone has some ideas. Here it is ...
4
votes
2answers
1k views

How to recover my directory structure and files from a messed-up partition

Something strange (don't ask) happened on my external hard-drive, resulting in (important) data being unreachable... I am failing to mount it. That data was sitting on a vfat filesystem. I can get ...
8
votes
3answers
3k views

The way to use `/usr/bin/env sed -f ` in shebang?

Typing /usr/bin/env sed -f in terminal works. But if use it as a shebang, #!/usr/bin/env sed -f s/a/b/ The script will be fail to execute: /usr/bin/env: sed -f: No such file or directory I ...
7
votes
1answer
8k views

How to reset a shell environment?

This issue has been bugging me for a while, and although I've taught I've found my answer through EnvWatcher, unfortunately it only works on Bash. And I use zsh. I would like to replicate the things ...
4
votes
2answers
548 views

Rip an audio CD 1:1

Is there a way to rip an audio CD to an ISO9660 file? I've tried simple things like dd in the past and it hasn't worked. I'd like to essentially have a mirror image of exactly what's on the disk, not ...
11
votes
4answers
16k views

How to inject keystrokes via a shell script?

I'm trying to inject keystrokes into the input daemon so as to simulate typing from a Bash script. Is this possible, and if so, how can I make it happen?
0
votes
1answer
791 views

grub-install from live CD

I have removed my MBR by mistake. Now I can't boot Ubuntu, so I want to reinstall grub. I'm getting this error: grub-install --boot-directory=/media/cab64688-2d97-4bbd-9f32-7bc0badb40a8/boot ...
1
vote
1answer
853 views

How to access shared locations on a windows machine from a linux machine via terminal?

I’ve setup a Virtual CentOS machine and set up a bridged network and static IP so that it can communicate with other Windows machines in the network. Currently, to access any shared directory, I ...
16
votes
2answers
1k views

What is Unix now?

As I read in Wikipedia, Unix started as a revolutionary operating system written mostly in C allowing it to be ported and used on different hardware. Descendants of Unix is mentioned next, mostly BSD. ...
2
votes
1answer
151 views

problem with rsync. forgot the ending dot and can't find beackupfiles now

I am new with linux and tried to backu my files doing this: rsync -arvu /home /etc /opt /var I was in the desired directory (on an external hard-disk drive) and logged in as su. but no files where ...
17
votes
3answers
7k views

In Arch Linux how can I find out which package to install that will contain file X?

I'm looking for a package that provides a specific binary, so I can install it. how can I search to find out what packages provide this binary? (note: I know there's at least one tool that does this, ...
3
votes
1answer
3k views

xrandr command not executed within shell command called from udev rule

I own a Thinkpad with an UltraBase (a docking station). My operating system is Ubuntu 10.10. Now, I would like to react on the "docking" event by setting the resolution of my external display ...
7
votes
1answer
1k views

Most efficient way to run 2 while loops

Currently I use two different while loops to start my window manager, dwm, and the status bar that prints system info to it. My solution at the moment is to run them consecutively in the same script, ...
7
votes
5answers
830 views

how do I wipe a server that I don't have physical access to?

I have a Godaddy dedicated server that I would like to cancel. Before I do that I'd like to do a clean format on the server to make sure that the next person who gets the server isn't able to undelete ...
7
votes
4answers
8k views

Fail2ban block with IPtables doesn't work on Debian Lenny. [moved ssh port]

I've recently decided to do some security maintenance. I saw my logs, and there were some tries against my SSH server. At first, I moved away the SSH port from the default 22. After it, I read ...
4
votes
2answers
10k views

sed one-liner to delete everything between a pair of brackets?

I am working with some text that is full of stuff between brackets [] that I don't want. Since I can delete the brackets myself, I don't need the one-liner to do that for me, but I do need a one-liner ...
0
votes
1answer
609 views

How to switch between workspaces in ubuntu

I sent a window to another workspace in Ubuntu 10.04 but I am not able to go to that workspace. How do I do that ? Please let me know.
4
votes
2answers
4k views

Is there a software like Nokia Ovi Suite for syncing Nokia symbian phones with GNU/Linux?

I have been looking unsuccessfully for many days for a nice linux software similar to the Nokia Ovi Suite or Nokia PC Suite for syncing Messages, Contacts etc in Ubuntu/Fedora. There were rumors ...
0
votes
0answers
41 views

How to change ALL the postfixes of files in a single directory, single command [duplicate]

Possible Duplicate: How to clean up file extensions? have a directory full of files ending with .JPG I need to change them all to .jpg How?
3
votes
1answer
806 views

Is there a way to stop screensaver on keyboard only?

Let's say you have screensaver running. When you move your mouse or hit any key on keyboard screensaver will be stopped. The problem is that with modern, laser based mice, slight vibration of ...
2
votes
1answer
205 views

'who' has no output

I'm new to Arch Linux, and I just built my system up. But when I ran who in urxvt, I got nothing. Anyone know what's going on? BTW. I use Slim + OpenBox. And here are parts of my configure files. ...
3
votes
3answers
606 views

Have to reinstall NVidia driver on every reboot

I am having an issue with my Nvidia driver after the latest update. Now, Every time I reboot the machine there is some conflict between two different version and I have to reinstall the driver before ...
1
vote
2answers
524 views

How do I compile Python 3.2 on NetBSD? Error code 127

I'm getting strange errors when I try to compile Python 3.2 on NetBSD 5.1: python ./Objects/typeslots.py < ./Include/typeslots.h > ./Objects/typeslots.inc python: not found *** Error code 127 ...
3
votes
1answer
618 views

What does this error mean when installing namecoin?

I'm trying to set up namecoin, but I get the following error on running makefile.unix: $ g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=0 -o ...
0
votes
1answer
444 views

Which linux distro is good as a VPS in parallels? [closed]

I will use Parallels Virtuozzo Containers for virtualization and have a good server machine. Which linux distro is good to use? I am new at parallels and vps. I have CentOS 5, Debian 5.0 Lenny and ...
7
votes
2answers
2k views

Process descendants

I'm trying to build a process container. The container will trigger other programs. For example - a bash script that launches running background tasks with '&' usage. The important feature I'm ...
0
votes
2answers
4k views

fedora 15, oracle 11: can't login using sqlplus

So yesterday I was fighting with importing cx_Oracle and it finally worked. However, I could not connect to the database. So I checked sqlplus to find out, whether I can connect to my Oracle database ...
0
votes
1answer
116 views

How to change profile to search current directory?

I would like to change my profile so that I can execute programs in the current directory without ./. In other words: $ foo.sh would accomplish what currently happens with: $ ./foo.sh I'm new ...
3
votes
1answer
3k views

“Error: permission denied” error from Transmission Client

i have done the following on my Asus WL-520gu Installed the dd-wrtv24-sp2 mini svn:13064 Updated for usb support Installed optware package Activated the transmission client but i keep getting a ...
6
votes
5answers
4k views

vim editing/switching between multiple files efficiently in large directory structures

I am by no means a vim power user, I am just beginning to grasp the advanced motions and commands with vim. But there's one drawback that I can't seem to get around. I grew up with graphical ...
2
votes
1answer
808 views

fedora 15, oracle 11, python3: can't find or open libclntsh.so.11.1

I am trying to use cx_Oracle on Fedora 15 with Oracle 11. I have install Oracle and InstantClient rpms and also cx_Oracle rpm for CentOS. I am exporting ORACLE_HOME and other like this: export ...
4
votes
4answers
8k views

What is a command line alternative to top for finding current CPU utilization that isn't dependent on screen width?

If I run top -p <myPID> -n 1 with a terminal that isn't wide enough, the CPU utilization % is omitted from the output. When trying to find a process' cpu utilization via bash scripting, this is ...
1
vote
1answer
484 views

How do I get QEMU to open without a BadWindow error after ssh'ing with X11 forwarding?

After ssh'ing to a machine (with -X) I run qemu and get the following: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource ...
8
votes
3answers
23k views

Recursive chmod only folders or only files via script or nautilus menu?

This has been discussed before here. What I'd like to know is how to turn these: Recursive chmod only files within this folder: find . -type f -exec chmod 0600 {} \; Recursive chmod only folders ...
0
votes
1answer
1k views

Conky buffer too small?

e.g.: my sample conkyrc (the last line is the only important part!): background yes use_xft yes xftfont Terminus:size=8 xftalpha 0.8 update_interval 5.0 total_run_times 0 double_buffer yes own_window ...

15 30 50 per page