Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

4
votes
1answer
1k views

Mouse button and keypress counter for Linux?

I would like to have some kind of statistic of my daily mouse/keyboard usage to help me make my keyboard layout a little bit more efficient. There is already a question about how to do this on ...
3
votes
1answer
497 views

What is the simplest way to build your own .deb package?

Having used Ubuntu for several years now, I've assembled a short list of scripts and packages that I always install on my computers. I would like to pack them up into a .deb to make it easier to get ...
19
votes
4answers
24k views

How do I do a binary diff on two identically sized files under Linux?

I have two identically sized files, and I need to do a binary diff to check whether they're the same. I'm currently runnnig diff file1.img file2.img but it's taking quite a while to process my ...
3
votes
4answers
2k views

How to get the shortest string in a text file with shell

Assume I have a text file as below abcd aaaaaaa gfgk hahahahahahhahh gf Then gf would be returned.Any good ideas?
0
votes
3answers
1k views

Why do I get duplicated entries in my $PATH?

I'm using Ubuntu 9.10 (karmic). And, my ~/.pam_environment looks like the following. PATH DEFAULT=${PATH}:~/Adobe/Reader9/bin:~/texlive/2009/bin/x86_64-linux GIT_EDITOR DEFAULT=vim ...
4
votes
2answers
446 views

Text files on linux have “<97>” characters

When viewing a particular text file in vim or less on Linux or OS X, all the en dashes show up as highlighted "<97>" characters. What control-sequence do I need to type in order to substitute the ...
2
votes
1answer
690 views

fdisk (Linux) partitioning RAID 0

I'm trying to create partitions for a Slackware installation on my computer (beside Windows 7) just to have a nice distribution running mostly for school but when I run fdisk and print the partition ...
5
votes
2answers
6k views

Sharing accounts between multiple computers running Ubuntu Linux

My school has a computer lab full of machines running Red Hat Linux. They have it set up so that you can log into any computer in the lab, and it automatically loads your desktop, home directory, etc, ...
4
votes
5answers
2k views

How to create a Linux Media Server using Ubuntu?

I'm an intermediate Linux user and a relative beginner to servers. I would like some help finding resources on setting up a basic server. I have Googled, and am a member of the Ubuntu Forums, but just ...
2
votes
1answer
190 views

Top/left edges of screen, in Virtualbox, act like bottom/right edges

I have Virtualbox running on Windows Vista, and Debian running inside Virtualbox. Everything's running great, for the most part. Everything looks correct. But when I'm in full-screen mode, the top ...
3
votes
2answers
6k views

Multiple Java environment on the same Linux machine

What's is the most efficient way to install multiple concurrent Java JDK versions on the same Linux machine? I need Java5 whilst my current Ubuntu 9.10 Karmic comes loaded with Java6. I know I could ...
3
votes
3answers
303 views

What do - and # mean in a linux file listing?

In my /var/log directory, I've got these three files (extracted from ls -l) size filename 205198 ntp.log 2446 ntp.log # 4096 ntp.log - The file "ntp.log -" is highlighted in blue. What do ...
2
votes
1answer
2k views

How to memory test in Linux?

I'm planning to test my Linux box and I want to start in memory testing. But my problem is what should I need to test the memory in my linux box? Should I need a tool? Or there are some APIs to use to ...
1
vote
1answer
825 views

How to recover ~1TB data from a bricked NAS?

I bought an IcyBox NAS a little while back, and it recently died on me. I have physical access to the disks inside (1.5TB RAID 1 array), and the box was running a version of Linux. I now have the ...
3
votes
2answers
965 views

Query specific nameserver for a particular domain upon VPN connect

Some background: I have a work laptop with Ubuntu 9.10 on it. I have a small network at home where I've been running some basic services (for myself/my family) for 10 some years. In my home network ...
0
votes
2answers
6k views

How do I map a network drive in Ubuntu? I want to save my Firefox downloads directly in the mapped network drive (folder)

I work in an environment wherein files are exchanged over email which are then processed into databases. In Windows, mapping a network drive and storing files directly to a folder in the network ...
1
vote
1answer
1k views

