Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

6
votes
1answer
1k views

Dual monitors on dual video cards on Ubuntu

I have been trying this to no avail. I am new to Linux, so a step by step explanation would be greatly appreciated. I have two NVIDIA GeForce 8600 GT video cards. I want a monitor to run on each card, ...
6
votes
1answer
3k views

Fritz WLAN USB stick - Xlib/Xfree86 dev packages for installing Wine

I have installed Ubuntu 10.4 and want to install the driver for my Fritz WLAN USB stick according to http://wiki.ubuntuusers.de/fritz!wlan_usb_stick (German site... sorry). Now I am trying to install ...
6
votes
0answers
361 views

Is there a tool(!) to list assigned subuid and subgid values for users?

The question is basically in the title. usermod -v (--add-sub-uids) and usermod -w (--add-sub-gids) can be used to manipulate the subuid and subgid ranges for a user account, but there appears to be ...
6
votes
2answers
820 views

Cisco-like command Line Interface

I'm looking for a way to implement a fairly basic Cisco like command line interface on my Ubuntu server appliance (12.04 in particular). I've come across the following project: CLISH however, ...
5
votes
5answers
2k views

How do you free up resources in Ubuntu?

What steps do you take to make a vanilla Ubuntu system run faster and use less memory? I'm using Ubuntu as the OS for my general purpose PC, but it's on slightly older hardware and I want to get as ...
5
votes
3answers
10k views

Automating textual input from a bash script without using EOF

I'm running Ubuntu Linux. Suppose there is a program called myprogram. This program prompts the user for input; specifically, the user must type an integer when prompted and press Enter. I would ...
5
votes
5answers
961 views

Consumer Level software RAID5 and LVM

Hi I am going to build a 6 drive consumer level RAID 5 (10TB) with Ubuntu10.10 and using EXT4 as filesystem, and OS on another drive. Question: Should you use LVM on top of the RAID5 or should just ...
5
votes
3answers
4k views

How do I open a .bak file on Linux?

I have received a file of .bak format, let it be foo.bak. I don't know if it is a MS-DOS file or Linux/Unix file. What I know is that I can't open it because my Linux (Ubuntu) does not give any hint ...
5
votes
4answers
717 views

Look for English word in a file via terminal

How to find and print out English words contained in a file via linux command line?
5
votes
6answers
7k views

Can I use `apt-get` to upgrade to the latest version of Nagios?

At the time of this writing the latest version of Nagios is 3.3.1. I am running Ubuntu 10.04 and have used apt-get update; apt-get install nagios3 to end up with version 3.2.0. I know there are a lot ...
5
votes
3answers
1k views

How does one open a new window from the shell with a specific size and position?

For example, say I wanted to start gnome-terminal with it's northwest corner at 0,0, and make the window 736x434 pixels (apparently the default, which allows for an an 80-character by 24-character ...
5
votes
2answers
3k views

How to pipe md5 hash result in shell

I am looking for a simple way to pipe the result of md5sum into another command. Something like this: $echo -n 'test' | md5sum | ... My problem is that md5sum outputs not only the hash of the ...
5
votes
4answers
4k views

Ctrl+C does not work in gnome-terminal

On my Linux host, Ctrl+C does not seem to work and I do not know how to proceed to make it work. I am using Ubuntu 10.04 with bash 4.1.5(1), and working in Gnome-terminal. When I pressed Ctrl+C while ...
5
votes
5answers
19k views

How to transfer files from Windows to Ubuntu on Virtualbox?

How should I transfer files from Windows to Ubuntu installed on Virtualbox? When I plugged in a USB, it only pops up in Windows. How can I see it in Ubuntu?
5
votes
3answers
10k views

“mount: / is busy” when trying to mount as read-only so that I can run zerofree

I am trying to run zerofree on Ubuntu 11.04 so that I can compact the VirtualBox vdi image using: VBoxManage modifyhd Ubuntu.vdi --compact In order to run zerofree the disk image has be mounted as ...
5
votes
2answers
3k views

Why can't vim find syntax.vim on my fresh Ubuntu installation?

