7
votes
3answers
194 views

Setting up a unix powered network

I want to set up several computers on a LAN, all connecting to one unix server. The primary goal being that the user accounts should only exist on the server. So that any user could access his normal ...
7
votes
4answers
1k views

Keeping config files synced across multiple pc's

I have a few different linux machines and a lot of config files (and folders) on each. For example: ~/.ssh/config ~/.config/openbox/rc.xml ~/.config/openbox/autostart.sh ~/.scripts/ ( folder ) ...
4
votes
6answers
541 views

Attempts to unify Linux and other free Unix?

It's such a pain when you don't know what distribution to choose. It's such a waste of time and effort for developers to port stuff from one distribution to another. It makes Linux/Unix more ...
3
votes
2answers
781 views

Does the Linux PreemptRT patch benefit desktop users?

Does the PREEMPT_RT patch (real-time kernel) have any benefit for regular desktop users?
4
votes
2answers
966 views

dash compatibility to bash

Wikipedia says that dash executes faster than bash. My question is, if I set /bin/sh to dash, will all scripts that use /bin/sh in their shebang line that was intended for bash work under dash?
9
votes
5answers
3k views

Benefit of kernel module compiled inside kernel?

What's the benefit of compiling kernel modules into the kernel (instead of as loadable modules)?
2
votes
1answer
312 views

Kernel memory allocator patch

Is there any patch for Linux kernel to use different memory allocators, such as ned allocator or TLSF allocator?
10
votes
6answers
6k views

Compiling GNU/Linux with -O3 optimization

It's said that compiling GNU tools and Linux kernel with -O3 gcc optimization option will produce weird and funky bugs. Is it true? Has anyone tried it or is it just a hoax?
20
votes
4answers
5k views

Can I launch a graphical program on another user's desktop as root?

