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
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
9k 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
436 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 ...
15
votes
4answers
8k 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 ...
5
votes
3answers
19k 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
5k 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
19k 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
988 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
925 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
109 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
8k 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
746 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
257 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
372 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
143 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
12k 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
265 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 ...
-1
votes
1answer
274 views

Spoofing the user agent in Konqueror globally

There's a browser identification menu for spoofing for specific sites, but how do I change the user agent for all sites?
5
votes
1answer
2k views

No symlinks allowed in smb share

I have the following share setup on my Ubuntu machine # From /etc/fstab //192.168.1.13/media /home/USER/SHARE/media cifs username=USERNAME,password=PASSWORD,_netdev,uid=USER,gid=users 0 0 However ...
1
vote
2answers
97 views

Linux: how to remove a partition from a volume?

When I recently installed Redhat onto my system, I had 2 hard drives in it, and apparently the default usage for the two hard drive is to put them all into 1 volume, so now I have files scattered ...
1
vote
3answers
438 views

Getting the line of string from previous pipe output by line number

After running the following command, I get: [root@yukiko /]# find / -iname .bashrc /home/clamav/.bashrc /home/vpopmail/.bashrc /etc/skel/.bashrc /root/.bashrc But I would like to have a command ...
5
votes
4answers
11k views

Text / log editor with auto-refresh support

I'm looking for a text editor / log manager of some kind that will automatically refresh a file's contents when it changes. I have a single target log file (e.g. current.log) that is overwritten ...
0
votes
1answer
314 views

Would linux map the owner id of files coming from other computers to the account name in /etc/passwd?

When I use ls -al to show files downloaded from internet, -rw-rw-r-- 1 427 6011 7544 Jul 20 2006 INSTALL -rw-rw-r-- 1 427 6011 4229 Dec 9 15:36 Makefile.am -rw-rw-r-- 1 427 6011 27893 ...
14
votes
3answers
7k views

LInux: How do I diagnose / isolate what's causing “random” hangs and spontaneous reboots?

