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

2
votes
1answer
3k views

How to enable more php extensions on Gentoo server?

I have working apache/php/mysql on my Gentoo server. But I have to enable some extensions in php (json, exif). I did: USE="dev-lang/php json exif" emerge dev-lang/php Please, tell me what next? ...
2
votes
1answer
155 views

Don't move a directory/file if src and dest are on different partitions

In order to protect myself if I make a mistake in typing a directory/filename path, I am searching for a way to prevent mv from doing anything if the source and destination files exist on separate ...
1
vote
1answer
689 views

Ubuntu 9.10 install won't boot after filesystem damage

I was running a somewhat standard install of Ubuntu 9.10, when my drive got pushed into read-only mode, so I switched to tty1, ran /etc/init.d/gdm stop, and then ran fsck -y /. It took an hour or too, ...
3
votes
2answers
2k views

Put a Windows computer to sleep remotely (from a Linux box)

I'd like to have my Linux box (a QNAP TS-210 NAS) send the order to go to sleep (or hibernation) to my main Windows 7 computer. As the NAS is running Linux, I can't use psshutdown from SysInternals' ...
4
votes
5answers
24k views

How can I remotely control a linux box from my Mac?

I set all of my family members up with Linux Mint so that their computers would stop punching themselves in the face, but I'd like to be able to control those computers when my mom calls up and wants ...
1
vote
1answer
2k views

Zeroconf SSH advertising : utility?

On my Airport Express I can set up SSH advertising for computers on my network. I have the same option with avahi on a linux server. What is the utility of doing this ?
4
votes
3answers
2k views

Need audio player that lists by directory structure

Amarok is nice, and currently the only thing I've tried that will actually play audio from network shares and not lock up. Only problem is that it doesn't seem to list my library by directory/folder ...
0
votes
2answers
451 views

Proxy delegate refusing connexion?

I'm a little disapointed ! My aim was to build a VERY simple smtp proxy under debian to handle mail from a port (51234) and forward it to the standard 25 port. I compile and install a "delegate" ...
4
votes
2answers
1k views

How can I find any domain name that resolves to IP within a given net range?

For example, given the range: 172.128.0.0 - 172.191.255.255 I need to find some domain that resolves to an IP-adress within the range. Is it possible ? I'm using a Linux system.
1
vote
1answer
523 views

Virtual machine software questions

How do virtual machine software work so that they can run multiple Operating system at the same time? I have lot queries based on this . How are they able to save so much info in context so that ...
0
votes
2answers
2k views

FolderShare (Windows Live Sync) for Ubuntu [duplicate]

Possible Duplicates: Keeping folders synced between several machines File syncing across multiple operating systems Is there something like FolderShare that I can run on my Windows and ...
1
vote
2answers
2k views

How to update the kernel from 2.6.16 on Debian squeeze?

I just did an update of my Debian system on my vserver from lenny to squeeze as described here. I got some errors during the install, saying that glibc couldn't be updated. I did an apt-get -f ...
0
votes
2answers
611 views

Is there a way to run MacOS software on linux? [duplicate]

Possible Duplicate: Mac OS X as guest on VirtualBox with Ubuntu Host? Note: This differs from previous Mac-on-linux/windows questions because: I don't mind buying the software if I can ...
1
vote
2answers
830 views

Resolving Linux symlinks mounted via samba on Windows?

This one might be a bit tricky. I have a samba mount in Windows, mounted from a local Linux devbox. The projects on this mount contain a lot of symlinked directories. They all work fine and look like ...
4
votes
7answers
9k views

Can't Execute Binary on Ubuntu

I can't believe I'm asking this...clearly I'm in rare form today. Trying to setup a new Ubuntu machine and just downloaded 'p4' (Perforce command line client). It's a single file download - a ...
1
vote
1answer
131 views

Linux: can a crazy mouse bring the kernel down?

related to a question I asked recently, is it possible for a crazy usb device such as a mouse to bring the Linux kernel to its' knees? I've got an Ubuntu Karmic box that experiences random restarts / ...
2
votes
2answers
803 views

Good Virtual Printers (with cropping) for Windows and Linux [closed]

