Most Popular

1500 questions
236
votes
13 answers

What is the command to update time and date from internet

What is the command to update time and date from Internet? Is there any application that allows me to do so from its user interface rather than from the shell?
Vikramjeet
  • 5,936
  • 10
  • 37
  • 43
236
votes
8 answers

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?
ajmitch
  • 18,999
236
votes
15 answers

How to move multiple files at once to a specific destination directory?

I got a bunch of files in some directory (along with many other files) that I want to move. Luckily, all the files I want to move contain a certain identifier in their names, so I can ls | grep IDENTIFIER to get the exact list of files to move.…
gilad hoch
  • 2,485
236
votes
23 answers

sudo apt update error: "Release file is not yet valid"

I keep getting this error every time I try to sudo apt update: Hit:1 ubuntu bionic InRelease Ign:3 linux/chrome/deb stable InRelease Get:2 /ubuntu bionic-updates InRelease [88.7 kB] Get:5 /linux/chrome/deb stable Release [943…
user897956
236
votes
2 answers

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 official repositories (using apt-get). I'm not…
kavisiegel
  • 2,517
235
votes
10 answers

What is the Linux equivalent to Windows' Program Files?

Under Windows, most applications and application data are stored in a special directory known as C:\Program Files (and occasionally C:\Program Files (x86)). What is the Ubuntu/Linux equivalent to this path? Is there even one?
user11154
234
votes
12 answers

How do I install the Firefox Developer Edition?

Mozilla released the Firefox Developer Edition! How do I install it on Ubuntu? Source: Mozilla Releases 'Firefox Developer Edition' for Windows, Mac and Linux - OMG! Ubuntu!
blade19899
  • 26,994
234
votes
2 answers

How can I display all users and groups with a command?

I want to display: All users and All groups in my system using command-line. users and groups commands display users currently logged in, and groups a user belongs to respectively. How to display a list of all users and all groups by…
Pandya
  • 37,289
234
votes
3 answers

Can I directly download audio using youtube-dl?

Can I directly download audio from a YouTube video instead of first downloading audio+video and then extracting the audio?
DK Bose
  • 44,553
233
votes
5 answers

Missing System Settings after removing some packages

I installed or uninstalled some packages. I do not even remember what I was doing. As a result, now I can't see most of the system settings in settings window. Any idea how to solve this problem. When I hover mouse over the window title, it shows…
Indigo
  • 2,433
233
votes
5 answers

Why doesn't `sudo cd /var/named` work?

I want to cd into /var/named but it gives me a permission denied error, and when I want to use sudo to do this I am not permitted. What is the technical reason for this, and is it possible to do this some other way?
Hojat Taheri
  • 5,539
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
  • 17,964
  • 41
  • 100
  • 142
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
14 answers

kill a screen session

I'm trying to kill a screen session. I noticed a lot of other related questions, but none of those answers are working for me. I am trying to kill the following session: screen -ls There is a screen on: 23520.pts-6.porkypig (09/30/2013…
JohnMerlino
  • 7,829
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