Change the foreground color of statusbars in irssi?

I've changed the terminal colors and now irssi statusbars have white text on light blue background. I would like to change the foreground color of the irssi statusbars to black but can't figure out ...
1
vote
1answer
260 views

Apache configuration to access directory

I'm on Ubuntu 9.10. My web application is in a directory on my /home/me/app . I want to configure Apache in such a way that I can access my app through a directory. For example: People can access my ...
2
votes
2answers
13k views

Linux: Combine two partitions?

This workstation is running Fedora 11. It has 4 HDDs raided into 4 partitions: / (31 gig) /boot (134 meg) /data (140 gig) /FC12 (31 gig) The previous employee that used my current workstation set ...
0
votes
2answers
537 views

How do you set the timezone in a non-standard Linux distro?

I'm trying to set the time in an embedded system ... There isn't a link/file /etc/localtime and /usr/ has only two subdirectories /usr/bin and /usr/sbin. Is there something I can try or do I just ...
1
vote
0answers
2k views

Xmodmap fails to remap modifier keys

When I try to move keys, so that I have CapsLock on escape, Control on CapsLock and Escape on left control, I get the following error: % xmodmap ~/.Xmodmap X Error of failed request: BadValue ...
13
votes
1answer
6k views

Listing lines from just one file in DIFF

I would like to get (GNU)DIFF to printout only lines that are different in one file. So given ==> diffa.txt <== line1 line2 - in a only line3 line4 changed line5 ...
2
votes
1answer
254 views

SSL TurnKey Linux

I have a TurnKey Mantis linux appliance and I want to make the connection secure.I've bought from GlobeHost a certificate and got the following files :sub-domain_domain_net.ca-bundle and ...
1
vote
1answer
304 views

Shell function parameter

