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

15
votes
4answers
47k 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 ...
3
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
1k 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
128 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
12k 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 ...
5
votes
3answers
910 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
465 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
398 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
151 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
15k 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
346 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 ...
0
votes
1answer
405 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
3k 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
98 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
534 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 ...
10
votes
5answers
16k views

Text / log editor with auto-refresh support [closed]

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
350 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 ...
18
votes
3answers
12k 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 /var/...
17
votes
3answers
7k 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
144 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.
4
votes
3answers
3k views

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

In Windows 7 You can 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 the screen size. This is actually very ...
1
vote
1answer
908 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:///" ...
8
votes
4answers
8k 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
266 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
1k 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
177 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
257 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. ...
2
votes
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, ...
1
vote
1answer
1k 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
6answers
3k 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
11k 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 ...
3
votes
2answers
5k 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
107 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.
1
vote
2answers
580 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 /path/...
2
votes
3answers
789 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
6k 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 ...
5
votes
4answers
6k 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
1k 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 chain....
1
vote
2answers
766 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, ...
7
votes
3answers
192 views

Checking if computer is compromised?

I run Ubuntu 9.04 and was recently told by my university that my computer is massively port scanning the network. I am interesting in learning more about figuring out what is happening to stop it, ...
2
votes
4answers
783 views

Linux: file recovery

I desperately need some help regarding problem I am facing now. While creating a softlink for a very important file I gave the reverse command by mistake. Instead of giving it "ln target linkname" I ...
3
votes
2answers
6k views

How to access Guest (Linux) Filesystem from Host (Windows) in VirtualBox

I am trying to synchronize my music between my desktop (Ubuntu 9.10) and my laptop (VirtualBox: Windows 7 host & Ubuntu 9.10 guest) I use Unison to perform the actual sync, which itself is not the ...
1
vote
1answer
262 views

Fedora virtual terminal won't scroll after switch

I recently installed Fedora 12 for some Linux testing. When I switch between virtual terminals (CTRL-f1 Ctrl-f2) I can no longer scroll back in the VT I left and came back to. Any new data created ...
5
votes
5answers
5k views

Windows can see Ubuntu Server printer, but can't print to it

I have an old desktop that I'm trying to set up as a home backup/print server. Backup was trivial, but am having issues getting the printing to work. The printer is connected to the server running ...
0
votes
1answer
1k views

What's the fastest: eSATA over ExpressCard adapter, or over USB 2?

I am considering buying an ExpressCard-based eSATA controller to access an external hard disk (1TB). However, this hard disk is also already available using simple USB 2 cable. Is it worth to buy such ...