Most Popular

1500 questions
232
votes
6 answers

How to find the number of CPU cores including virtual?

How do I find out the number of cores my CPU has, including virtual cores (hyper threading cores) using the command line?
TellMeWhy
  • 18,014
232
votes
4 answers

Why is Ubuntu moving to Snap packages?

Why Ubuntu dumping .deb packages and moving to .snap packages? At least for now they are keeping .deb package for normal distributions. .deb is already the most popular packaging format out there. This gives an idea about what the Snap package…
Vishnudev K
  • 2,796
232
votes
4 answers

How can I install a package without root access?

I have no root access on this machine. I would like to know if there is a way I can download Ubuntu packages and install them as non-root? Probably in my ~/bin or ~/usr/share or something like that? Would that work?
Weboide
  • 10,833
232
votes
2 answers

What is difference between the options "autoclean", "autoremove" and "clean"?

apt-get has a few options which looks the same to me: autoclean , autoremove and clean . What do each of them do?
Antony
  • 3,225
232
votes
6 answers

Detect and mount devices

I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I wouldn't mind, except the same problem goes with…
Calixte
  • 3,513
232
votes
2 answers

What is the best way to uninstall nginx

I'm trying to add new module to nginx with naxsi, but I should reinstall nginx. What is the better way of removing nginx?
Shuo
  • 2,433
  • 2
  • 15
  • 4
232
votes
20 answers

How do I create a desktop wallpaper slideshow?

How do I create a desktop wallpaper slideshow with my own set of images? With the images coming from a pictures folder, or pre-selected With the images displayed in order, or randomly With the images changing every few minutes, or after random…
David Siegel
  • 9,052
231
votes
19 answers

How to install the latest versions of NodeJS and NPM?

I noticed over at the https://nodejs.org/ website that node is currently at v 0.12.0. Can someone let me know how to install the latest version of node together with npm (terminal commands please)?
tonyf
  • 2,637
  • 5
  • 18
  • 19
230
votes
7 answers

Is there a way to create multiple directories at once with mkdir?

If I wanted to create multiple directories (on the same level) and then feed it a comma seperated list of directory names (or something to that effect)?
BGroat
  • 2,475
230
votes
9 answers

Create encrypted (password protected) zip file

How do I create an encrypted (password protected) zip file?
David Oneill
  • 12,704
230
votes
4 answers

How do I restore the default repositories?

There are now errors when updating and I cannot install most software due to a corrupted /etc/apt/sources.list file. Is there a copy I can download to replace it? The file would be for Ubuntu 12.04 (Final Beta) in the United States.
230
votes
6 answers

WSL: Am I running version 1 or version 2?

I have Windows Subsystem for Linux , but I don't know which version I have, and many things won't work in version 1. How do I check my version?
K7AAY
  • 17,735
229
votes
12 answers

How to make a disk image and restore from it later?

I'm a new Linux user. I've reinstalled my Wubi from scratch at least ten times the last few weeks because while getting the system up and running (drivers, resolution , etc.) I've broken something (X, grub, unknowns) and I can't get it back to work.…
228
votes
13 answers

Is there a GUI client for Git?

I am using git for version control of various projects. Is there GUI software for navigating through commits and branches of a project and for retrieving versions in git projects?
Matoeil
  • 2,477
227
votes
2 answers

How to change visudo editor from nano to vim?

When I use visudo , it always opens it with nano editor. How to change the editor to vim?
dedunu
  • 9,586