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

6
votes
4answers
7k views

mdadm volume works, but won't assemble/mount on startup?

I have an mdadm/lvm2 volume with 4 HDs that I created in Ubuntu 10.04. I just upgraded the computer to Ubuntu 10.10. I redid the mdadm commands to get volume up and running, did mdadm --detail --scan ...
0
votes
4answers
662 views

How to restrict access to a server application

I have written a simple server application (with an HTTP interface). I want to ensure that only calls from the local machine are processed - i.e. I want to prevent outsiders from accessing/using my ...
0
votes
1answer
2k views

Linux Mint - open windows not showing up as icons on toolbar

The toolbar is completely empty and when I run apps or open windows, the icons do not show up. The weird thing is when I select 'Panel Properties' and UNSELECT 'expand', then it shows up. But then my ...
0
votes
1answer
324 views

resizing linux partition [duplicate]

Possible Duplicate: resizing partitions with gparted Hello, Can any one suggest tools for resizing linux partitions under RHEL 5.5. ALSO what precaution we can take before resizing the ...
1
vote
1answer
1k views

Can I find out my filesystem quota as a user with no administrative rights?

As a bonus: can I see what % I am currently using?
1
vote
2answers
2k views

Find files in subdirectories and copy them to another directory with the same subdirectories?

This question is very similar to this one except that I want to maintain the file's original subdirectories. For example if I had /temp/a/a.txt /temp/a/a.jpg /temp/a/b.txt /temp/b/c.txt ...
2
votes
2answers
642 views

All files in a directory will have 770 and git:www-data (Linux)

Can I somehow specify that: in a directory repository.git all files will ALWAYS have mode 770 and git:www-dat a ownwership:groupship?
1
vote
2answers
1k views

need to run chgrp as root on ubuntu

I need git user to run chgrp -R www-data linode.git/ chmod -R 770 linode.git/ as root. Only these two commands and only for git user. How can I do that?
1
vote
0answers
2k views

ImportError: No module named _md5

I am trying to install Altera's Quartus 10 web edition 32 bit (but I think only the 32bit part is relevant to my problem) on Fedora 14 (x86_64bit), which runs inside a VM. When I run the installer: ...
2
votes
2answers
783 views

Linux multiple audio devices

