1
vote
1answer
627 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
351 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
1k 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
826 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 ...
7
votes
3answers
12k 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
786 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. ...
51
votes
6answers
2k 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
537 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
684 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
372 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?
8
votes
5answers
2k views

How to delete line if longer than XY?

How can i delete a line if it is longer than e.g.: 2048 chars?
3
votes
1answer
378 views

NetBSD Serial Port Gateway

I have an old Toshiba Satellite 4015CDT, with Pentium II MMX, 32MB RAM, 4GB HDD. It also has one USB 1.0 port, parallel and serial ports, a 3.5" floppy drive and a CD-ROM drive (almost dead). Also, ...
4
votes
2answers
7k views

Configuring mouse for right+left button simulating middle click (for copy/paste)

I was using the mouse copy-paste extensively, until recently, when some OpenSuSe upgrade reconfigured this on all my machines. Now the scrollbuton is the one to paste (which I hate, since it's hard to ...
33
votes
10answers
14k views

How do I find how long ago a Linux system was installed?

How can I find the time since a Linux system was first installed, provided that nobody has tried to hide it?
1
vote
1answer
1k views

Reading audio stream data from internet radio and pushing it to temporary file

I'm in the process of setting up an audio processor on my remotely hosted CentOS box. The audio processor itself is command line based, and after speaking with the author he explained to me that it ...
4
votes
3answers
564 views

Best directory for shared scripts

What is the conventional directory to keep shared scripts that might be used by more than one user? I've read through this overview of the standard file system hierarchy, but it doesn't seem to ...
20
votes
6answers
9k views

How to check if bash can print colors

I want to know if there's any way to check if my program can output terminal output using colors or not. Running commands like less and looking at the output from a program that outputs using ...
6
votes
2answers
9k views

Why is my variable being localized in one 'while read' loop, but not in another seemingly similar loop [duplicate]

Why do I get different values for $x from the snippets below? #!/bin/bash x=1 echo fred>junk ; while read var ; do x=55 ; done <junk echo x=$x # x=55 .. I'd expect this result x=1 cat ...
4
votes
1answer
587 views

Does IO prioritise by the very nature of renicing a task?

The CFQ IO scheduler supports priorities though I am not sure that Deadline does (I believe not). The premise is that when I renice a task it gets a larger share of CPU under the Completely Fair ...
5
votes
6answers
11k views

How does a kernel mount the root partition?

My question is with regards to booting a Linux system from a separate /boot partition. If most configuration files are located on a separate / partition, how does the kernel correctly mount it at boot ...
68
votes
8answers
35k views

Convince apt-get *not* to use IPv6 method

The ISP I work at is setting up an internal IPv6 network in preparation for eventually connecting to the IPv6 internet. As a result, several of the servers in this network now try to connect to ...
1
vote
2answers
1k views

iptables rule for local network with free internet blocking unrequested connection from internet to server?

I have a home server (with slackware 13) with a eth0 for the local network and a eth1 for the internet (cable modem with dynamic ip). While I do want to learn more about iptables I am still on the ...
8
votes
3answers
389 views

Which version of X introduced feature Y?

A big part of my daily job is developing software for use on machines with different versions of the same software, like bash, find, and grep. When encountering a feature which would be useful for ...
1
vote
2answers
195 views

ssh fails for an unix server due to dual layer of authentication

I have a server which has dual authentication layer. Meaning first a user has to login to the box using his userid and then use a group id to access the development folder (say). Now I have a script ...
11
votes
2answers
7k views

How to investigate cause of total hang?

My Arch machine sometimes hangs, suddenly not responding in any way to the mouse or the keyboard. The cursor is frozen. Ctrl-Alt-Backsp won't stop X11, and ctrl-alt-del does exactly nothing. The ...
0
votes
1answer
101 views

Kernel - Starting the application

I placed the uBoot loader and the kernel into the raw flash image. This does not contain any root file system. (I copied uBoot and kernel image using dd command to a flash image). Now i have to ...
2
votes
1answer
719 views

Can I redirect stdout from a background application after starting it? [duplicate]

Possible Duplicate: redirect output of a running program to /dev/null Is it possible to change stdout after starting something as a background application in the command line? Say I run ...
2
votes
3answers
5k views

Printing unique lines

Is there some better solution for printing unique lines other than a combination of sort and uniq?
1
vote
2answers
391 views

Google chat video - Fedora / Google Chrome

The webcam is working, because i can see me with the "Cheese" app. ok..... I installed: google-talkplugin_current_i386.rpm then i opened chrome, and this is what i see: ...
2
votes
1answer
9k views

How do I determine LVM mapping on a physical device?

I have a server (SUSE 11.5) that has two disks. There is only one volume group (vg01). How do I determine the physical device on which that vg exists?
39
votes
7answers
83k views

How to overwrite target files with mv?

I have a ton of files and dirs in a subdirectory I want to move to the parent directory. There are already some files and dirs in the target directory which need to be overwritten. Files that are only ...
2
votes
1answer
927 views

Debian lenny 5 install php-dev

I'm trying to install apt-get install php5-dev but when I run the command Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
5
votes
3answers
6k views

How to cd to a Windows file share?

At work, I spend a lot of time manipulating files on a networked computer that's running SME Server (but that's set up for Windows filesharing, if that somehow makes a difference). I have been ...
3
votes
2answers
394 views

