10
votes
1answer
4k views

Leaking file descriptors

What does it mean if file descriptor leaking File descriptor 6 (socket:[901758]) leaked on lvextend invocation. Parent PID 10035: /bin/zsh File descriptor 9 (/dev/pts/1) leaked on lvextend ...
58
votes
5answers
30k views

What are high memory and low memory on Linux?

I'm interested in the difference between Highmem and Lowmem: Why is there such a differentiation? What do we gain by doing so? What features does each have?
9
votes
2answers
409 views

How do I modify the ci command in vim

Just like "ci(" changes everything between parentheses, I want "ci$" to change everything between dollar signs (for editing LaTeX.) Is this possible?
7
votes
5answers
6k views

sh startup files over ssh

I have some important commands I need to execute before any sh shell starts. This is required for passing SSH commands in the SSH command (ssh host somecommand) and other programs that run commands. ...
11
votes
1answer
494 views

What is the difference between shared memory in early unix systems vs modern unix systems?

How could processes share memory in early versions of UNIX version modern implementations of shared memory?
1
vote
1answer
281 views

Commandline e-mail client that syncs contacts with external server?

I am planning to setup a groupware server that's either Citadel or SOGo, which supports the GroupDAV, CardDAV, or SyncML protocols. Is there a commandline e-mail client that supports syncing contacts ...
8
votes
2answers
352 views

Vim command for inserting a character

I'm looking for the opposite of x. I want to insert just one character and stay in command mode.
2
votes
1answer
1k views

Can't register or update Solaris 11 Express

Trying the x86 live CD, installed it on a VirtualBox virtual machine, network connectivity and guest additions are OK. The "Register" link (which they imply is needed to get updates) gets me to an ...
3
votes
2answers
1k views

How to install kvm in Debian (Lenny) over powerpc

I am emulating powerpc using qemu-system-ppc on top of x86, and running debian-lenny-ppc with it. I want to install kvm inside that debian. I have learned that the kvm and qemu-kvm packages are not ...
41
votes
2answers
4k views

$VAR vs ${VAR} and to quote or not to quote

I can write VAR=$VAR1 VAR=${VAR1} VAR="$VAR1" VAR="${VAR1}" the end result to me all seems about the same. Why should I write one or the other? are any of these not portable/POSIX?
7
votes
2answers
1k views

Providing /bin and /lib inside a chroot jail

I need to be able to provide the /bin and /lib directories inside a chroot jail so that programs can dynamically link properly. Is there a way to accomplish this without making a copy of the /bin and ...
-1
votes
1answer
725 views

Why is GDM 2.20 still in Squeeze? [closed]

Both gdm (based on 2.20) and gdm3 (based on 2.30) are available in Debian Squeeze. Supposing that gdm3 should replace gdm, why are they both still supported?
15
votes
6answers
299 views

What do I need to be aware of if I want to write an application that will run on any Linux distro?

I'm planning on writing an app that I would like to be able to run on any Linux installation without having to rewrite any of the code in doing so (except maybe the interface, GNOME vs KDE, etc). I'm ...
6
votes
3answers
2k views

Find command: Searching for executable files

What type of parameter/flag can I use with the unix find command so that I search executables? (if this question is better suited for another stackexchange forum, I welcome you telling me so) p.s. ...
29
votes
3answers
8k views

What is the difference between procfs and sysfs?

What is the difference between procfs and sysfs? Why are they made as file systems? As I understand it, proc is just something to store the immediate info regarding the processes running in the ...
7
votes
3answers
484 views

Block motion for any bracket type?

If I want to, say delete a block, I can use text object motions. I.e if my text looks like this: (let [a 1 b {:x 3 :y 4}] a) And the cursor is for example on character 3. If I type diB ...
5
votes
1answer
2k views

TAB autocomplete in Bourne Shell

