Most Popular

1500 questions
147
votes
5 answers

Migrate from a virtual machine (VM) to a physical system

Aka: How can I convert a .vdi or .vmdk to a real installation on a physical disk? Is it possible/feasible to migrate a Virtual Machine installation of Ubuntu onto a physical machine? If possible, how difficult would this be to accomplish and what…
dting
  • 2,235
147
votes
4 answers

What's the difference between the Server version and the Desktop version?

What's the difference between the Server version of Ubuntu and the Desktop version?
oneat
  • 1,600
147
votes
4 answers

What do the various dpkg flags like 'ii' 'rc' mean?

I frequently need to check which packages are installed, and I use the following command: dpkg -l | grep foo which gives the following output Desired=Unknown/Install/Remove/Purge/Hold |…
theTuxRacer
  • 16,185
147
votes
1 answer

How do I extract a specific file from a tar archive?

Is it possible to restore a single file from the .tar backup? I don't want to restore total backup. I just want to restore one single file from the backup.
Raja G
  • 102,391
  • 106
  • 255
  • 328
147
votes
3 answers

How to install psql without Postgres?

I need the psql command line tools, but I don't need the actual Postgres RDBMS. This is to work with a package which supports a psql interface. Is it possible to install just psql? (Ubuntu 16.04)
146
votes
8 answers

Copy (only copy, not cutting) in Nano?

I need to copy some text in Nano, so I searched using Google and found a few posts here on Stack Exchange and other sites in which the OP asks "How can I copy?" and people usually answer "You can use ctrl+K". The person asks how to copy and they are…
user423047
146
votes
3 answers

How to create a restricted SSH user for port forwarding?

ændrük suggested a reverse connection for getting an easy SSH connection with someone else (for remote help). For that to work, an additional user is needed to accept the connection. This user needs to be able to forward his port through the server…
Lekensteyn
  • 174,277
146
votes
12 answers

How do I disable overlay scrollbars?

It looks like Ubuntu 11.04 will come with overlay scrollbars by default. I do like them, but I don't like the current mix of scrollbar types as many applications don't yet use those overlay scrollbars. Is there a way to disable overlay scrollbars…
htorque
  • 64,798
146
votes
6 answers

How do I show apt-get package management history via command line?

Is there a way to show the history of packages that were changed by apt-get via command line?
NES
  • 33,195
146
votes
4 answers

How do I install make?

/usr/bin/perl install-module.pl --all ERROR: Using install-module.pl requires that you install "make". I need to install make on my ubuntu on AWS EC2. How can I do that ? I could finally install build-essential also successfully. # make make: ***…
146
votes
10 answers

Moving from bash to zsh

I'm considering moving from bash to zsh as I often come across posts praising zsh. I'm an experienced command line user and I'm assuming the basics are pretty much the same, so I'm looking for advice to get the benefits of moving, and any gotchas to…
Hamish Downer
  • 19,181
146
votes
8 answers

How to get rid of Ubuntu Pro advertisement when updating apt?

Recently, whenever I run apt update/upgrade, I get the following message in the terminal: Try Ubuntu Pro beta with a free personal subscription on up to 5 machines. Learn more at https://ubuntu.com/pro Does anyone know any way to get rid of this?
Scotty_Trees
  • 1,661
146
votes
9 answers

How do I connect to a WPA wifi network using the command line?

So basically, I'd like to use iwconfig to connect to my wifi network when I'm not inside X. But I just don't see a way to do it in the man page. Any idea?
Ken Kinder
  • 4,170
146
votes
5 answers

How can I chroot sftp-only SSH users into their homes?

I want to give a client access to my server, but I want to limit those users to their home directories. I will bind-mount in any files I want them to be able to see. I've created a user called bob and added him to a new group called sftponly. They…
Oli
  • 293,335
146
votes
4 answers

How to resize partitions?

Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers. Now I changed my OS to Ubuntu 12.04 LTS. I installed…
Johannes
  • 1,479
  • 2
  • 10
  • 3