I'm trying to make some basic customizations to vim. All I want is some syntax highlighting, etc. Basically, not just plain text. My .vimrc file consists of 7 lines: backspace=2 syntax on filetype ...
5
votes
3answers
5k views

Creating mounting point

I am mounting an image, and just realized that I have to create the directory for mounting point first. The command mount won't mount to a non-existing directory. But I seem to remember in some ...
5
votes
3answers
12k views

Why isn't there a server edition for Fedora like Ubuntu? [duplicate]

I was looking for a server edition of Fedora to download, and just found that they don't have one. It's very strange to me. If Ubuntu has both desktop and server editions, why doesn't Fedora follow ...
5
votes
3answers
2k views

How to load tp_smapi on Thinkpad X120e

My brand new Thinkpad X120e is working well with Ubuntu Natty. Now I want to get the tp_smapi module to work so I can control battery charge behavior. Unfortunately I get "no Thinkpad embedded ...
5
votes
4answers
1k views

Tmux xclip copy no longer working

On mu ubuntu 12.04 setups my tmux clipboard copy and paste commands are setup as follows: set -g prefix M-a unbind C-b bind C-c run "tmux save-buffer - | xclip -i -sel clipboard" bind C-v run "tmux ...
5
votes
4answers
7k views

FTP client with a good GUI?

I love linux because I get control over my system. But I do herald from the school of mac, where things are simple, beautiful, and powerful. I like it that way, as opposed to having lots of knobs and ...
5
votes
1answer
684 views

Writing raw images safely to USB sticks

Trying lots of different linux, on all kinds of hardware I find my self typing commands like this quite often: sudo dd if=xubuntu-13.10-desktop-amd64.iso of=/dev/sdc bs=10240 Needless to say, ...
5
votes
4answers
7k views

keyserver timed out when trying to add a GPG public key

I am trying to add a public key for installing a program with CPG. But i am pretty new to this but every command i found gave me the same error: gpg --keyserver keyserver.ubuntu.com --recv-keys ...
5
votes
3answers
2k views

Is Ubuntu LTS binary compatible with Debian?

RedHat and CentOS are binary compatible. So everything that works on the one will most propably work on the other (same RPMs, same libs, same versions, same dependencies)... Does the same hold true ...
5
votes
5answers
9k views

How do I update bash on EOL Ubuntu versions?