Is there a way to declare and pass parameters for shell functions, like so ? function msg( m ) { read -p "Task #" + m + "done. Press any key to continue }
0
votes
2answers
1k views

dhcp status in linux [closed]

How to find in linux(fedora12) if dhcp is running on network?
5
votes
2answers
2k views

Checking detailed memory information on Linux

I know that I can check CPU info via cat /proc/cpuinfo and memory info via cat /proc/meminfo. But cat /proc/meminfo yields results like the following: MemTotal: 66098352 kB MemFree: ...
3
votes
2answers
103 views

What Linux archiver supports splitting archive into pieces?

I need files to be <= 5GB to put on S3. Right now I have an ugly tar / gzip / cut before upload, then cat / zcat / tar on download, but it's really ugly - and nearly every archiver should support ...
1
vote
1answer
3k views

How to configure multiple video cards in linux?

In Ubuntu Lucid Lynx RC, I got NVidia's TwinView to work with 2 monitors in a single video card. But when I use the same monitors but split them between the video cards I can't make TwinView work and ...
2
votes
1answer
418 views

can't run binaries or shell scripts

I am running Debian testing and I am not able to run any binary or shell script. I keep getting "No such file or directory" for binaries and "Permission denied" for executable shell scripts. The ...
1
vote
0answers
54 views

Is there a config value in Wine to force Enter to send CR+LF?

I'm pretty new to Wine and I'm trying to use an IM client which is required for my work. When I hit 'Enter' to send a chat message, the characters indicating a new line are not being correctly ...
1
vote
1answer
299 views

Eclipse And Linux: Keyboard unusable after gnome-screen-saver

I know this is not programming related. But I can't find any topics on Google or UbuntuForums. So the problem is: When gnome-screensaver starts on the moment Eclipse has the focus and I wake up again ...
0
votes
1answer
65 views

what are the components you can install on RHEL?

I just got a question from a customer(actually from a customer to my manager then to me) and he is asking the following question: What are the components that were installed with RHEL? It may sound ...
2
votes
1answer
125 views

Can I use a .vdi file in a virtual box for Ubuntu?

Is it possible to use the Windows XP that I installed in a virtual box in Windows. To be used in Ubuntu 9.10 Virtual box? So that I won't install the whole thing again.
1
vote
2answers
81 views

Is it possible to Install one testing package by just modifying source.list file?

I want to pick up Python3 from squeeze, meanwhile I would like to stay with lenny with all other packages. Is this possible by just modifying source.list file?
4
votes
3answers
628 views

Quick, Linux-compatible unit-aware calculator

I want to be able to press a keyboard combination, start typing a mathematical expression that includes units and slightly advanced math (not just a four-function calculator), and get a result ...
2
votes
1answer
3k views

How to control fan speed on Compaq Presario under Ubuntu?

I have a Compaq Presario R4000 running Ubuntu Linux 9.10 karmic. The system runs very hot and one of the fans is wither never running or always running at the slowest speed. For a while I thought the ...
2
votes
1answer
195 views

Software for “OCR”'ing exact pixels from a photo of a videogame/pixel-art?

I am searching for software that can reconstruct the exact pixels from a photo of an old videogame or a piece pixel-art. The goal would be the re-digitalization of digital images that only survived in ...
0
votes
2answers
793 views

Oppening .QXD file on Ubuntu

I got an old qxp file created on a MAC with QuarkXPress. Is there any way I could open and maybe edit this file on Ubuntu? Tnx.
0
votes
1answer
477 views

Recovering/Creating NewWorld Partition on Mac G4 (PPC) after botched Debian Install

I was trying to install Debian 5.04 on a Mac G4, and in typical geek tradition, I didn't RTFM. During installation, I nuked all existing partitions, creating new to my liking. But as I learned ...
-2
votes
4answers
138 views

Does linux have setup installs like on windows? [closed]

I was toying with Ubuntu and tried to download/install some apps, what a pain it was. I think the system they have in place for installing is too complex.
0
votes
4answers
834 views

How can I free memory on linux

When I use top to see memory usage, I have 65gb ram but only 1.3gb of it free and remaining is shown as used. When I ran my program It gives memory insufficiency error. Although no other program is ...
1
vote
2answers
299 views

Show the key presses of shortcuts on Linux

I'm about to hold a course for learning Linux. I'd like the participants to see what keys and key combinations I press. Is there anything like Mouseposé for Linux?
6
votes
1answer
1k views

Quick and dirty user management service for Linux VMs?

Background I have a home server running Debian, and a workstation that runs various VirtualBox VMs (mostly Linuxen but some Windows). At the moment, I'm creating my main user account anew for every ...
3
votes
1answer
499 views

Why is 'browser.backspace_action' turned off by default in Firefox under Linux?

Just like the title states. How come this setting is disabled (2 in about:config rather than 0) under Linux by default? Is there a reason to not turn it on?
7
votes
2answers
4k views

linux: refreshing groups without having to re-login [duplicate]

Possible Duplicate: Is there a way in Linux to update the user/group properties without having to login again? How does one refresh the groups that a logged-in user is in without having to ...
1
vote
6answers
357 views

rm -rf not erasing directory

I am attempting to erase a directory called apps. When I run rm-rf apps it looks like it erases it for the moment. When I log back on to the server the directory is still there, though it is ...
4
votes
3answers
1k views

How can I invoke a function in bash shell script

I just wonder the distinction calling the function between $(one_function) and one_function in bash shell script. When I set the variable PS1 in ~/.bashrc, I can't invoke the function by one_func ...
5
votes
1answer
3k views

How do I limit the memory usage of a specific process in linux?

I've written a program for a class that my professor will be testing in various low memory environments to see how it behaves when the program runs out of memory. Is there a way I can simulate the ...
0
votes
1answer
116 views

How can I create a video DVD with multiple titles from a single-titled DVD?

I have an unencrypted DVD that is one big title, ie you cannot skip next / prev. What I want to do is reauthor the DVD with title at certain points, so that I can skip next / prev when watching it. ...
1
vote
2answers
2k views

Triple-Boot + 4 partition Limit

I just bought a new hard drive so that I could convert my XP-only machine into an XP-Ubuntu-Windows 7 triple boot machine. Since the drive is absurdly huge (1 TB) I wouldn't mind throwing ReactOS ...