179
votes
4answers
77k views

Why did the command “:(){ :|: & };:” make my system lag so badly I had to reboot?

DANGER! Do not run this command to 'test' it unless you are prepared for a crash and/or force-rebooting your system. I was in my Virtualbox running 12.04 trying to compile an app, and while ...
179
votes
23answers
207k views

How can I install software or packages without Internet (offline)?

I have a friend who has got a computer that is not connected to the Internet. Is there any way to install software offline easily?
179
votes
6answers
168k views

How is the /tmp directory cleaned up?

How is the /tmp directory cleaned up? Is it automatic? If so, how frequently is it cleaned up?
178
votes
36answers
141k views

What lenses for Unity are available?

This question is present as a matter of historical interest. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on ...
178
votes
8answers
514k views

Screen Resolution Problem with Ubuntu 14.04 and VirtualBox

Environment: Lenovo T530 running Windows 7. Have installed Ubuntu 14.04 on a virtual machine using VM Virtual Box. Have installed all the updates from both Virtual Box and Ubuntu. Problem: While in ...
178
votes
10answers
321k views

How do I get the CPU temperature?

How do I get the CPU temperature?
178
votes
11answers
190k views

How to really clear the terminal?

I can issue the clear command or press Ctrl + L to clear the current Ubuntu terminal, but this just shifts previous output upwards and if you use mouse scroll or PgUP and PgDown keys it's hard to ...
177
votes
13answers
356k views

How do I change the computer name?

When I connect to my server (ubuntu server 10.10), I get this: name@server-name.belkin ~> How can I remove ".belkin"?
177
votes
23answers
142k views

How can I deactivate Bluetooth on system startup?

How can I deactivate Bluetooth on system startup?
176
votes
16answers
113k views

How to backup settings and list of installed packages

If I want to make a backup of everything I have done since the fresh install of Ubuntu, what are the possible options? What all should I backup? I want to get all the settings that I changed, all the ...
173
votes
6answers
135k views

How can I install just security updates from the command line?

sudo apt-get upgrade installs all updates, not just security updates. I know that I can use Update Manager to select only important security updates, but is there a way to do this from the command ...
171
votes
1answer
297k views

Installed Teamviewer using a 64-bits system, but I get a dependency error

I was trying to install Teamviewer, but I was getting a dependency error. I tried to install them, but with no luck. I'm getting this error: Unpacking teamviewer (from teamviewer_linux_x64.deb) ... ...
169
votes
2answers
235k views

How do I install different (upgrade or downgrade) PHP version in still supported Ubuntu release?

I am trying to update to install PHP 5.5, 5.6 or 7.0 in Ubuntu 12.04/14.04/16.04 LTS, and I can only get PHP 5.3.10 for Ubuntu 12.04, PHP 5.5.9 for Ubuntu 14.04 or PHP 7.0.4 for Ubuntu 16.04 using ...
168
votes
6answers
194k views

How can I update my nodeJS to the latest version?

I have installed nodeJS on Ubuntu with following code sudo apt-get install nodejs Since I am a new user for ubuntu I also ran this code too sudo apt-get install npm Now when I type nodejs ...
167
votes
6answers
201k views

How can I recursively delete all files of a specific extension in the current directory?

How do I safely delete all files with a specific extension (e.g. .bak) from current directory and all subfolders using one command-line? Simply, I'm afraid to use rm since I used it wrong once and now ...
167
votes
1answer
314k views

How do I configure swappiness?

I need a step-by-step, simple and easy way to configure swappiness.
167
votes
11answers
151k views

How can I stop being prompted to unlock the 'default' keyring on boot?

Whenever Ubuntu boots up, a dialogue pops up asking me to unlock my default keyring. Is there some way this can unlock automatically through PAM or some other magical way?
166
votes
13answers
520k views

How to force a clock update using ntp?

I am running Ubuntu on an ARM based embedded system that lacks a battery backed RTC. The wake-up time is somewhere during 1970. Thus, I use the NTP service to update the time to the current time. I ...
166
votes
10answers
120k views

How to prevent updating of a specific package?

Because of bug #693758 I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package. How can this be achieved?
165
votes
5answers
325k views

How to increment a variable in bash?

How to increment a numeric variable in bash? I tried with var=$var+1 and var=($var+1) but it doesn't work. My variable is a number, but bash think that is a string. My bash version is ...
164
votes
5answers
134k views

How can I get octal file permissions from command line?

There is a chmod command to set file permissions, but can I get file permissions in octal mode (such as 755) from the command line?
164
votes
31answers
275k views

Ubuntu gets stuck in a login loop

My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back. I've read that the problem might be caused by ...
163
votes
15answers
56k views

How to customize the Ubuntu Live CD?

I would like to customize Ubuntu live CD by installing some additional packages. I have followed this but it doesn't seems to work. Can anyone provide clear instructions? Note: I do not prefer ...
162
votes
10answers
173k views

How to merge several PDF files?

There are a lot of software in Windows to merge PDF files but how can we do the same in Ubuntu?
162
votes
24answers
96k views

Do I need to have 'antivirus software' installed? [closed]

I thought that there was no need to scan for viruses either in Ubuntu or any Linux distros until I found virus scanner packages 'clamtk' and 'klamav' in Ubuntu software center yesterday. This leads ...
161
votes
46answers
804k views

Installing Broadcom Wireless Drivers

I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible. What are the steps to install Broadcom wireless drivers ...
161
votes
5answers
122k views