I'm interested in a virtual printer that would allow me to: preview the stuff that I'm about to print, and remove some pages allow printing multiple pages per sheet, removing white margins of pages ...
1
vote
1answer
248 views

Ubuntu 9.10 broadcom 4312 off at boot

The card uses a momentary switch to turn on at and off and it doesn't work. I read that there is a way to have the card turn on by default on boot but I can't figure out how to do it. Any help is ...
6
votes
4answers
38k views

How do I recursively remove subdirectories and files, but not the first parent directory?

I'm able to use the following to remove the target directory and recursively all of its subdirectories and contents. find '/target/directory/' -type d -name '*' -print0 | xargs -0 rm -rf However, ...
9
votes
2answers
2k views

How can I remove duplicate files across separate directory trees?

I have two directories: old/ and new/. Some of the files in old/ are duplicates of those in new/. Some merely have the same name, and a few may even have identical content but different names. I'm ...
5
votes
1answer
2k views

How does top calculate the memory figures on Linux?

I'm a bit confused on how the memory figures add up in top. If I've understood correctly, the amount of "really" used memory is total - free - buffers - cached. In the example below that would be ...
4
votes
5answers
2k views

How can I clear bad shorcuts from GNOME Do cache?

I am using Ubuntu and GNOME Do and have some bad shortcuts (they even have a grey X icon ) that I can't figure out and delete from the list. I thought GNOME Do has some cache but its been a while and ...
4
votes
3answers
4k views

How to make a launch command set focus to an already running app instance in ubuntu / linux?

I'm using a program called easystroke to invoke commands from mouse gestures - typically to launch an application. 'gnome-terminal', for example. If I already have a gnome-terminal window open, and ...
0
votes
1answer
2k views

Free Linux software to stitch photos together (Like photo-stitch from Canon for windows)

Any one know of any Free Linux software to stitch photos together (Like photo-stitch from Canon for windows)
3
votes
2answers
6k views

Why does net rpc shutdown fail with the right credentials?

The command $ net rpc SHUTDOWN -f -I xxx.xxx.xxx.xxx -U uname%psswd Fails with the following errors: Could not connect to server xxx.xxx.xxx.xxx The username or password was not correct. ...
0
votes
4answers
292 views

using SSH to log into a non-root account using root password

I am trying to log into a server with a particular account. Let's say I don't know the password for that account. Can I do this using ssh? I am wondering if it is possible to do it in one command, ...
2
votes
4answers
3k views

How to remote shutdown a win XP machine from linux?

