Most Popular
1500 questions
261
votes
3 answers
How do I add a kernel boot parameter?
I need to add the boot parameter foo=bar to my kernel. How can I do this once for testing, and permanently if testing was a success?
htorque
- 66,086
260
votes
9 answers
How do I uninstall MySQL?
I installed MySQL using sudo apt-get. Now I need to remove it from my system.
How can I do that?
batman
- 8,071
259
votes
16 answers
How do I show the git branch with colours in Bash prompt?
I am using this guide to show the branch name in gnome terminal (Ubuntu 15.10) when working in a git repository. Based on the above I now have the below in my ~/.bashrc file:
# uncomment for a colored prompt, if the terminal has the capability;…
u123
- 3,062
- 7
- 21
- 28
259
votes
11 answers
Can I restart the KDE Plasma Desktop without logging out?
I'm just talking about the standard KDE desktop. After a while (many days) of running the task bar stops working properly. This is due to some sort of undiagnosed bug but that's really not my boggle at the moment. It's fixed as soon as I log out and…
Oli
- 299,380
258
votes
16 answers
How do I disable X at boot time so that the system boots in text mode?
Is it possible to disable X at boot time? I'm setting up a server so it would be nice if it wouldn't load the graphical interface every time I boot.
Olivier Lalonde
- 60,581
258
votes
20 answers
How do I add a DNS server via resolv.conf?
Is /etc/resolv.conf useless in Ubuntu 12.04 LTS (Precise Pangolin)?
I see that the DNS server information is stored in NetworkManager now. The nmcli command line tool can list that for you.
If I want to add one more DNS server, will adding it to…
PnotNP
- 3,209
257
votes
7 answers
Can I move the Unity launcher?
I can’t get used to the new Unity system. I’d like to move the left Unity panel to the bottom of screen (like Windows 7 – more similar is better).
But I can't find a way. Is it possible?
Benjamin
- 10,229
257
votes
10 answers
How to access a shared folder in VirtualBox?
I followed the steps for sharing folders between Windows 7 and Ubuntu in VirtualBox.
Despite that the folder appears with a X sign and gives me the following message when a try to open it:
The folder content could not be displayed
When I choose…
userInThisWorld
- 2,705
257
votes
7 answers
Why ~/.bash_profile is not getting sourced when opening a terminal?
Problem
I have an Ubuntu 11.04 Virtual Machine and I wanted to set up my Java development environment. I did as follows
sudo apt-get install openjdk-6-jdk
Added the following entries to ~/.bash_profile
export…
Viriato
- 2,781
- 3
- 16
- 10
256
votes
12 answers
How do I install a different Python version using apt-get?
How can I install a different version of Python using apt-get?
Obviously I realise I can install using the source tar ball, however I would prefer not to install from source and instead use the package manager, as that's what it's there for. Surely…
AgileZebra
- 2,663
256
votes
18 answers
How do I free up disk space?
My Ubuntu cloud server has left only 900MB of disk space.
I'll just empty the directory /tmp and wondering if there is any other location to clean up.
user3215
- 5,475
256
votes
3 answers
What is the difference between /etc/init/ and /etc/init.d/?
What is the difference between /etc/init/ and /etc/init.d/?
More generally, what meaning does the .d suffix convey to a directory?
Olivier Lalonde
- 60,581
256
votes
13 answers
How to open a PDF file from terminal?
I used to work on the Mac terminal before and I used:
open file2open.pdf
and the PDF file would be opened on preview or whatever my default viewer was. When I use it in the terminal in Ubuntu I get this error message:
Couldn't get a file…
yayu
- 3,421
255
votes
12 answers
How do I add locale to ubuntu server?
I currently have those locales:
locale -a
C
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX
How…
Silver Light
- 2,647
254
votes
5 answers
Can I make Tab auto-completion case-insensitive in Bash?
Ubuntu's Terminal uses case-sensitive auto-completion, as would be expected for Linux.
But I think sometimes it would be more convenient to use a case-insensitive one instead, to save you having to be accurate while starting a name, and would…
mwfearnley
- 3,497