I've got two sound cards: a PCI and an USB one. I'd like to have that, if the USB card is plugged in, that is used as default device on the whole system, otherwise (if the USB card isn't plugged) the ...
6
votes
2answers
3k views

Why can't -z be the last command-line option to be used with tar?

$ ls one.tar.gz one.tar.gz $ tar -xvfz one.tar.gz tar: z: Cannot open: No such file or directory tar: Error is not recoverable: exiting now $ tar -xvzf one.tar.gz one $ tar -xzvf one.tar.gz one $ tar ...
7
votes
5answers
13k views

How to generate a public/private key (UNIX)

Can some one please tell me, for using SSH, why does a host also need to have a public and private key? And how can I generate a public/private key pair for myself?
14
votes
5answers
8k views

How do I keep my bash history across sessions?

I am working on a x86 target running fedora 9. Whenever I reboot it, my history returns to some state, and I do not have commands I did in the sessions before the reboot. What I have to change to ...
2
votes
2answers
294 views

Should I choose an AMD/ATI card of NVidia card if I want open source in a dual boot setup

I'm build a Windows gaming machine for my other half for Christmas. While the primary purpose of the machine will be Windows gaming I'd like to set-up with a dual boot Linux OS. I'd like the cards 3D ...
1
vote
1answer
265 views

Map joysticks to specific USB ports in Linux?

I'm working on a Linux (fedora) based arcade dance machine using a game called Stepmania. I've got it all up and running and I'm trying to get it to work with two dance pads. It detects the dance ...
2
votes
2answers
3k views

how to deal with shared home directory on linux?

situation is as follows: home directory is on nfs share A: /home/me workstations a, b, c, ... share that home directory: /home/me is a link to A:/home/me all workstations are used at the same time ...
0
votes
1answer
275 views

After reset /etc/hosts, firefox stuck requiring authentication

I have a test site, which need authentication to access. The map between ip and domain is given in /etc/hosts. Today, the ip of the domain changed, so I modifid /etc/hosts. Then the bad thing happens, ...
1
vote
1answer
3k views

Setting up a second monitor in CentOS

I have CentOS installed on my laptop. I hooked up my TV via VGA and it works, just not as I'd like it to. The left side (on the TV) is cut off, like the image is justified too far left. I want it to ...
7
votes
4answers
15k views

Loop pictures from a folder and display fullscreen slideshow

Need a Linux solution for looped slideshow from pictures in some folder. Pictures may be deleted and added, so it's a bonus if it doesn't stop/crash if currently shown picture is deleted.
2
votes
2answers
486 views

How to tell if user is actively typing in Linux?

I'd like to write a little script to ask me what I'm doing at regular intervals, but I'd like it not to grab focus if I'm in the middle of writing an email or filling in a password. The two options ...
2
votes
2answers
7k views

How to specify download directory in Linux?

I am new to Linux, running Fedora 13. If installing from source, how do I specify the directory into which I want to download the file? I have a Download directory set up in my home directory but ...
8
votes
5answers
3k views

Will a Mac help me learn Linux?

I worked with a Mac last week for the first time ever. I noticed that the shell is very similar to Linux. I normally develop on a Windows machine and tend to be a noob at all things Linux. Will a Mac ...
4
votes
1answer
4k views

Executing a script when DHCPD give an IP

i want to do a setting to dynamically monitor my Work Station on my Wifi network. I've got my name server BIND and my dhcpd server all of that under linux working perfectly. But i didn't find any ...
5
votes
5answers
40k views

linux terminal undo rm 'somefile' [duplicate]

Possible Duplicate: undo Linux's rm? is it possible to undo a rm somefile command in linux? and if so, how does one do that?
2
votes
4answers
2k views

Which Linux Mint flavor is most suited for a 2.6Ghz + 500MB RAM computer? [closed]

I've tried Ubuntu, and while enjoyed it, couldn't run more than one program before the computer felt slow. Linux Mint has these different versions: Linux Mint Gnome Linux Mint XFCE Linux Mint ...
5
votes
1answer
2k views

convert .dbx (outlook express) mail files to a mbox format (for thunderbird) w/o Windows?

Recently, my hard drive crashed (click... click... clickly clickly click click...). I was using XP and do NOT have my install discs (lost them 3 moves ago...). i make backups regularly and only lost ...
5
votes
3answers
3k views

Mounting a multi-partition disk image in Linux

I downloaded an raw SD card image that has two partitions. It caused some file system errors when I tried to dd it directly into an SD card. I am not sure if the card is defective or the image. Is ...
0
votes
2answers
3k views

recovery of overwritten file

Is there any way to recover an overwritten linux file? I uncompresed a tar file which overwrote some of my files. I read somewhere you can umount your home directory.
0
votes
2answers
450 views

Copying file from unix to network drive

Solaris is the os used. I want to copy files from UNIX Machine to windows network drive. I know smbclient,ftp can be used. But is there any other best option i can use?
3
votes
3answers
936 views

How to lock the laptop keyboard in Debian?

I have connected an external USB keyboard, and I would like to lock the laptop keyboard so I can put a book on top of it.
1
vote
1answer
913 views

Force dhcp client to get a new lease

I have a linux DHCP server running on my network. i recently found out that i can assign specific ip address to clients based on their mac address by modifying the dhcpd.conf file. Now is there ...
4
votes
4answers
4k views

How does du determine which hard link to disregard?

We have two directories: $ ls -l total 8 drwxr-x--- 2 nimmy nimmy 4096 Nov 15 19:42 jeter drwxr-x--- 2 nimmy nimmy 4096 Nov 15 19:42 mariano I create one file in the first folder: $ dd ...
2
votes
1answer
266 views

Is it possible to change default behavior for “top”?

For example, when I run top I usually press "C" so I can see the explicit command being run not the executable name if you will. Is there a way I can modify top such that when I do: % top The ...
8
votes
2answers
2k views

What do I have to take care of when hibernating both Ubuntu and Windows (dual-boot environment)

I've got both Windows 7 and Ubuntu (finally) installed on my laptop. For the sake of comfort, I usually hibernate Windows instead of shutting it down. And I think when using Ubuntu regularly, there ...
2
votes
1answer
283 views

Can Mac Mini Server be booted off either of its two disks?

Can a Mac Mini, Server edition, be booted off either of its two disks? I'm interested in having one disk with OSX Server on it, and the other a dual boot Linux/Windows, to get around OSX's fussiness ...
0
votes
1answer
796 views

Upgrading firefox on Red Hat

I'm trying to upgrade my version of firefox at work, the installed OS is Red Hat Enterprise Linux Client release 5.4 (Tikanga) over which we have no control. Also note that we do not have access to ...
1
vote
3answers
893 views

Set system clock in Unix to millisecond precision

Generally you can set system clock using http://linux.die.net/man/1/date. However, it doesn't supply millisecond precision (it does have nanoseconds, but this isn't working on my system). Is there ...
0
votes
2answers
812 views

Control Linux computer over the Internet?

I'm just about to set up my own home network here and I'd like to be able to control my Linux desktop over the network. VNC would be what I would normally use in this case, but the requirements are a ...
4
votes
3answers
2k views

Rsync and making sure all files have been transferred before applying the changes

I was wondering if there is a way to tell rsync to only apply changes (delete, overwrite, create) only if all files in the file list transferred successfully. Just to clarify, this would essentially ...
1
vote
3answers
8k views

Monitor average CPU usage and RAM usage on one process linux

Is there any way to monitor one process' CPU usage and RAM usage over time on linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!
1
vote
1answer
557 views

Disable Escape key in linux?

Im working with a kiosk software, and it can easly be exited with the escape key. Theres no way to disable this behaviour, why I would want to simply disable the escape key completely. I tried with ...
3
votes
1answer
4k views

Which Linux distribution is best out of the box for battery life on netbooks?

I've been using Ubuntu for the past four years, but I recently bought a Dell Mini 1012, and while Ubuntu 10.04 is wonderful in every way, it is giving me quite poor results in terms of battery life, ...
0
votes
2answers
1k views

Finding my windows partition for grub?

I recently installed CentOS5.5, and needed to modify /boot/grub/menu.lst to allow me to boot from hdd instead of usb. title Microsoft Windows XP rootnoverify (hd0,0) chainloader +1 The above is ...
0
votes
1answer
111 views

How to map # to ~ in gnome-terminal?

The ~ key of my laptop is broken, now I am seeking a method to map the # to it? How could I do it?
1
vote
1answer
1k views

visudo problem on Debian

Recently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, ...
1
vote
2answers
636 views

ddrescue 2gb USB onto reiserfs partition

I have rescued my 2gb usb stick in nearly two days onto an 100gb blank reiserfs partition with these two commands: ddrescue -f -n /dev/sda /dev/sdb8 logfile ddrescue -d -f -r3 /dev/sda /dev/sdb8 ...
2
votes
1answer
122 views

How to enable e2fsck checks every 5th boot?

I want the e2fsck check the filesystem on every 5th boot.
2
votes
1answer
404 views

Linux GVim via SSH -X does not copy paste on selection

I'm using SSH (with -X specified) from a Ubuntu box to a RHEL4 box and running GVim. It opens as expected in my local X, but the copy and paste via select doesn't work. I cannot select text in GVim ...
3
votes
1answer
2k views

How can I see the signal strength and type of connection (2G/3G) using a usb modem in Linux?

I managed to connect to the Internet using wvdial, however I am getting hardly exciting download speeds around 50 kB/s. I was really hoping to get somewhere around 150 - 300 kB/s. Hence my question: ...
4
votes
4answers
575 views

How can I interact with the command line through a console if I have vim open?

I'm aware I can do !commands but I'd like to somehow integrate a shell in vim. Or could I use screen and split the screen so that vim takes up say, half of the screen?