I.e. can I find a close enough package in the next nearest distro? Or is it complicated, and compiling from source is better? Or can I grab it from debian? (This question is about at least Ubuntu ...
5
votes
2answers
3k views

“who am i” after “su” not showing new user id?

Why is it that when I switch user 'su username' and then execute 'who am i' is outputs the previous user which I was logged as and not the one I've switched to?
5
votes
2answers
2k views

How to check for hardware errors with software methods?

How can I check for bad blocks, bad memory, etc. using only software solutions? I'm using Ubuntu 11.04.
5
votes
4answers
7k views

Run Python script on startup

Running on Ubuntu Karmic. I need to execute the following (updated) script at boot time #!/bin/sh # /etc/init.d/scripts # Description: Starts Python scripts # ————————————————– # ### BEGIN INIT INFO ...
5
votes
2answers
747 views

What's up with this 'gnome' package?

I have recently grown tired of the way Rhythmbox starts up every time I plug in my MP3 player. I know I could simply disable this, but I've decided to uninstall Rhythmbox instead. It's such a ...
5
votes
4answers
4k views

Grub error 15 (file not found)

I'm trying to fix a problem with a new installation. I'm running this existing distro (Ubuntu) from /dev/sdb with a new OS, Gentoo, installed on /dev/sda. I'm glad I took the trouble of setting these ...
5
votes
1answer
67 views

How does APT deal with different programs with the same name?

I decided to finally learn vi and as I was doing that I realized that vi wasn't behaving as I expected. I learned from another post that this was because, on Ubuntu, vim-tiny is installed by default. ...
5
votes
2answers
9k views

'iwlist' -> interface doesn't support scanning (Ubuntu LTS 10.04)

I am using Ubuntu 10.04 (LTS) on a Samsung N150+ netbook. I cannot scan wifi networks using iwlist and I would like to do so. Here is the output from some tests: ...
5
votes
3answers
7k views

Cleaning log files under linux

I am using a kvm ubuntu 10.04 virtual machine to test some features of a kernel module. I grep through the /var/log files to observe the kernel messages about that module. To start from a clean ...
5
votes
1answer
13k views

How can I completely reinstall mysql?

I had to reboot in the middle of a large data import. I only have one mysql database, which has now been corrupted. How can I completely remove mysql and reinstall it? I've tried apt-get purge ...
5
votes
3answers
3k views

Prevent claiming of novelty usb device by usbhid so I can control it with libusb?

I have a USB rocket launcher that I wish to experiment with through libusb. However, libusb cannot claim the interface; presumably because the output of usb-devices lists 'usbhid' as the driver for ...
5
votes
4answers
5k views

How do I migrate configuration between computers with different hardware?

I want to migrate the configuration of an Ubuntu desktop to a new box with different hardware. What is the easiest way to do this? /etc/ contains machine and hardware specific settings so I can't just ...
5
votes
1answer
776 views

get kernel source code

I need a specific kernel version to compile it with some additional modules. When I typing: uname -r I get 3.8.0-29-generic I need this one. uname -a Linux "..." 3.8.0-29-generic ...
5
votes
1answer
3k views

Disable atd (and other unnecessary startup processes) in Ubuntu?

I just spun up a new 12.04 server and have been having a bit of trouble getting the atd daemon to stop auto-launching. There's been a bit of changing around on the management of startup processes, ...
5
votes
4answers
17k views

java plugin does not work in chromium-browser (all possible attempts exhausted)

I was using google chrome browser on Ubuntu 12.04 machine, recently I needed to switch to chromium-browser. I am using the version that is available on the Ubuntu software centre. The problem is that ...
5
votes
2answers
144 views

Killing X-related processes when CrashPlan is running

I am currently running Ubuntu Server 12.04, but this applies to all flavours of Linux really. This server does a bunch of things and is controlled remotely via ssh. Some time ago I have installed ...
5
votes
1answer
420 views

Download package via apt for another architecture

I am currently in a architecture amd64, so when I try apt-get download vlc, it downloaded the appropriate architecture for my system, but how can I download the i386 version via apt? It's for ...
5
votes
1answer
2k views

how to enable command history of shell

I am using ubuntu 13.04, in this the command history of the shell is getting erased on close. Can someone tell me how to prevent this from happening?
5
votes
3answers
709 views

periodically can't access google

On a daily basis, at around the same time each day (early morning and early afternoon), my computer stops being able to access google or any sites that use google code (including sites that use google ...
5
votes
3answers
1k views

Reset dselect selection before package installation

I was looking through the list of packages with dselect, but pressed Return twice by mistake, thereby making it confirm and quit the [S]elect option. When I go to the [I]nstall option, it's now ...
5
votes
2answers
689 views

Lock a byobu session with password?

I used to leave my byobu sessions detached on a server. I want to lock the session to prevent other users (root account) accessing my session. Is this possible?
5
votes
1answer
5k views

What is hvc0? (appearing in “who” list)

I have an Ubuntu Server, and when I type who, to see who's connected, I can see that there's a user connected, and instead of being logged to a pts/x, he's connected to hvc0. Is there something to ...
5
votes
3answers
2k views

Installation date of Ubuntu

How can I determine when Ubuntu was installed in my computer? There was a different question posted here, but none of them is helpful.
5
votes
2answers
1k views

Number of running processes show in top

The usual maximum number that I have seen in the "running" field displayed in top(1) is the number of logical CPUs installed in the system. However, I have observed that under Ubuntu 10.04 (not ...
5
votes
2answers
172 views

Can we use Linux Mint ISO to repair Ubuntu's Grub?

A friend of mine is running Ubuntu and got GRUB RESCUE. Can they use Mint ISO to repair their Grub? As I don't have Ubuntu ISO?
5
votes
3answers
9k views

domain 'ubuntu-hvm' does not exists, xen + ubuntu, hvm guest os installation problem

I am following the installation/setup instructions at https://help.ubuntu.com/community/XenProposed to install ubuntu + xen. I was able to install a PV guest OS. However, when I got to the HVM guest ...