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)

8
votes
2answers
1k views

CPU stuck at 99% for a few hours. Really need help figuring out logs

extract from syslog: CRON[pid]: (user) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin ...
8
votes
5answers
2k views

Vintage terminal for Ubuntu

So I have just been introduced to Cathode for OSX and I am completely fascinated by how classic it looks with it's 1970s retro style. Does anyone know of any programs/packages I can download to get my ...
8
votes
2answers
8k views

How to find out which X11 driver system is using?

How to find out which X11 driver system is using? For my chip openchrome is the best driver but I suspect that system is not using it. I just need at least 2D acceleration. How can I check? Here is ...
8
votes
4answers
22k views

How can I fsck a partition when the device reads as busy (but has been confirmed otherwise)?

I'm attempting to run fsck -p /dev/sda5 to repair errors on an ext4 partition, however the command outputs fsck from util-linux-ng 2.17.2 fsck.ext4: Device or resource busy while trying to open ...
8
votes
1answer
341 views

Finding the library versions a library was linked against

I have a library that was compiled on an unknown Ubuntu machine, And I'd like to determine what version of Ubuntu that machine had at the compile time. My idea was to try and find the versions of ...
8
votes
2answers
4k views

Merging two internet connections from two network interfaces in order to obtain double speed

I have two network interfaces (one wired & one wireless). I have two internet accounts too (each 256 kBps; one from a modem that I use as wired connection & the other from a wireless network). ...
8
votes
1answer
3k views

How to get Nautilus to “Open with Archive Mounter”?

I see Ubuntu screenshots showing that one can right-click an ISO, and have an option to "Open with Archive Mount". How do I get that running elsewhere where it isn't default (Debian in my case)? This ...
8
votes
1answer
1k views

How do I use a font in .ttc format as the console font?

I rather dislike the available tty fonts and would rather use Menlo, which is what I use in OS X's Terminal. Menlo is in a .ttc format, but (from the contents of /usr/share/consolefonts) Linux seems ...
8
votes
2answers
917 views

Kernel Panic because of RAM stick?

one of my RAM sticks causes a Kernel Panic on my Ubuntu 10.10 (something like "not syncing" with a lot of memory adresses shown on screen). It's definitely this one RAM stick and not its socket ...
8
votes
3answers
314 views

What could cause the clock to jump by 5 minutes?

I have a (physical) box running a stripped down Ubuntu; every now and then (6 times in 3 months), the clock jumps backwards by exactly 300 seconds (+- 0.01 seconds; always exactly 300 seconds). It ...
7
votes
4answers
11k views

How to find a file in the filesystem from the command line?

I'm fairly new to Linux, and I've now found myself in a situation where I'd like to find where a file (with a partially-known filename) is in the file system. I'd like to know how to do this from the ...
7
votes
2answers
20k views

How to start a service automatically, when Ubuntu starts?

I am using Ubuntu 12.04 and want to have a service starting, when the system is booted normally. As 'service' I understand some code, for example cd my_directory; my_command -host 0.0.0.0 -port ...
7
votes
4answers
24k views

How can I look up a username by id in linux?

The command id can be used to look up a user's uid, for example: $ id -u ubuntu 1000 Is there a command to lookup up a username from a uid? I realize this can be done by looking at the /etc/passwd ...
7
votes
2answers
1k views

l, ls & la — what are the differences, and are there more of these commands?

So, through typing several commands I've found that there's not only ls, but l and la too. There doesn't appear to be any man entries on Ubuntu 12.14. They all appear to do similar things with minor ...
7
votes
6answers
1k views

Negatives/downsides of Ubuntu's no-root sudo setup

By default, Ubuntu does not create a root account that the user can login to. Instead users use sudo when they need to perform actions that require administrative access. Obviously, the people at ...
7
votes
3answers
6k views

The rc0.d,rc1.d,… directories in /etc

I'm running Ubuntu 10.04 LTS where I have the directories /etc/rc0.d, /etc/rc1.d, /etc/rc2.d, ..., /etc/rc6.d. Example files from my machine: directory example symlinks in the dir ...
7
votes
2answers
994 views

What are the ramifications of setting the hostname?

I have several Amazon EC2 servers and I'm using Chef to manage the configuration. I'd like to set the hostname so that the default bash prompt is more helpful. Right now after launching a new server ...
7
votes
6answers
5k views

