5
votes
1answer
491 views

Explain to a Linux user how do BSD/OSX drivers work

Linux drivers come in a form of kernel modules (*.ko files), which can be given parameters when loaded into the kernel and usually live in /lib/modules/<kernel version>. What's the similar ...
7
votes
2answers
927 views

Has anyone got any performance numbers comparing IIS and .NET to Cherokee and Mono?

I am setting up a development server and want to set it up to serve ASP.NET pages using Mono. I am planning on using Cherokee and Mono (http://www.cherokee-project.com/doc/cookbook_mono.html) and ...
1
vote
2answers
17k views

How do I set the default ftp root folder for an Ubuntu user connecting to VSFTPD?

How do I set/change the default ftp root folder for a specific user? I want to be able to create a developer account that homes to different sites on a development box depending on what is currently ...
15
votes
5answers
941 views

How to compile and install programs from source

This is an issue that really limits my enjoyment of Linux. If the application isn't on a repository or if it doesn't have an installer script, then I really struggle where and how to install an ...
4
votes
6answers
985 views

Identity Management with ActiveDirectory

What is the best, or most reliable, way to manage my Unix/Linux user accounts with ActiveDirectory? Or, is this even feasible?
10
votes
3answers
12k views

What are the (dis)advantages of ext4, ReiserFS, JFS, and XFS?

What purpose is each suitable for?
10
votes
9answers
2k views

What features does Darwin have that other Unixes don't, or vice versa?

Does Darwin have any features that are specific to it? Do other Unixe(s) have features that Darwin lacks?
17
votes
5answers
2k views

Is automake and autoconf the standard way to compile code?

I sometimes compile apps from source and I've either been using: ./configure make sudo make install But recently, I came across ./autogen.sh which generates the configure and make scripts for me ...
80
votes
8answers
93k views

Colorizing your terminal and shell environment?

I spend most of my time working in Unix environments and using terminal emulators. I try to use color on the command-lin, because color makes the output more useful and intuitive. What are some good ...
1
vote
2answers
411 views

Is their a 'friction free' way to convert RAID1 to RAID5?

What's the best way to convert Linux software RAID 1 array to RAID 5? ( I have already bought the 3rd Hard Disc !)
8
votes
10answers
1k views

Development environment for C

Looking for ideas on setting up a convenient and productive development environment for C development. I found C editing with Vim very helpful but I would like to get a wider sampling of suggestions.
20
votes
6answers
12k views

How do you create a user with no password?

In os X it's possible to have users without passwords. If you inspect them with dscl their password show up as *. This is used for system users such as users for databases like mysql, pgsql etc. ...
7
votes
1answer
617 views

How do I emulate the “Replaces:” function of a Debian package in an RPM?

I need to use NSCD, the Name Service Caching Daemon, to decrease load on our LDAP server, on my SLES10 systems. In my experience, the default nscd, supplied as part of GNU LibC, is garbage, and will ...
26
votes
3answers
5k views

Colors in Man Pages

When I look at a man page in my 'console' (not an xterm) I see some coloration, but I don't get this in my xterm's (e.g. konsole) is there any way I can enable this? hopefully a fairly simple ...
14
votes
8answers
2k views

What are the best general purpose programming tools to complement Vim?

I've been using Vim as my text editor for a little while now and I feel like I'm taking the long way to do anything. I use ctags to tag my code base for navigation and I use grep (although ...
20
votes
3answers
3k views

chroot “jail” - what is it and how do I use it?

I have heard/read a lot about the chroot jail under linux but have never yet used it (I use Fedora day-to-day), so what is a chroot "jail"? When and why might I use it/not use it and is there anything ...
6
votes
3answers
7k views

How do I connect a serial terminal to a KVM instance?

Perhaps I'm misunderstanding what KVM is capable of, but the ability to add/remove hardware on the VM seems to imply I can add a serial port that then acts as a terminal. So, my questions are: ...
8
votes
6answers
850 views

Best way run a command on each file in a directory tree

There appear be a number of ways to do this including loops in shell script, find and xargs. Which of these is best, and which is most portable?
6
votes
4answers
1k views

Grub location - did it go to the mbr or elsewhere?

I have a dual boot setup with linux and Windows 7 with Grub as the bootloader. My partition table looks like this: 100 MB System Reserved Windows 7 500 GB Windows 7 100 MB /boot - ext2 500 GB linux, ...
42
votes
11answers
17k views

Recommended reading to better understand Unix/Linux internals [closed]

I've worked on *nix environments for the last four years as a application developer (mostly in C). Please suggest some books/blogs etc. for improving my *nix internals knowledge.
20
votes
3answers
2k views

How can I set the processor affinity of a process on Linux?

The question is all in the title: How can I set the processor affinity of a process on Linux?
12
votes
4answers
4k views

Duplicating a Yum-based Linux installation

Given an installation based on Yum (specifically in my case, a Scientific Linux 5.1 x86_64 installation), how would I duplicate the installed programs and utilities to a new machine based on Fedora ...
24
votes
7answers
6k views

What Unix commands can be used as a semaphore/lock?

I want to run multiple Bash shell scripts in parallel. However, I want to avoid race conditions. What Unix commands are truly atomic that I could use for this purpose, and how can I use them?
17
votes
6answers
914 views

How can I highlight matches using GNU grep?

I have seen on some Linux, that grep is configured to highlight the match, and print the matching file. How can I configure grep to highlight matches?
4
votes
2answers
837 views

Desktop overlay program showing CPU, HDD, etc. stats

In different screenshots of people's Linux desktops, I've seen different apps that overlay the desktop with information about their computer. Often this gadget/app shows CPU and HDD information. ...
30
votes
3answers
4k views

What does size of a directory mean in output of 'ls -l' command?

What does size of a directory mean in output of ls -l command?
5
votes
3answers
244 views

RAID 1 in linux

I'd like to setup RAID 1 with two drives in linux. I don't have a hardware RAID controller and don't want to buy one, so what is the best software RAID option for linux? Note: If it makes a ...
13
votes
1answer
25k views

FreeBSD: How to fix “ping: sendto: No buffer space available”?

I'm trying to ping a remote host, but I get an error. # ping 192.168.80.1 PING 192.168.80.1 (192.168.80.1): 56 data bytes ping: sendto: No buffer space available ping: sendto: No buffer space ...
5
votes
2answers
2k views

Use wpa_supplicant without plain text passwords

I'm running gentoo on my laptop, and I'm currently using wpa_supplicant to handle wifi. My configuration works and I can connect, but it is required to type in the plain text password into the ...
5
votes
1answer
395 views

How can I setup Apache on Linux to stream WMV-HD to Xbox 360?

What I am looking for is a free and open source solution. If the distro I use matters, it is Open SUSE. VLC supports only WMV1&2.
66
votes
17answers
7k views

Where should I put software I compile myself?

I need to compile some software on my Fedora machine. Where's the best place to put it so not to interfere with the packaged software?
14
votes
5answers
4k views

What is using this network socket?

I'm trying to use NTP to update the time on my machine. However, it gives me an error: host # ntpdate ntp1.example.org 10 Aug 12:38:50 ntpdate[7696]: the NTP socket is in use, exiting What does the ...
10
votes
3answers
285 views

Which less popular shells do you use and what are their advantages? [closed]

Apart from what you can (arguably?) call the more popular shells (bash, csh, Korn, zsh) what other ones do you know and use and what unique features do they have? ps - One answer per shell would be ...
10
votes
5answers
12k views

Stop program running at startup in Linux

How do I stop a program running at startup in Linux. I want to remove some apps from startup to allow them to be managed by supervisord e.g apache2
25
votes
12answers
3k views

How can I tweak my Linux desktop to be more responsive?

I have the experience that Linux works fine until the physical memory is exhausted. As soon as swap space is used the performance is severely degraded and the GUI becomes unresponsive. This problem ...
29
votes
6answers
6k views

what does the @ mean in ls -l?

I am using Mac OSX. When I type ls -l I see something like drwxr-xr-x@ 12 xonic staff 408 22 Jun 19:00 . drwxr-xr-x 9 xonic staff 306 22 Jun 19:42 .. -rwxrwxrwx@ 1 xonic staff 6148 25 ...
13
votes
6answers
6k views

What's the best way to partition your drive?

I usually install Linux on a single partition since I only use it as a personal desktop. However every now and then I reinstall the box and what I simply do is to move my files around with an ...
8
votes
5answers
2k views

On Linux, is there an rc.local equivalent for shutdown?

I've got a few commands that I run in rc.local so they are run last in the startup sequence. I would like to know if there is a similar facility for undoing the results of those commands at shutdown, ...
14
votes
13answers
1k views

Distros that support compiling from source

A long time ago I used to use FreeBSD with its ports system and after that Gentoo for portage in order to install applications via compiling from source. I did this in order to directly target my ...
22
votes
7answers
5k views

How can I use DD to migrate data from an old drive to a new drive?

I am upgrading the internal SATA hard drive on my laptop from a 40G drive to a 160G drive. I have a Linux/Ubuntu desktop which has a SATA card. I would actually like to do the same thing for a couple ...
10
votes
5answers
15k views

Which cell phones run Linux?

I know of the FreeRunner, but are there any other Linux cell phones out there? Are they any good?
10
votes
4answers
967 views

What makes a portable mp3 player work well with Linux?

I'm in the market for a new portable mp3-player, and will be connecting it mostly to a Linux box, but occasionally to a Windows Vista machine as well. I'm wondering what qualities I should be looking ...
6
votes
4answers
1k views

Looking for ARM- or MIPS-based computer (netbook or similar size) to play with

I am bored and want to play with a netbook or other small computer. Can anyone recommend something? Requirements: ARM or MIPS CPU Can run Windows CE 6 and/or Linux (preferably dual-boot) Linux ...
5
votes
2answers
160 views

Sync Palm Centro pictures on Linux

I have a Palm Centro, and I'd like to copy the pictures to my computer. However, I'm using Ubuntu, and I don't want to switch to Windows or use Palm's horrible sync application (through Wine.) Is ...
4
votes
3answers
3k views

Transcoding MJPEG Stream to FLV or MP4

I want to transcode MJPEG stream that comes from IP camera (http://xx.yy.zz.tt:8080/video.cgi) to FLV or MP4 stream under Linux OS so that users can play the file using a web based Flash player such ...
4
votes
2answers
3k views

Install a GUI (KDE) on a centos 5.3

I'm trying to install KDE on a vps of centos 5.3. These are the steps: yum install kdepim yum install vnc vnc-server x11-xorg vncserver vncserver -kill :1 vim ~/.vnc/xstartup #(replaced the last ...
10
votes
7answers
171 views

Record screen in X

How can I record all activity on the screen for a certain amount of time? I know about tools like xwd that capture a still image; can they be extended to record video? I'd prefer not using any fancy ...
6
votes
2answers
890 views

Viewing foreground process using ps

I can see the background process using ps. But Is there a way to view the foreground process? For example, $nohup process1 & then ps -ef | grep "process1" would display the process ...
5
votes
1answer
300 views

What is Linux for VMS DCL “ON ERROR”?

Using VMS DCL command scripts one can catch errors by using the on error command: $ on error then goto MyErrorHandler $ directory samiam.txt $ delete x.txt $ exit $MyErrorHandler: $ print ...
11
votes
3answers
3k views

bash find xargs grep only single occurence

Maybe it's a bit strange - and maybe there are other tools to do this but, well.. I am using the following classic bash command to find all files which contain some string: find . -type f | xargs ...

15 30 50 per page