(originally posted on serverfault) So, rather than guessing just what the cause is (though my money's on the nvidia drivers), where do I start looking to pin down some facts? I've been through ...
11
votes
2answers
4k views

Updating screen session environment variables to reflect new graphical login?

I use linux, and I like to do all my command-line work within a single screen session, so that I can restart my graphical login and such without losing my terminals. However, when I log out and back ...
1
vote
2answers
1k views

Xfce power manager warns HAL daemon is not running, no keyboard on startup on Ubuntu

I changed my grub boot options to add "vga=0x323" to them to resolve some issues with corrupted display during startup/shutdown on my laptop. The next time I booted the system up, I got a warning ...
1
vote
3answers
142 views

Search and replace /'s in VI

I was wondering how I would search and replace all /'s with -'s in vi. %s///-/g doesn't work obviously.
1
vote
3answers
1k views

Is it possible to configure Kde 4 to resize windows to half desktop size when moved to the side of the screen?

I have just noticed a nice feature in Windows 7 - when you drag a window to the edge of the screen (the mouse pointer must touch the edge), windows offers you to resize the window to exactly half of ...
1
vote
1answer
857 views

udev and Garmin eTrex Vista HCx in ubuntu 9.10

I have a Garmin eTrex Vista HCx GPS and would like to use it in ubuntu 9.10. At first I just plugged the thing in and it recognised it as a "Garmin eTrexHCx microSD" in the nautilus "computer:///" ...
6
votes
4answers
4k views

Rsync over ssh, or something else?

I've been trying to use rsync on OSX to Linux or Unix box over which I don't have much control. I've been doing something like this rsync -avz -e ssh remoteuser@remotehost:/remote/dir /this/dir/ ...
1
vote
4answers
229 views

Updating linux to the next Kernel

I have just downloaded CentOS 5.3. The kernel version is 2.6.18.xx However, when I updated the kernel version has not changed. Still 2.6.18. Unless something went wrong with the updates. The most up ...
11
votes
4answers
526 views

Does the order of command options in linux matter?

For example, when I entered either: gcc -O hello.c -c Or gcc hello.c -c -O Both did not complain. Does the order of command options matter?
1
vote
1answer
172 views

Dual-boot Ubuntu and Windows XP on an existing Ubuntu installation

I have a computer running Ubuntu 9.10. I want to be able to dual-boot Windows XP and Ubuntu. I have seen other tutorials but they are for older versions and I am afraid of doing something that does ...
1
vote
3answers
226 views

cablemodem get ip behind bridge

My actual modem is Scientific Atlanta DCP2100r2. Problem : Since public IP depends on the MAC address (like any usual dhcp I think), the modem is not giving an IP to a network card behind a bridge. ...
1
vote
1answer
1k views

LINUX: change number of lines/columns that are displayed in a terminal (without X)

I'm using a linux server without X I want to understand how to change the number of lines/columns I see, like I change resolution in X.. besides.. I should be able to change the resolution somehow, ...
0
votes
1answer
899 views

Making nano accepting previous piped output as a file path

When I run the following command in linux: find / -iname httpd.conf I get: /usr/local/apache/conf/httpd.conf I want to use nano to edit this file, lazy to type the file path again, I used: find ...
2
votes
1answer
2k views

Install CentOS 5.4 from Live CD, possible?

Installing CentOS 5.4 from LiveCD. They have a Live CD which I downloaded. However, I can't seen to install from the Live CD. In Ubuntu you can easily install from the LiveCD. Is this not the case ...
2
votes
1answer
2k views

XFS won't mount with fstab options in Fedora 12

Okay, the topic says it all. I used the usual 'mkfs.xfs -l size=128m,lazy-count=1 /dev/sdX' at creation. After that, I would like to use custom mount options like: This goes instead of the "defaults" ...
0
votes
5answers
2k views

Is there a Website Screenshot tool with command line utility in Linux?

I've looked through various such tools, but none of them are to be used in Linux: http://mashable.com/2007/08/24/web-screenshots/
2
votes
2answers
3k views

What is a file system which has r/w on all major OSes [duplicate]

Possible Duplicate: Cross-platform filesystem What is a file system which has r/w on all OSes like windows, linux and Mac. Windows comes with FAT and NTFS support and EXT3 support can be ...
2
votes
5answers
9k views

How can I connect to guest Linux from host PC using putty?

How can I connect to Linux (which is in a VM) from the host PC using putty? I can ping the 192.168.1.108 from my host PC. And there is sshd process running on Linux. I choose the SSH to connect, but ...
1
vote
2answers
4k views

Linux comand line program, serial (COM port) transmistion, Hex

So I need a program that I can run on embedded linux (OpenWRT 8.09), via command line, I need to be able to transmit 8N1, i need to transmit in HEX (not ascii,) and preferaby also in decimal. As far ...
2
votes
1answer
94 views

need to download from eMule on linux

i have a dedicated ubuntu server and would like it to download files from emule....but it has no gui. i am looking for a command line tool like rtorrent but that handles e2dk links.
0
votes
2answers
365 views

Specifying a destination path while creating a zip

Let us assume I have a zip file called patch.zip, when I run unzip -l patch.zip I get the following output. bin/a bin/b lib/c To this zip file I want to add a new file, "Readme.txt" located at ...
1
vote
3answers
546 views

Remap keys for one specific program under Linux

How can I set keys to be remapped for one specific program in Linux? (More specifically Caps Lock -> Escape for gVim. I hit it accidentally too much to remap it in everything).
4
votes
2answers
5k views

Way to do 'netsend' between a windows and ubuntu computer

Windows has the ability to send a message so that it pops up on another windows computer that is on the same network using 'netsend'. Is there a way to do something similar between a WindowsXP ...
4
votes
4answers
4k views

Tool like Media File Segmenter for Linux

I'm looking for a tool for Linux which can segment a video file into multiple small .ts files. I know one for Mac OS X called Media File Segmenter which is a simple command line tool - I'm looking ...
0
votes
2answers
870 views

Grepping grep output fails

I'm trying to grep the output of ngrep. Unfortunately when I add another grep to the pipeline, I get no output at all. It can be some other command too - cat / grep / tee - everything breaks the ...
1
vote
2answers
707 views

PcLinuxOs demands I use only one repository at time. Is it right?

I come to your presence with this question that is paralyzing my coding efforts. PclinuxOs was my distro of choice for reliability, but it is jealous and does not permit me to add repos from, say, ...