Is there parallel wget? Something like fping but only for downloading?

I've found only puf (Parallel URL fetcher) but could to get it work with reading urls from file and something like puf < urls.txt does not work either. The operating system installed on the ...
7
votes
3answers
4k views

How to /dev/null background processes “informational” output?

[USER@SERVER ~] sleep 3 & [1] 5232 [USER@SERVER ~] [1]+ Done sleep 3 [USER@SERVER ~] How do I /dev/null these two messages?: [1] 5232 [1]+ Done sleep ...
7
votes
3answers
499 views

Harddrive I/O per Pid

is there any way to see the disk I/O per pid/process ? Monitorix shows me the following and correct me if I´m wrong, but it looks like that the harddrive is slowing down the whole system: UPDATE #1 ...
7
votes
2answers
1k views

How to implement package install suggestion on Debian?

I have noticed that while on Ubuntu, if I type the following: mc and it isnt installed, I get the message below: The program 'mc' is currently not installed. You can install it by typing: sudo ...
7
votes
2answers
3k views

Ubuntu vs Debian for server

What would be a better choice for a web server, Debian or Ubuntu? I mainly use Python & PostgreSQL with Nginx and sometimes PHP & MySQL. What are pros/cons of each?
7
votes
1answer
837 views

Why root's default shell is configured differently with other normal user account's default shell?

As I know, root's default shell is configured csh and normal user's default shell is sh in FreeBSD. And in Ubuntu, root is dash, normal user is bash. (refer: What's the Ubuntu's default shell?) Why ...
7
votes
2answers
2k views

How do I find the process generating a lot of network traffic?

