Most Popular
1500 questions
296
votes
14 answers
Where are MTP mounted devices located in the filesystem?
I have an Android phone that connects with my computer via MTP. This works fine; I can see and transfer files with Nautilus. However, I often want to use the terminal to move large numbers of files, and I cannot seem to find the device anywhere in…

bessman
- 7,425
296
votes
9 answers
How to choose the default gcc and g++ version?
So I have installed gcc-4.4 and gcc-4.3 (same for g++). Now as far as I remember there is a tool in Ubuntu which sets the symlinks for you if you just tell it which version you want. However it does not seem to work in the newest version, which I…

Nils
- 3,201
296
votes
7 answers
How do I find the kernel version, Ubuntu release and disk partition information from the terminal?
Which commands will give me information about following using Terminal?
Kernel Version
Distribution version no.
All partition size of the HDD

KK Patel
- 19,083
295
votes
8 answers
How do I find out which repository a package comes from?
Is there a method or command which can tell from which repository a package is coming from?

dfme
- 3,073
295
votes
13 answers
What's a command line way to find large files/directories to remove and free up space?
Looking for a series of commands that will show me the largest files on a drive.

Ryan Detzel
- 3,091
293
votes
22 answers
How can I create launchers on my desktop?
In older versions it was easy to create a launcher on my desktop. All I had to do is right click on my desktop and select the "create launcher" option.
How can I create such launchers now?

tinuz
- 3,952
292
votes
20 answers
SSH connection problem with "Host key verification failed..." error
I can connect to another Ubuntu machine in my LAN via SSH. On both of then PC's I installed openssh-server
but from another Ubuntu computer I can not connect to my PC via SSH and I got this error:
Host key verification failed...

Navid
- 3,133
292
votes
8 answers
mv: Directory not empty
I want to move content of a directory within another directory with the same folders.
Here's an example:
I have ./backup which has the directories base and test. Now, I want to move these directories to ./backupArchives.
I use this:
mv ./backup/*…

UdK
- 2,923
289
votes
2 answers
Difference between systemctl and service commands
systemd gives us the systemctl commands suite which is mostly used to enable services to start at boot time. We can also start, stop, reload, restart and check status of services with the help of systemctl.
We can do, for example, sudo systemctl…

luv.preet
- 5,787
289
votes
16 answers
How do I set Windows to boot as the default in the boot loader?
How do I set the bootloader so that in my dualboot with Windows 7/Ubuntu 11.04, Windows start up as standard instead of Ubuntu?

Rasmus Mathiesen
- 3,240
289
votes
3 answers
How to extract a zip file to a specific folder?
I have a zip file that I need to extract into another folder. When I set up extraction to said folder it says "permission denied". I've read here how to log into a terminal as root and superuser but can't find anything to help me.
I need to extract…

Tj Cooke
- 2,899
289
votes
22 answers
SSH Permission denied (publickey)
I am trying to connect to a Linode (running Ubuntu 12.04 LTS) from my local machine (also running Ubuntu 12.04 LTS)
I have created a private and public key on my local machine and copied my public key to my Linode's authorized_keys file. However,…

Pattle
- 3,029
- 3
- 15
- 7
288
votes
5 answers
What is LVM and what is it used for?
As a Linux/Ubuntu newbie, what is LVM and what is it used for?
In terms of a web server installation, what benefits does it provide?
Would you recommend using it?

Matthew Blackford
- 3,085
287
votes
10 answers
How to change time-zone settings from the command line
I have a virtual machine that is set to PST that a couple of colleagues have in different time-zones.
If I wanted to change the time-zone to EST and GMT, what do I need to do?

manyxcxi
- 3,161
287
votes
7 answers
How to run sudo command with no password?
How does the ubuntu user on the AWS images for Ubuntu Server 12.04 have passwordless sudo for all commands when there is no configuration for it in /etc/sudoers?
I'm using Ubuntu server 12.04 on Amazon. I want to add a new user that has the same…

aychedee
- 8,207