How do you remotely shutdown an XP host from a linux machine? I know that you can use shutdown /s /f /m \IP_GOES_HERE From windows, but how would you do that from linux? (wine does not port the ...
8
votes
1answer
645 views

Best tools to produce screencasts in Linux? [closed]

I would like to make some screencasts to teach programming in Linux. Ideally they should be able to: Record, of course, what is happening in the screen (ideally they should be able to record only ...
0
votes
1answer
415 views

How to execute a part of a (text)file?

So I'm looking for a command on Linux that would let me execute a file as binary, but skipping the first x bytes, so: $ echo "some text" > file $ cat /bin/bash >> file $ ??? file # should ...
7
votes
2answers
7k views

Linux, can a home directory be symlinked?

I have a second large storage hdd mounted in Ubuntu in /media/storage. I would like my home directories for me and all future users of the system to be located on this storage drive as well. I was ...
2
votes
1answer
4k views

What does Ubuntu's Samba use for authentication?

First of all, I'm fairly new to Linux & Samba. I just setup a basic Ubuntu Server 9.10 home server. I setup a few directories as Samba shares. I have only one login on the Ubuntu server, lets ...
0
votes
1answer
1k views

Better quality alternative to FreeNX? [duplicate]

Possible Duplicate: What (Fedora) Linux tool can I use to view my desktop on the same network from my laptop? I've been trying FreeNX on openSuse for a few hours and found that it's ...
4
votes
2answers
1k views

How can I make Grub recognise my old Linux Partition

Problem: I have two partitions. On one I have installed Fedora 9 and on my other partition I just installed Fedora 12. Now that I've installed Fedora 12 I can't get Grub to boot the old partition. ...
4
votes
7answers
11k views

Copying large number of files from one directory to another in Linux

I have a directory containing around 2.8 lacs of files. I want to move them to another directory. If I use cp or mv then I get an error 'argument list too long'. If I write a script like for file ...
2
votes
3answers
482 views

How to turn startup chime off on a iMac G5 under Gentoo

I have a iMac G5 only with Gentoo installed on it and every time I turn it on, it plays the startup chime. I already have my headset plugged in but this doesn't mute the sound. Is there a way to ...
19
votes
4answers
12k views

How do I “identify with services” on IRC?

I am using irrsi as my irc cilent on ubuntu I have entered "/join #android-dev" in my command window. But I am getting this error message: 22:05 -!- #android-dev Cannot join channel (+r) - you need ...
6
votes
3answers
24k views

Trying to change a Ubuntu user's password, authentication token manipulation error

I'm trying to create a local user on a new Ubuntu box. I'm unable to change the password, and I keep getting the error below. The user gets added to the shadow file, but I can't get it to set a ...
1
vote
2answers
6k views

added entry to hosts file (ubuntu); can ping ok; cannot nslookup

added entry to /etc/hosts 127.0.0.1 testjd.com can ping ok ping testjd.com PING test.com (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.100 ms ...
8
votes
4answers
25k views

Can two users simultaneously share one pc

It's easy to have multiple user accounts on one computer and even switch between accounts without logging off. It is also possible to have more than one display connected to a single computer. Is it ...
2
votes
1answer
2k views

Mount “locked” SD card as read-write in GNU/Linux

My Canon PowerShot A470 + CHDK can write to SD-cards that are "locked" (the lock switch is used to make the card bootable), but GNU/Linux `/dev/mmcblk1': Read-only file system (I'm using "Texas ...
5
votes
3answers
999 views

How do you measure the bandwidth used by a given process after it has completed, on Linux?

Is there a way to get a summary of how much bandwidth a given process used on Linux after the process completes? I do not want a monitor, I want something I can look at after the task has completed.. ...
4
votes
6answers
1k views

How can I setup an alias in bash for “sudo vim (filename)” as sim (filename)

What I normally type to edit a file is: sudo vim Example.php I'd like to type sim Example.php as a shortcut. I know I can setup an alias in the bash config file, but how do I go about specifying ...
2
votes
3answers
113 views

How to configure a command to run on login, but only if through telnet

I want to run a command every time I log in to my Ubuntu box, but only if I'm connecting through telnet, not if I'm logging in at the console.
3
votes
2answers
10k views

ping does not resolve the host - always appends a domain

The problem seems to be relatively easy, but I can't find good solution. Configuration I have local DHCP and DNS server running on ADSL router. It assigns IP addresses to local hosts and also keeps ...
4
votes
3answers
802 views

multiway desktop screen sharing app for linux

Is there a free screen sharing app for linux ? I'm not talking about controling a desktop from remote, but simply viewing someone else's screen, quite useful for a teleconference. The newest version ...
5
votes
1answer
294 views

Most efficient way of taking a subset of lines

I have two files. One huge one (200.000+ lines) called 'db' and one big one (15.000+ lines) called 'indices'. What is the quickest way of filtering out the lines in 'db' containing any index ...
1
vote
3answers
379 views

Fedora 10 setting up HPLIP for HP Deskjet F4488

I had set up a newly purchased HP F4488 using HPLIP, I installed it on my Fedora 10 desktop and it worked fine for the past 2 days. Suddenly, it is failing to print. The scanner works and the ...
4
votes
4answers
144 views

virtulizating Windows efficiently within Linux

I need to virtualize Windows on my Linux laptop. At first I tried QEMU but found it too flaky. Then I was using VMWare server for a while and thought it was pretty good. Recently I tried VirtualBox ...
4
votes
2answers
13k views

Linux process to background - relogin - how to bring process back to foreground?

I start a process, put it in the background running, then log out, then log in again, and want to bring the process to front again. I've looked in "ps aux" for the PID, but it won't be put in the ...
3
votes
2answers
283 views

Can I share /var and /usr among different distros?

I currently have one very big partition in my laptop that runs Ubuntu. I have to install Fedora for work and I'd also like to try out OpenSUSE, so I'll have to repartition. Since I don't want to ...