9
votes
1answer
4k views

What's the difference between fork() and vfork()?

I would like to understand in detail the difference between fork() and vfork(). I was not able to digest the man page completely. I would also like to clarify one of my colleagues comment "In ...
2
votes
3answers
2k views

How is paging managed in the absence of swapping?

How is paging managed in the absence of swapping. If that is the case, how will a page fault be managed? What I meant is, if there is no availability for swapping, then how is Paging managed. I ...
6
votes
1answer
3k views

conky: proper column alignment

Say I want something like the following in my .conkyrc NAME PID CPU% MEM% ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${top name 2} ${top pid 2} ${top cpu 2} ...
9
votes
1answer
857 views

Segmentation fault when trying to run glxgears via virtualGL

(Follow-up on How to efficiently use 3D via a remote connection?) I installed the amd64 package on the server and the i386 one on the client. Following the user's guide I run this on the client: ...
3
votes
2answers
1k views

block specific user to send mail

I am using sendmail in RHEL 5. I have three mail accounts for the users jack, bob and alice. I want to make sure that user bob can send mail to alice but jack can't send mail to alice. But user jack ...
5
votes
3answers
705 views

Is it possible to support multiple processes without support for Virtual memory?

Is it possible to support multiple processes without support for virtual memory? I would like to know more about it if so.
3
votes
2answers
1k views

Can there be multiple kernels executing at the same time?

I know that Linux OS's are typically multi-programmed, which means that multiple processes can be active at the same time. Can there be multiple kernels executing at the same time?
4
votes
3answers
264 views

Best way to work through / display a tree of images sorted by size

I've got a deep directory tree containing .PNG files. I'd like to find all the .PNG files in the directory, sort them in order of size from smallest to largest, and then display every 50th image. ...
5
votes
1answer
224 views

Which tools for ASCII portfolio visualization?

I. I want to do a simple graph from timestamp YEAR-month-day to valuation, not wanting to use spreadsheets. Is there some ASCII tool for it to see it on CLI? There are over 500k lines of data, and I ...
9
votes
1answer
3k views

How can I disable bells/visualbells in vim?

How can I disable bells/visualbells in vim? I've tried: set noeb set novb .. but nothing has changed afaik. Just to be clear, I'm referring to the visual bell I get in vim when I do something ...
11
votes
1answer
4k views

Sending input to a screen session from outside

My scenario is this: I have a screen session running in a remote location. Inside this screen is a consoled-based program. When run without screen, this program starts in the terminal and accepts ...
5
votes
1answer
158 views

How to back up initial state of external backup drive?

I've picked up an HP Simplesave external drive. It comes with some fancy software that is of no use to me because I don't use Windows. Like many current consumer-targeted backup drives, the backup ...
3
votes
1answer
464 views

Easily updatable troubleshooting LiveUSB distro

I need easily updatable troubleshooting LiveUSB distro. By troubleshooting I mean that it should not have nothing fancy (X is used o display gparted etc.) but should have access to file ...
19
votes
3answers
31k views

Debian/Grub2: Moving root partition to new drive?