Following are other questions which I think I need to know: From a non X Session? (meaning root isn't logged into X) If multiple people were logged in on X, could I auto-detect who was on which ...
5
votes
2answers
752 views

Good tutorial for setting up a KVM/Xen box and advice on which would be better

I've got a dual xeon, 2GB, 75GB hd server that I'd like to turn into my dedicated virtual environment. Currently I'm using VirtualBox locally to run a mock cluster for Cassandra and Nginx/Haproxy, ...
5
votes
2answers
559 views

modify path globally

Is there a standard for $PATH and the order of things that are supposed to be in there? out of the box Arch Linux doesn't have /usr/local/bin in the $PATH. I want to add it but I'm not sure if there's ...
13
votes
2answers
6k views

Break a large file into smaller pieces

How do I break a large, +4GB file into smaller files of about 500MB each. And how do I re-assemble them again to get the original file?
9
votes
2answers
394 views

Screen doesn't always shut off on its own

It seems like when I have certain web pages focused, my screensaver will kick in, but the screen won't turn itself off. Does anyone have any ideas why this might be? Is there a way to disable whatever ...
2
votes
1answer
2k views

Can't reach DNS through wireless router

I've got a Ubuntu 10.04 laptop, and recently it's had some odd networking problems. It's on the home wireless router, supplied by the phone company, and has no problem talking to anything on the ...
2
votes
3answers
921 views

Editing grub menu

I'd like to edit the Grub menu that comes up, to move one line and remove others. I have an Inspiron 1420 that came with Ubuntu 7.10. When it needed a new drive, I installed Windows 7, the original ...
0
votes
1answer
412 views

Vlc Media Problem in Fedora!

I am using Fedora 13 and my VLC media player is showing this problem for the past one week. How do i rectify this error. Summary: SELinux is preventing /usr/bin/vlc from loading ...
17
votes
6answers
15k views

Grabbing the extension in a file name

How do I get the file extension from bash? Here's what I tried: filename=`basename $filepath` fileext=${filename##*.} By doing that I can get extension of bz2 from the path /dir/subdir/file.bz2, ...
10
votes
1answer
7k views

Meaning of root:wheel

What does root:wheel mean in the following? chown root:wheel myfile
4
votes
2answers
707 views

How to Update Apache to allow Pseudostreaming on CENTOS 5.5 & WHM

I can't figure out how to get pseudostreaming on my Apache server (CENTOS 5.5 i686). I've read this article and these install instructions. I cannot install httpd-devel or mod_ssl via yum; I get ...
2
votes
1answer
205 views

Neworking getting Disabled

I am using Fedora 13 and its working great. The only problem which I am facing is that the networking gets automatically disabled if I put my system on the "SUSPEND" mode for > 30mins. I am unable to ...
5
votes
1answer
242 views

Whenever I type some wrong command, my terminal tries to run that command in the background

Something strange started happening to my terminal. Whenever I type some wrong command it tries to run that command in the background. hegeek@colinux: ~# l [9]+ Stopped l thegeek@colinux: ~# ...
2
votes
1answer
470 views

“Xlib: extension ”Generic Event Extension“ missing on display” warnings

How to fix Xlib warning: Xlib: extension "Generic Event Extension" missing on display? A Google search returns many results but I still can't fix it :(. I Tried sudo apt-get install libxcb-event0 but ...
10
votes
3answers
9k views

How can I move files by type recursively from a directory and its sub-directories to another directory?

What would be a good way to move a file type from a directory and all of its sub-directories? Like "move all *.ogg in /thisdir recursively to /somedir". I tried a couple of things; my best effort was ...
4
votes
2answers
5k views

What is sendmail referring to here?

When I install sendmail from the debian repos, I get the following output: Disabling HOST statistics file(/var/lib/sendmail/host_status). Creating /etc/mail/sendmail.cf... Creating ...
4
votes
1answer
720 views

Zsh theme guides [closed]

Does anyone know good tutorials (or books) for what goes into writing a theme?
2
votes
1answer
484 views

Emacs mode in zsh: M-b M-f etc. show weird symbols

I have set up zsh to use emacs mode. But typing Alt+f or Alt+b inserts weird symbols (accented letters and so on), rather than moving around by word in the shell like it should. Since I don't ever ...
16
votes
3answers
3k views

How to redirect output of a running program to /dev/null

I know that in order to suppress the output of a program I can redirect it to /dev/null, for example to hide all error and warning messages from chromium I can start the program like this ...
1
vote
3answers
235 views

Directory filenames with sed with whitespaces

I'm working on a script and I'm stuck, even with the help of teh googles. Here's my code: for FOLDER in `find . -type d | sed "s#^.#$(pwd)#" | sed 's/ /\ /g'` do echo "$FOLDER" done This will ...
17
votes
2answers
3k views

Measure pipe throughput in the shell

There is a shell command that allows to measure how fast the data goes through it, so you can measure the speed of output of commands in a pipe. So instead of: $ somecommand | anothercommand you ...
3
votes
1answer
269 views

Invalid greeting from server

I'm trying to csup and i'm getting "Invalid greeting from server" su-3.2# /usr/bin/csup -z -h cvsup.freebsd.org /usr/share/examples/cvsup/standard-supfile Connected to 72.233.193.64 Invalid greeting ...
2
votes
4answers
4k views

Bash eval array variable name

Here is my bash case: First case, this is what I want to do "aliasing" var with myvarA: myvarA="variableA" varname="A" eval varAlias=\$"myvar"$varname echo $varAlias Second case for array variable ...
7
votes
3answers
7k views

How do I change folder timestamps recursively to the newest file?

I was wondering if anyone knows how to change the timestamps of folders recursively based on the latest timestamp found of the files in that folder. So for example: ...
50
votes
8answers
12k views

How do I delete a file whose name begins with “-” (hyphen a.k.a. dash or minus)?

How do you remove a file whose filename begins with a dash (hyphen or minus) -? I'm ssh'd into a remote OSX server and I have this file in my directory: tohru:~ $ ls -l total 8 -rw-r--r-- 1 me ...
4
votes
2answers
2k views

Remove a corrupted file in a Linux system

How to remove a file that is corrupted? In Linux (Fedora based), when I type: ls -l I get drwxr-xr-x. 2 dmiller3 dmiller3 4096 Jul 26 13:57 SomeFile ?????????? ? ? ? 4096 ...
2
votes
2answers
217 views

Can I send the ouput of a log to a command as an argument to an option in syslog-ng?

According to the documentation I can execute a program somewhat like so: destination knotifier { program('/path/to/executable'; }; And it will send the log to the stdin of the executable. But what ...
1
vote
2answers
267 views

dpkg and google-chrome don't get along with gnome

Install fine. Works fine. Next day the logo and apps menu entry is gone. Doesn't seem to matter what I do. On installation, GDebi refused to install the package, and crashed instead, so I used dpkg ...
5
votes
1answer
1k views

CLI interace to KDE's notifier

I think KDE's notifier is pretty sweet. I was thinking... how useful might it be if my system logs were also sent there, so they would pop so I could see them. I think the first step of this is to ...
2
votes
1answer
536 views

Ubuntu Remap script for UK Logitech Cordless Wave Keyboard

I have just bought a Logitech Cordless Wave UK Keyboard and mouse and I'm trying to get the keymapping sorted but not having much luck! The main problem I have is none of the key seem to give me the ...
21
votes
11answers
8k views

the lightest way to have a GUI in Linux? [closed]

I have been using Gnome and KDE for a while, and I am now running Compiz standalone... Regarding system resource, I think the most heavy ones are feature-rich desktop environments (Gnome, KDE), then ...
38
votes
6answers
29k views

Why doesn't my Bash script recognize aliases?

In my ~/.bashrc file reside two definitions: commandA, which is an alias to a longer path commandB, which is an alias to a Bash script I want to process the same file with these two commands, so I ...
27
votes
5answers
9k views

Is Mac OS X UNIX?

I have this argument recently saying Mac OS X was not UNIX, but Unix-like. I know there is a Single Unix Specification and those spec complaint could use the UNIX trade mark. Is Mac OS X an UNIX ...
2
votes
2answers
4k views

How do I change Xfce 4 “theme” tab colors?

I recently switched over to Xfce and really enjoy it. However, when I went in to my settings to change the appearance, the theme that I liked best was "Xfce-dusk" with one exception: The default ...
15
votes
3answers
17k views

How to find binary executables within a directory

How do I list all binary executable files recursively within a directory? I use find command like this: find /mydir/mysubdir -executable -type f All executable files are listed (excluding ...
4
votes
3answers
694 views

Changing my toolchain architecture (in gentoo)

This is somewhat gentoo-specific, so I'll explain it in that context, then try to abstract it to a generic linux machine. I accidently set my CHOST to "i686-pc-linux-gnu" in the beginning, not paying ...
18
votes
10answers
17k views

Linux replacement for Apple Keynote software?

Sorry for my ignorance, this is a newbie question: I am trying to migrate from Mac OS X to a Linux distribution, maybe/probably Ubuntu. One of my favorite applications for the Mac was Apple Keynote, ...
7
votes
1answer
147 views

Navigate through a stack of locations in vim?

Typing `` at location X brings you back to the last visited location in the text file. Hitting it again brings you back to X This switching is similar to Ctrl+6 to open the last opened file. But how ...
12
votes
7answers
7k views

bash directory shortcuts

When I type cd ~foo, I'd like bash to take me to some directory foo as a shortcut for typing the full directory path of foo. and I'd like to be able to cp ~foo/bar.txt ~/bar.txt to copy a file from ...
0
votes
2answers
242 views

Disable apache's auto directory “/” completion

I'm in the following situation: I have a directory named test at the top level of my site. When I request http://mysite.com/test, apache automatically adds a trailing slash and gives me ...
5
votes
1answer
1k views

vim auto indenting even after setting noai option

I am using vim 7.2 from putty terminal. Even if I run set noai it seems vim still trying to indent code. I am copying my code from Notepad++ to vim. following is from Notepad++ and following what I ...
0
votes
2answers
347 views

Why are the X11 colours different from Wikipedia's?

In this Wikipedia article it gives a bunch of X11 colours but they are different from the ones on my FreeBSD system. For example I have no "aqua" or "fuchsia" but, e.g. aquamarine1, etc. and many ...

15 30 50 per page