A family of Unix-like 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

5
votes
2answers
10k views

Turn off monitor (energy saving) while in text console mode (in Linux)

How to configure Linux text console to automatically turn of the monitor after some time? And by "text console" I mean that thing that you get on ctrl+alt+F[1-6], which is what you get whenever X11 ...
31
votes
4answers
35k views

How can I install objdump on Mac OS X?

I want to get the source code of a small command line tool using objdump on Mac OS X. I've used arm-linux-objdump on Linux and find it a great tool. Is there any way to install objdump on OS X? I've ...
5
votes
5answers
4k views

Email Client with Vim Editing

I've been using vim for about 5 years now and have grown quite effective with it, to the point where writing things without vim feels so painfully slow. Just about everything that I write, I write in ...
4
votes
1answer
1k views

Memory cache losing sync with disk

(Ubuntu Linux server, 64-bits) I was troubleshooting a problem with a file (~3.0 GB) which I had just downloaded, but it was failing the integrity test, when I discovered something really unusual. ...
5
votes
1answer
3k views

Tools to view/edit user space memory of running processes?

Are there any tools to view/edit user space memory of running processes on Linux? It would be a great learning tool.
4
votes
5answers
11k views

How to tell which card is eth0 and which is eth1?

I have a Linux machine with two Ethernet cards both using the Intel e1000 driver. lspci reports different models of Ethernet cards, but I can't tell which is eth0 and which is eth1. Other than ...
0
votes
3answers
640 views

Computer as switch

I need to configure my computer as internet switch to pass DHCP packets and normal internet transfer from LAN to WiFi. Is it possible? --EDIT-- I've got Wireless network and one computer is ...
3
votes
2answers
8k views

Linux Group Folder Access

This is a simple question, I'm sure, but I can't seem to find any reason why I can't get this to work. I'm trying to set up group folders within the web root for a PHP server. Each department should ...
2
votes
2answers
3k views

Linux Live CD: Flash preinstalled?

I need to create a Linux Live CD that has the newest version of Flash pre-installed. How can I do this or find a distro with this? The flavor of Linux doesn’t matter, so long as I can run Flash ...
1
vote
2answers
1k views

How do I change the Display Frequency on linux

I want to change the display's frequency from 60hz to 50hz, on a fedora core 9 box, anyone know how to do this? Thank you
2
votes
3answers
2k views

Have a list of files, move them using one command

I have run a command which finds a lot of files based on some search criteria. It returns the files like so: ./somepath/somepath/file.something ./asdf/asdf/s.php ./etc/a.php ./a/b/c/d/e/f/g.jpg So ...
1
vote
4answers
683 views

Basic Linux distribution to learn how to administrate / install packages?