Does anybody have a suggestion for how to move the root partition to a new drive and set up grub2 to boot on that drive? I seem to have no luck instructing grub-mkconfig what it is I want to do (e.g. ...
7
votes
3answers
4k views

How do I jump to the next or previous word with CTRL + arrow keys in a console?

In terminal emulation applications, pressing CTRL + Left / Right arrows jumps from one word to the previous or next one. Is it possible to have the same functionality in a Linux console, whether it is ...
6
votes
1answer
443 views

Is there a BSD operating system that can be booted off a logical drive partition?

From several BSD operating systems' documentation, there is a requirement for it to be booted off a primary partition. Is there any BSD that can be booted off a logical partition in some indirect ...
7
votes
1answer
2k views

How can you schedule a computer to boot at a specific time?

Usually BIOSes have an option to schedule a time to which to boot at. Is there a Unix/Linux interface to specify the scheduled boot?
4
votes
2answers
773 views

Is there any Project Management FLOSS that has Resource leveling?

An explanation of what Resource leveling is.
7
votes
1answer
1k views

Suggestions for a command line IRC client that supports downloads?

It's been awhile since I've used IRC and the last time I did was on a windows system with mIRC. I'm interested in finding a command line client that supports downloads and some degree of automation ...
10
votes
2answers
3k views

How do I tell a script to wait for a process to start accepting requests on a port?

I need a command that will wait for a process to start accepting requests on a specific port. Is there something in linux that does that? while (checkAlive -host localhost -port 13000 == false) ...
7
votes
2answers
3k views

Turning off splitting lines in vim

One of the most annoying features of vim is splitting lines. For some reasons someone found it would be good to split lines even in whitespace sensitive formats. For example changing: echo ...
6
votes
1answer
402 views

What controls turning off during overheating on Linux

I started experience overheating (I have a few possible troublemakers for it and the cause is separate question) but I wondered what controls handling of overheating? Sometimes my computer: Halts ...
0
votes
0answers
233 views

How do I merge two *.avi files into one? [duplicate]

Possible Duplicate: How do I merge two *.avi files into one I have 2 *.avi files: cd1.avi cd2.avi Which GUI allows me to merge these?
6
votes
3answers
729 views

viewing info documentation with vim

I'm trying to use the ManPageView addon to view info documentation within vim. Although I find ManPageView very useful for, well, viewing manpages, its info-reading functionality doesn't seem to work ...
5
votes
1answer
435 views

As we call `#!/bin/perl` 'shebang', what we call `-*- perl -*-`?

The first line of a script may be in format of #! interpreter, so the shell will execute the script using the specific interpreter. This is so called shebang or shbang. Similarly, there can be some ...
5
votes
1answer
3k views

Is it possible to control which monitor is considered the primary monitor?

I just added a 2nd monitor and I ran into that oh so typical issue where the monitors are swapped. Apparently, the 2nd monitor has been identified as "monitor 0" by X.org, but it's # 2 according to ...
5
votes
1answer
2k views

Dot Matrix printer setup in Debian

I am using Debian which is similar to Ubuntu. They have 7 dot matrix printers, some of which are very old (example), which have worked since 1979 and are faster than many inkjets at printing text. ...
15
votes
1answer
2k views

Is there truth to the philosophy that you should sync; sync; sync; sync?

When I was first introduced to Linux, working at Cisco Systems in 2000, I was taught the merits of the sync command, used to flush buffers to disk to prevent filesystem corruption / data loss. I was ...
7
votes
1answer
1k views

wubi pros and cons

Do you have experience using Wubi and if so, what are the major pros and cons ? I am of course particularly interested in potential problems.
14
votes
3answers
7k views

How can I avoid the prompts when installing a FreeBSD port?

When I install a port, I am often presented with a menu screen to select configuration options. If I'm going to install a really big package with lots of dependencies, that will be extremely ...
5
votes
1answer
882 views

KDE starting without anything else (no panels, no window manager/decorator)

So, I've installed KDE in Arch Linux using the kde package, as well as phonon-xine from pacman. Maybe it's because I had GNOME before, maybe it's because I did something wrong, but when I log in from ...
7
votes
2answers
308 views

What is the state of the Linux Standard Base?

In learning some assembly programming I have found the documents of the Linux Standard Base very useful. It seems they tell me how things are supposed to be (on standard based systems), not just how ...
12
votes
1answer
2k views

Can one PC be used by two users at the same time via dual-monitor?

Since modern PCs can use two screens at the same time I wonder if it is possible to plug in two keyboards and mouses as well to have the two screens run two (more or less) independent X-sessions at ...
4
votes
4answers
2k views

Xargs and rm with a *

I am trying to execute the following command ls -d a* | xargs -i sudo rm -rf {}/* The problem is that when I add the /* part the command does not work. I want to remove the directory contents (not ...
6
votes
4answers
2k views

How to setup a “data” partition shared by multiple Linux OS'es?

Currently I have a NTFS partition that contains shared data. My rationale is, NTFS doesn't have any idea about file permissions, so I won't have any trouble using them in a multi-boot system ...
5
votes
3answers
482 views

Which filesystem to use for a partition shared with a parallel windows instalation?

On my new PC I want to install both Linux and Windows, each on their own rather small partition, and put the big rest of the 1 TB HDD in a further partition (plus swap). Which filesystem should I use? ...
8
votes
2answers
2k views

How to efficiently use 3D via a remote connection?

I have one weak PC (client) but with acceptable 3D performance, and one strong PC (server) which should be capable of running an application using OpenGL twice, i.e. once locally and once remotely for ...
4
votes
1answer
660 views

Is it possible to boot an x86 Linux kernel using both 80x25 text mode consoles and VESA framebuffer consoles?

The Linux kernel documents that you can choose to boot Linux with VESA framebuffer consoles instead of the default 80x25 text mode consoles. For text application testing purposes, one may need both ...
11
votes
4answers
4k views

How to give HTTP traffic higher priority?

When I surf the web, I find that I have to pause my BitTorrent client, to help improve the painfully slow speed (I'm sadly on a 384kbps line). It's not too nice to have to do this manually every time. ...
12
votes
1answer
2k views

Add arguments from previous command to zsh completion

In zsh (as well as bash) you can use some history word expansions to denote arguments from previous commands. This example shows getting the 2nd parameter from the previous command in history with ...
11
votes
3answers
1k views

saving data from a failing drive

An external 3½" HDD seems to be in danger of failing — it's making ticking sounds when idle. I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious ...
23
votes
1answer
7k views

What are ConsoleKit and PolicyKit? How do they work?

I've seen that recent GNU/Linux are using ConsoleKit and PolicyKit. What are they for? How do they work? The best answer should explain what kind of problem each one tries to solve, and how they ...
8
votes
2answers
10k views

How to debug the input from an input-device (/dev/input/event*)

I have a IR reciver that is using the imon-driver and i would like to get it working with the kernel. Right now half of the keys on the remote (image) works, but an all important think like the ...
10
votes
3answers
17k views

what is the difference between spin locks and semaphores?

What are the basic differences between spin locks and semaphores in action?
6
votes
3answers
8k views

Prevent a USB external hard drive from sleeping

Does anyone know if there is an elegant way to tell an external usb drive not to spin down after a period of inactivity? I've seen cron based solutions that write a file every minute, but nothing ...
2
votes
1answer
244 views

kdialog --getsavefilename target/directory?

When I use kdialog --getsavefilename /path/to/specific/folder/, it opens folder/'s parent directory, not folder/ itself. How do I get it to start where I want it to?
5
votes
1answer
714 views

Where on the Web can I find a comprehensive list of rolling-release Linux distros?

I'm asking as I've looked for such & can't find a comprehensive list. Feel free to post any less-well-known rolling distros, but I'm really looking for a comprehensive list. I'm thinking of ...
6
votes
2answers
3k views

Invoking pushd in a shell script

I have a simple script that I want to invoke 'pushed' followed by another command. But the 'pushd' command inside the script doesn't seem to stick past the script. What's a way to make this execute ...
4
votes
1answer
5k views

How do I install Chromium on Linux Mint using Software Manager?

I intalled Linux Mint 10 and would like to use it instead of Windows as a desktop OS. The first thing I would like to do is to install the Chromium web browser. So I start Software Manager and then ...
8
votes
4answers
868 views

A small challenge to familiarize myself with Linux [closed]

I would like to learn more about Linux. I briefly went through a few books and quite a few articles online, but the only way to learn something is to actually start using it. I would like to jump in ...

15 30 50 per page