My machine is generating a lot of network traffic, all from the same source port, with many different destinations (found this out by running iftop -P, and from my router's logs). How do I find the ...
7
votes
2answers
439 views

Is it possible to install a linux desktop environment from a live cd?

My question is about Linux in general but lets suppose my ubuntu isn't working property, booting in tty or whatever. I have no internet connection but I have ubuntu live cd. Is it possible to ...
7
votes
5answers
6k views

Dual monitors and panels

I have a question with regard to a multiple monitor setup. I'm currently primarily a Windows user, but I've been running Ubuntu in dual boot to get a feel for it. The one thing I find lacking that ...
7
votes
4answers
8k views

Why is this python error message generated whenever I type a nonsense command?

Whenever I type any "nonsense" command, this python error message is generated. Normal commands work fine. Any idea how to debug this? $ somenonexistingcommand Traceback (most recent call last): ...
7
votes
1answer
1k views

wubi pros and cons

Do you have experience using Wubi and if so, what are the major pros and cons ? I am of course particularly interested in potential problems.
7
votes
2answers
143 views

Removed apt-get from Ubuntu

Well my fingers did manage to do sudo apt-get remove libstdc++6 and write, yes. That removed alot of system files. Is there any way to bring it up working again? I have connected to terminal, and wget ...
7
votes
1answer
5k views

Where did /usr/lib64 go and what is /usr/lib/x86_64-linux-gnu?

I have two Ubuntu-x86_64 systems. One is version 10.04, the other 12.04 and there is a difference in the structure of the lib directories. This doesn't surprise me, but I'm curious if anyone knows ...
7
votes
1answer
5k views

Overflow /tmp mounted when there is free space on /

I recently faced an "overflow" issue on /tmp. I don't have a separate /tmp partition, and there is 17% free in / – then why did I get an overflow tmp filesystem? # /etc/fstab: static file ...
7
votes
5answers
10k views

invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm line 332

Since I upgraded my PC from (k)ubuntu 12.04 to 12.10 I receive this error message when trying to send an email using sendemail. Installing an older version of IO::Socket::SSL is not an option. I ...
7
votes
2answers
818 views

Should I use http or ftp links in apt sources.list

Should I use http or ftp links in /etc/apt/sources.list? What I mean is is using something like, deb ftp://ftp.debian.org/debian/ squeeze main contrib non-free deb-src ftp://ftp.debian.org/debian/ ...
7
votes
3answers
4k views

Why is my EC2 server's time off by ~10 seconds every day?

I have what I believe is a system file, /etc/cron.daily/ntpupdate which runs ntpdate ntp.ubuntu.com daily to sync with the network time. Every day it generates output very similar to this: ...
7
votes
2answers
6k views

Add Apache to Ubuntu's startup

I'm currently learning the Linux environment, and decided to manually install the Apache server. For educational purposes, I've compiled it into: /server/apache The http.conf location is configured ...
7
votes
1answer
312 views

How do I use colors in the MOTD?

I edited the default /etc/update-motd.d/00-header, adding some color to make it easier to read: printf "Welcome to \e[1;34m%s\e[0m \e[2m(%s %s %s)\e[0m\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" ...
7
votes
2answers
364 views

Triggering an action when a specific volume is connected

I have a USB key that contains my keepass2 password database and I'd like to perform some actions when it is plugged into my computer, namely: Auto-mount it to some specific location When the ...
7
votes
2answers
315 views

Can I get infected in this case if I run a live cd?

I recently got rid of a nasty trojan on Windows and want to migrate to Linux(Ubuntu). I want to run a Live CD so that I can format an SD card to put my brand new firmware on my router and format the ...
7
votes
2answers
1k views

Fixing CTRL-* in vim under GNU screen

When running vim under GNU screen, I'm finding that combinations of CTRL with the arrow and Pg* keys don't work as expected. I'm using the Ubuntu 10.10 vim-gnome package. On a different machine, ...
7
votes
1answer
4k views

How to launch an application with default “terminal emulator” on Ubuntu?

I wanted to execute some command in terminal emulator, like Konsole, but I need to make this cross-desktop. Is there some command like xdg-open, but for getting the default terminal emulator? I'm ...
7
votes
3answers
3k views

“Unable to resolve hostname” - how to cleanly change hostname without rebooting

At work, I work on a small website using Ubuntu servers hosted on Amazon EC2 instances. We have two webservers, and at any given time one of them is 'live' and one is 'testing', but when we've got our ...
7
votes
1answer
337 views

Installing USR 5422 on Ubuntu 12.04

I am a newbie to Linux. I was trying to set up the USR5422 USB adapter. It worked fine for the first time, but since then it freezes the computer most of the time. What commands can I fire to see ...
7
votes
2answers
2k views

autofs with sshfs not working anymore [closed]

I just upgraded from Ubuntu 12.04 to 12.10. Before that I backed up my autofs config which worked fine. I appended the line from my old /etc/auto.master to the new one: +dir:/etc/auto.master.d ...
7
votes
5answers
2k views

Unable to connect to a wifi network with a special SSID

My current wifi network (and i'm writing this with the help of Windows -.- ) has a special character in it's SSID: "ö", a so-called "umlaut". If changing the SSID is not an option, how to connect to ...
7
votes
3answers
547 views

Is it possible to execute scripts in BIND based on lookup

Is it possible, to set up BIND as DNS server on my local network, and make execute scripts when it gets a lookup? I would like to execute a Python or Bash script, based on the incoming DNS lookup, ...
7
votes
2answers
604 views

No sound when attached to docking station

I have been using Linux and Ubuntu only since the last two months on my (2006) Sony Vaio VGN A617S laptop which is going pretty well on Ubuntu 10.10. When installing Ubuntu audio did get installed ...
7
votes
1answer
359 views

Low battery freezes laptop [closed]

I have a laptop Lenovo G575. MS Windows works without any problems on it, but with Linux, it freezes during login or up to 10 minutes after power on. I have tried Ubuntu, Fedora 15 and 16, Fedora 16 ...
6
votes
5answers
3k views

How is sudo set to not change $HOME in Ubuntu and how to disable this behavior?

On Ubuntu 12.04, when I sudo -s the $HOME variable is not changed, so if my regular user is regularuser, the situation goes like this: $ cd $ pwd /home/regularuser $ sudo -s # cd # pwd ...
6
votes
2answers
121 views

What is the rationale behind using non-numeric package component for the version?

In ubuntu (and not only in ubuntu) default repository you could see a package version like 2.2.14-5ubuntu8.12. Why do the maintainers give such a weird version in the central package repository? ...
6
votes
3answers
1k views

Command line join of password protected wireless networks in Ubuntu, Arch Linux, or other distros?

Is there a way to join a password protected wireless network via the command line in installations of Ubuntu or Arch Linux with no desktop environment or any GUI installed? Also, could this be done ...