I use a remote linux server to host websites (typically LAMP, although i'm beginning to branch out) I'd like to install a very basic version of linux on a spare laptop i have so that i can try to ...
3
votes
4answers
1k views

How to change the permissions on Linux

How do I set all *.java files in the current directory and all its sub directories to have read permission to all users? I also want to set all files of at least 1 kilobyte in size in the current ...
1
vote
1answer
454 views

setuid process cannot see processes owned by that user

I would like to give a non-root user (nicollet) the ability to detect and send a signal to processes started by Apache2 (those processes are FastCGI scripts and the signal tells them to empty their ...
2
votes
1answer
930 views

Why does Pulseaudio selectively detect my sound hardware?

I am running Ubuntu Netbook Remix 10.04. I have been having some problems recently with Pulseaudio, which has traditionally worked fine for me on this netbook actually. Specifically, when I boot the ...
1
vote
3answers
2k views

Transfer files between two computers connected by KVM

I have a Windows 7 Desktop and an Ubuntu Laptop connected with a KVM switch. I use the setup for software development, so I am constantly switching between the two, so I need a way to quickly transfer ...
0
votes
1answer
137 views

bad display in linux terminal

When I remotely log into one linux terminal, the terminal repeats what I type automatically, which makes the screen a big mess. I can recover the screen by typing ctrl+L. Does anyone know what's the ...
1
vote
1answer
123 views

USB Mounts in Linux

I am running CentOS 5. I have connected a USB device (a Serial <-> USB connector). The device is "detected" (in /proc/bus/usb/devices ... the device is clearly there). Also, if I do lsusb, I see ...
1
vote
0answers
615 views

With nouveau driver, resume from hibernate or suspend results in wrong color display

I am using the nouveau driver on my Ubuntu 10.10. Everything looks right until one day I resume from hibernate. The color of the display is weird. It is somehow too bright. (Sorry I don't have a ...
2
votes
1answer
1k views

Difference between \*.xml and *.xml in find command

What is the difference between \*.xml and *.xml in find command in Linux/mac The results of: find . -name \*.xml and find . -name *.xml are different. But why? Also, is locate '*.xml' better than ...
0
votes
1answer
608 views

How does someone access an encrypted OSX folder from Linux?

How does someone access an encrypted OSX folder from Linux? I've mounted the OSX drive on Linux however some folders are not readable.
0
votes
1answer
1k views

Black video in VLC, dragon player and mplayer after Maverick Meerkat update

I use Kubuntu and recently upgraded from lucid lynx 10.04 to maverick meerkat release 10.10. Today I noticed that video playback is broken. Output from every video player I have tried is black, ...
1
vote
4answers
2k views

Show the matching count of all files that contain a word

What is the single command used to identify only the matching count of all lines within files under the /etc directory that contain the word "HOST"? I should list only the files with matches and ...
0
votes
1answer
128 views

hard drive wont boot - fedora 11

i was trying to install Linux on a old usb hard drive i have and i installed it onto the drive (from a .iso cd, i clicked install onto hard drive from the desktop) then rebooted. i tried to boot Linux ...
1
vote
1answer
515 views

Backup IMAP Email Account to a Hosted Google Account

I have a vanilla IMAP account for work, and they also provisioned me a hosted Google email account. I have tried good ol' drag-and-drop migration with Thunderbird on more than a few occasions, and ...
3
votes
2answers
5k views

ethtool, WOL: What does “wake on physical activity” actually mean and (how) can I use it?

I am fighting with the WOL settings of my Ubuntu box at the moment. The idea is to have an HTTP/SVN server to sleep while it's unused and wake up when it's accessed. So far, wake-on-LAN works and is ...
0
votes
2answers
4k views

Unknown encoder 'libmp3lame' [duplicate]

I'm using ffmpeg to convert my files but when I tried to convert WAV -> MP3 I got this error. It's surprising for me cause I installed this one yesterday. What could happen?
1
vote
2answers
2k views

Slow running Ubuntu 10.10 laptop

I have a slow computer. When I click on an icon say Firefox it can take 10 seconds to load. when I minimize and maximize windows you can see it happening. I get "ghost" screens where you see the ...
0
votes
1answer
393 views

Can I use an Axiom 25 on Ubuntu?

I've just switched to Ubuntu and I like it so far. Now... I have an Axiom 25 keyboard. And I would like to use this on ubunte. I've googled but I can't really can't anything about it. Is there anyone ...
4
votes
6answers
8k views

Sort and rename images by date in EXIF info

I have a mess in my photos folder; I want to sort them according to date in EXIF information and rename according to the date (like 001.jpg, 002.jpg and so on). How can I do this in Linux? I have ...
1
vote
4answers
2k views

How good is Canon printer/scanner combo support under Linux? [closed]

I want to buy a printer/scanner combination. My current choice is the new Canon Pixma MG8150, it has good specs and Canon seems to get lots of praise in printer reviews. But my desktop PC has only ...
5
votes
3answers
4k views

How do you get Ubuntu to automatically run a program every time the screen is unlocked?

I have a script I would like to have automatically invoked every time the screen is unlocked. Does Ubuntu provide some support for users who wish to do this?
0
votes
1answer
62 views

back-up database in Linux partition from windows partition!

Hello I am in a very embarrassing situation, I was trying to upgrade to ubuntu 10.04 from ubuntu 9.10 yesterday and while updating I forgot to put my laptop on charger and the battery ran out. Since ...
0
votes
1answer
825 views

File command + total retrun list

With file command we can get the file type. File returns a unique answer for each file type. I want to get the total list that file can return for linux & solaris. For example, I have a partial ...
2
votes
1answer
785 views

Any Debian based Linux distribution optimized for I686 or X86_64 and suitable for a number crunching cluster [closed]

I only know of Arch Linux which is pretty awesome and I use it for my desktop. But its rolling release model makes me wary of using it for servers. I know that the benefit of an optimized distribution ...
3
votes
1answer
743 views

Wildcard Substitution in bash

I have an Ubuntu 10.04 OS, and if I do this on the terminal (it works): $ ssh new_machine "find /tmp/test_*.csv -mtime +14 -exec rm '{}' \;" But if I place it in a shell script, it does not work. I ...
12
votes
6answers
18k views

Proper way to build from sources

I am logged in as a regular user. Should I use: ./configure && make && make install or sudo ./configure && sudo make && sudo make install or ./configure &&...
2
votes
2answers
1k views

Ubuntu intrepid - static IP networking keeps restarting with DHCP

I've got a linux box with a static IP configured that seems to be ok. The static IP address works for a few hours, and then sets itself back with (what seems like) whatever DHCP tell it to use. Here'...
1
vote
1answer
503 views

why “java -version” may crash?

On Ubuntu Linux 10.10 (and I had the same problem on 10.04) java (from openjdk-6-jre-headless) crashes for unknown reason: me@ub:~$ java -version # # A fatal error has been detected by the Java ...
4
votes
2answers
3k views

How to move one word right/left in linux/bash? [closed]

Edit - please see the same question on Unix Stack Exchange. What is the equivalent of Windows' CTRL-Right and CTRL-Left ?
11
votes
3answers
3k views

Terminal that supports the ANSI italic escape code?

I would like to replace GVim with Vim in the terminal. One of the nice things about GVim is that it is able to display text using italics. Vim allows setting an ANSI escape code for italics (\e[3m), ...
3
votes
4answers
1k views

Browsable compressed filesystem archive with full attributes?

Maybe a variation of the whole question would be: Are there any other archiving tools than tar that preserve Linux file permissions and user/group flags? I want to create archives of a directory tree ...
1
vote
1answer
1k views

Linux Install Gcc

I am new to linux and I am setting up a Linux-64 bit for programming in C++ and I want to install the gcc.x86_64 and gcc-C++.x86_64. I use command yum install the two packages. However, half way ...
1
vote
1answer
2k views

Ubuntu init.d script not being called on startup

I've got a script in ubuntu 9.04 in init.d that I've set to run on start on with update-rc.d using update-rc.d init_test defaults 99. All of the symlinks are there and the permissions appear to be ...
4
votes
2answers
5k views

How to use ATA security on a hard disk in practice?

My SSD HD supports ATA Security. Does Macbook EFI and linux support it? I know hdparm does. Who will do the unlock at each bootup? Can I still set a password without erasing the disk? Update: removed ...
0
votes
2answers
8k views

How to stop all instances of cron?

I have a cron job that executes a rake task in rails. I noticed in the log that it was running the task 4 times everytime it was executed. The problem is that there are 4 instances of cron running. I ...
0
votes
3answers
635 views

How to restore Trash items to original location?

I'm wondering if it is possible to restore a file that is in the trash (~/.Trash) to its original location. I understand there is a restore command but I don't understand its arguments or how to ...
8
votes
3answers
18k views

How to add PHP in netbeans on Ubuntu?

I just downloaded Netbeans for Ubuntu. Now I only have Java, how can I add PHP to it?
5
votes
3answers
1k views

Notepad++ like editor for linux which highlights words on right clicking

What I'm looking for is the Notepad++ feature where I can highlight words on right clicking and choosing one of the 5 styles (so that all instances of that word get highlighted with that color), in ...
1
vote
3answers
10k views

How do I find and kill remote processes in Linux?

I am developing a daemon that is acting up and I am now unable to create any new processes (ie. I cannot start a new process to kill the other rogue processes). So, I need to be able to kill the ...