How do I enable or disable Apport?

The system crash dialog is annoying me, how can I turn it off? I'd also like to know how to turn it back on just in case I need it to report a problem.
159
votes
4answers
410k views

How to create a soft or symbolic link?

I am installing p4v in /opt, but /usr/bin is on my path. Is it possible to create a soft or symbolic link for p4v from /opt to /usr/bin, so I can just type "p4v" since /usr/bin is in my path?
159
votes
6answers
152k views

How do I remap certain keys or devices?

I'm searching for a way to remap certain keys in ubuntu. i.e. I'd like to change PgUp to Home or PgDown to End. Does a built-in command or a tool exist reassign keys in Ubuntu/GNOME?
159
votes
4answers
208k views

What do the different colors mean in the terminal?

What do the different colours in Ubuntu's terminal mean? For example, when I type the ls command in one of my folders, I get one of the files in light green, the other (which is a folder) in blue with ...
158
votes
18answers
134k views

I have 16GB RAM. Do I need 32GB swap?

I read many places that the rule of thumb for swap space is to double the amount of physical RAM. However, 32 GB does seem a LOT. Do I need that much? Do I need it at all with this high amount of ...
158
votes
9answers
302k views

How do I increase the hard disk size of the virtual machine?

I have run out of space on my WinXP virtual machine, which I only gave 10 GB space for when I created it. Is there an easy way to increase it to, say, 20 GB? I can't see any obvious option in ...
157
votes
6answers
232k views

Why does a Ubuntu guest in VirtualBox run very, very slowly?

I'm using currently Ubuntu 12.04 LTS as a host machine, and I've virtualized three machines: a Xubuntu 12.04 guest a Windows 7 guest a Ubuntu 12.10 guest All the guests have the same VirtualBox ...
157
votes
12answers
172k views

Progress and speed with 'cp'?

When copying files using cp, is it possible to display the progress and speed of the transfer? Otherwise, is there any alternative command line utility that can achieve this?
157
votes
12answers
157k views

How do I reset my Unity configuration?

I've been messing around with Unity and broke something, how do I "start over"?
155
votes
2answers
176k views

How to enable TRIM?

I know that the Linux kernel supports TRIM as of version 2.6.33, so there should be TRIM support in ubuntu. Is TRIM enabled by default or do I need to change some settings or install additional ...
154
votes
10answers
555k views

How to use “grep” command to find text including subdirectories

I want to find all files which contain a specific string of text. The grep command works, but I don't know how to use it for every directory (I can only do it for my current directory). I tried ...
154
votes
13answers
322k views

How can you log out via the terminal?

Is there a command, that will take you back to the login screen?
153
votes
13answers
374k views

How to install Eclipse?

I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version. Is there a PPA or some other way to install latest Eclipse? Please describe the steps for ...
152
votes
16answers
159k views

Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?

I am considering buying a Dell XPS 15 laptop. The laptop has a Nvidia 420m card which should work with Linux but I keep reading that the Nvidia Optimus technology isn't supported on Linux. I am not ...
152
votes
2answers
155k views

How do I retrieve the public key from a SSH private key?

A SSH private key as generated by ssh-keygen contains a public key part. How do I retrieve this public key from the private key? I've lost my public key and need to put the contents of this public key ...
151
votes
5answers
228k views

Easiest way to copy ssh keys to another machine?

I am lazy at home and use password authentication for my home machines. I am ready to move to key based authentication. There are many options on the web on how to do this, including catting then ...
151
votes
12answers
348k views

How do I install and use the latest version of GNOME?

I followed the instructions for compiling GNOME Shell and it did compile with a few errors here and there but it didn't run. I installed GNOME Shell using sudo apt-get install gnome-shell but I got ...
150
votes
14answers
215k views

What are some GUI clients for Git?

I am using git for version control of various projects. Is there easy-to-use software for navigating through commits and branches of a project and for retrieving versions?
149
votes
5answers
337k views

How do I install curl in php5?

I currently have PHP 5.3 installed with Apache in 10.04 Lucid. How can I add the PHP Curl libraries? Do I need to install any other dependencies for curl?
149
votes
5answers
229k views

How can I fix a 404 Error when using a PPA or updating my package lists?

PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown: W: Failed to fetch http://ppa.launchpad.net/ 404 Not Found How do I fix these errors?
148
votes
8answers
264k views

How do I create a permanent Bash alias?

I would like to create an alias to rm command in order to have a confirmation message after executing this command. So I am creating an alias like this alias rm='rm -i'. But as far as I know this is a ...
148
votes
7answers
173k views

How can I get apt to use a mirror close to me, or choose a faster mirror?

Downloading from the main Ubuntu archive is slow even when it's not release day, how can I get apt-get to automatically use a mirror that is close to me?
148
votes
5answers
475k views

What is the correct way to install proprietary ATI Catalyst Video Drivers (fglrx) directly from AMD?

I am planning on doing a fresh install of Ubuntu and want to know what is the correct way to install ATI Catalyst Video Driver? There are multiple valid answers for this question spanning over ...
148
votes
4answers
189k views

How do I patch/workaround SSLv3 POODLE vulnerability (CVE­-2014­-3566)?

After the BEAST attack and Heartbleed bug, now I've heard about a new vulnerability in SSL/TLS called POODLE. How do I protect myself against being exploited? Are only servers or also clients ...

15 30 50 per page