I don't know how to get the TAB key to autocomplete filenames, commands, or anything at all. I'm on a Unix-like system (OS/390) and depend on several scripts that work in sh (Bourne shell, not ...
6
votes
2answers
5k views

How do I add an entry in /etc/fstab for a windows share?

I want to be able to mount our file server's file share (on a Mac OS X server, shared via AFP and Windows File Sharing) on my Ubuntu 10.10 linux laptop. I want to be able to mount it as my normal ...
16
votes
1answer
3k views

Is it possible to have vim key bindings in terminal?

I'm getting used to vim bindings (like pressing w to go to word, dw to delete a word, and such) and it's modes (insert, normal, visual), and, out of curiosity would like to know: is there some kind of ...
5
votes
1answer
985 views

Disabling line wrap in Konsole

Is there a way to prevent konsole from wrapping lines? It would be great if I could do it without disabling any of the other features like extended colors and other of the fancier things.
2
votes
1answer
214 views

Missing Xutf8LookupString call in Solaris 10

I'm trying to run a program in Solaris 10 that fails due to the lack of Xutf8LookupString function. It is a well-known issue but I'd like to know a way to "skip it". Would defining a different ...
5
votes
4answers
5k views

find-command for certain subdirectories

Let's say I have a directory dir with three subdirectories dir1 .. dir3. And inside I have many files and other subdirectories. I'd like to search for a file inside, say with a *.c ending, but I'd ...
59
votes
1answer
6k views

VISUAL vs EDITOR what's the difference?

I generally set both VISUAL and EDITOR environment variables to the same thing, but what's the difference? Why would I set them differently? When developing apps, why should I choose to look at VISUAL ...
5
votes
2answers
669 views

How to get started with CentOS?

I've been working with Debian GNU/Linux for a long time and am very proficient with it. However for a new project I've got to got familiar with CentOS ASAP. So my Question is: How do I get started ...
6
votes
3answers
829 views

zsync vs. jigdo

What's the difference between zsync and jigdo? Their core functionality seems the same, so I'm curious on things like performance, file size, and ease-of-use. Would also be interesting to know why one ...
12
votes
6answers
3k views

How to remove duplicate entries in 'Open With' Nautilus dialogue?

Would be nice to be shown the magic button that will help me remove this eyesore: It's Nautilus 2.30 on Debian (and has been there in previous versions as far as I can remember).
7
votes
3answers
2k views

Make find show slash after directories?

How can I make the find command show a slash after directories? For example, I want dir to show up as dir/ instead of dir. I'm using find . -print
2
votes
2answers
3k views

How do I correct a directory incorrectly copied into itself?

Given the following situation... <path>/mydir1/mydir2 ...where mydir2 should have overwritten mydir1, but was instead placed inside, and both directories actually have the same filename. How ...
6
votes
2answers
703 views

Linux -> linux remote X login/desktop

What are the (best) solutions for remote desktop in linux? Ideally I'd like to be able to be able to log in to a remote X (KDE) session without even logging into my local machine. Maybe if I could ...
12
votes
5answers
8k views

Adding numbers from the result of a grep

I run the following command: grep -o "[0-9] errors" verification_report_3.txt | awk '{print $1}' and I get the following result: 1 4 0 8 I'd like to add each of the numbers up to a running count ...
3
votes
1answer
817 views

Emacs cperl mode - how to use tabs for indentation instead of spaces

Is there a way to make cperl mode in emacs use all tabs for indentation instead of spaces? I've tried setting indent-tabs-mode, and cperl-tab-always-indent. Here is my .emacs file: (defalias ...
3
votes
3answers
1k views

How do I use redirection with sudo [duplicate]

Possible Duplicate: Redirecting stdout to a file you don't have write permission on Yeah I could (and probably will) just escalate to root, but I'd like to know why this doesn't work? ...
3
votes
2answers
416 views

Is there any Virus attack in Linux?

Is there any virus attack on any of the current distributions of Linux? if there is any, how was it solved? have they used any anti virus programs which are available now?
0
votes
2answers
452 views

How to make Python scripts usable on Windows? [closed]

I have some Python scripts in Linux. How can I make those scripts so that windows user can use and execute them?
6
votes
2answers
529 views

Meaning of “rc5” in “linux kernel 2.6.37-rc5”

When I visited the kernel.org website to download the latest Linux kernel, I noticed a package named 2.6.37-rc5 in the repository. What is the meaning of the "rc5" at the end?
1
vote
1answer
919 views

Control bandwidth with iptables

How can I control bandwidth in RHEL 5 using iptables?
1
vote
1answer
968 views

What is the difference between Context output format and Unicode output format while taking diff?

What is the difference between Context output format and Unicode output format when taking a diff? diff -NBur dir1/ dir2/ diff -NBcr dir1/ dir2/
6
votes
1answer
501 views

Why does `man -k cron` say `vixie-cron (rpm)` for some results, and how do I read those pages?

I'm trying to find out some details regarding cron and /etc/cron.d/ on a RedHat system. Ironically, my answer is viewable within the vixie-cron-*.src.rpm for this package, but the the man pages for ...
2
votes
1answer
729 views

Getting wireless card to work in Debian with wpa_supplicant

I'm having difficulty getting a Netgear WG311 network card to work with Debian. Here is a screenshot showing ifconfig wlan0, iwconfig, network interface cards, and wpa_supplicant configs: I ...
3
votes
2answers
5k views

Is it possible to make a Microsoft LifeCam HD-5000 work under linux?

I am trying to set up a virtual machine which will act as a home security system. (If you've chatted with me in The Tavern, you may know why...) I purchased two USB webcams (Microsoft LifeCam HD-5000) ...
10
votes
4answers
11k views

Bash script testing if a command has run correctly

I am working on a bash script that I would like to work for several types of VCS. I am thinking of testing if a directory is a repo for a system by running a typical info command and checking the ...
8
votes
4answers
3k views

How do I type the degree symbol under X11 (using a default English keyboard layout)?

I'm trying to put in an email the temperature outside in degrees. On my Mac, the degree symbol (°) is Option+Shift+8. But I'm writing the email in Thunderbird on an Ubuntu 10.10 with the default US ...
3
votes
3answers
3k views

Discovering the number of running and blocked processes in Mac OS X

In Linux, I could discover the number of running and blocked processes running grep "procs_running" /proc/stat and grep "procs_blocked" /proc/stat Is there a way to do it in Mac OS X? ...
4
votes
1answer
417 views

How to use diff tool to take a diff between directories with libraries and source?

I would like to know if i can use the diff tool to take the difference between two folders which contain sources as well as libraries and executable. Right now i gave diff -Naur dir1/ dir2/ ...
3
votes
4answers
1k views

How to add SLED 11 system to windows domain

I have a small Windows domain, contains DHCT, DNS, Active Directory, CA etc. I'm trying to connect a SLED 11 to the domain according to found-by-Google-search guides but all what I've found was ...
8
votes
2answers
797 views

View Script Over SSH?

A friend, using a remote machine, SSHed to my machine and ran the following python script: while (1): ....print "hello world" (this script simply prints 'hello world' continuously). I am now ...
8
votes
5answers
11k views

How to pass the output of one command as the command-line argument to another?

So I have a script that, when I give it two addresses, will search two HTML links: echo http://maps.google.be/maps?saddr\=$1\&daddr\=$2 | sed 's/ /%/g' I want to send this to wget and then save ...
2
votes
2answers
4k views

How can I customize the look of Thunderbird's mailbox list, message list, and headers?

Mozilla Thunderbird's message list, mailbox list, and headers use a font size that is so large, I can barely see any content in the message preview pane. I'd like to reduce these to 10px, and reduce ...
5
votes
3answers
317 views

Searching a text file with a single line using regular expressions

as far as i know all unix text processing utilities are reading one line at a time and performing one action on this line. I have a huge file with a single line of text which contains several tokens ...
17
votes
2answers
1k views

What is Wayland?

I was looking for a lightweight X server, but failed to find one. Then I found out about Wayland. I says that it aims to coexist with X, but can run standalone. When I try to compile it, it needs ...

15 30 50 per page