Drawing a state machine from logs

I have logs in the following format: 03/22/2011 14:45:06;0001;PBS_Server;Svr;PBS_Server;svr_setjobstate: setting job 35707.arien.ics.muni.cz state from EXITING-RETURNSTD to EXITING-STAGEOUT (5-51) ...
1
vote
2answers
762 views

OpenWrt ssh host identification with dyndns

If i ssh to my remote OpenWrt router ["via DynDNS"] I get the message @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ Ok, i delete the old line in ~/.ssh/known_hosts, add the new one ...
2
votes
1answer
844 views

Where is CONFIG_COMPAT_VDSO in make menuconfig?

I'm trying to compile a Linux Kernel to run light and paravirtualized on XenServer 5.6 fp1. I'm using the guide given here: ...
17
votes
6answers
21k views

How can I run a script immediately after connecting via SSH?

I started to ask this question but answered it while I had it open. I'm going to post this question, follow it up with my solution and leave it open to other potential solutions. <backstory> ...
1
vote
3answers
580 views

Why does Crontab give me an error with my PHP script when running it from the terminal does not?

I'm having some problems with running the Crontab with PHP files. I have this same php scripts running in the Crontab for more than 6 months but some days ago mysteriously they stopped to execute the ...
9
votes
7answers
14k views

How do I work with GUI tools over a remote server?

I have an Ubuntu server running on EC2 (which I didn't install myself, just picked up an AMI). So far I'm using putty to work with it, but I am wondering how to work on it with GUI tools (I'm not ...
2
votes
1answer
177 views

Only output printable chars OpenWrt

perl is not a very good idea, because it's an OpenWrt router, so not enough space for it. "cat -v" doesn't works, because it doesn't supports the "-v" option Any ideas? :\ Here's a bad text: ...
9
votes
6answers
2k views

how to type “smart quotes” (U+201C, U+201D)

It's like this: “ (U+201C) ” (U+201D).
2
votes
3answers
818 views

Unmet dependencies

I am trying to compile vim and install with "--enable-pythoninterp" flag, which needs the python-dev package. INFO I obtained the vim source from ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 Vim7.3 ...
0
votes
2answers
4k views

How can I get the error code (exit code) of “xdg-mime query filetype” command?

I ran xdg-mime query filetype <file name> to check the MIME type of a file, and it failed. How can I print the error code (exit code) of the xdg-mime command? I want to know what error ...
2
votes
2answers
1k views

Why does `xdg-mime query filetype …` fail to find a new added file type?

I installed a new file type to share MIME database. But xdg-mime query filetype cannot tell the new type. This problem only happens on my own Linux OS which does not use GNOME or KDE as its desktop. ...
28
votes
3answers
27k views

Restricting an SSH/SCP/SFTP user to a directory

Is there a simple way to restrict an SCP/SFTP user to a directory? All methods that I've come across require me to set a chroot jail up by copying binaries, but I don't think that should be necessary. ...
6
votes
2answers
7k views

Why can't root on one machine change nfs mounted content from another machine?

On my NFS server, I have the following export defined: #NFS exports Database /shared -alldirs -network=192.168.1 -mask=255.255.255.0 On my NFS client: 192.168.1.7:/shared /shared nfs rw 0 0 ...
1
vote
1answer
130 views

What is the meaning of the number part of man pages? [duplicate]

Possible Duplicate: What do the numbers in a man page mean? As in the "(1)" in git-svn(1)
19
votes
2answers
6k views

Do you need a shell for SCP?

I'm allowing a friend a local account on my machine, exclusively for SCP. Can I specify his account's shell as /bin/true, or in any other way limit the account, while still allowing SCP?
0
votes
1answer
2k views

Something to convert a makefile.am to project in Visual Studio (2005)

I'm interested in porting a library to Windows so that I can contribute to this library's project. This library has a Makefile.am, and I can sort of figure out how the library should be built (but I'm ...

15 30 50 per page