Most Popular

1500 questions
237
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 command-line?
Pandya
  • 37,469
237
votes
8 answers

How can I make a script that opens terminal windows and executes commands in them?

I have three scripts I need to run when I start up my Ubuntu machine, they start services I use in my development environment. To do that, I manually open three terminals and type in the commands. Is there any way to create a script that will open…
JSBach
  • 2,551
237
votes
17 answers

How to change Gnome-Terminal title?

I have several instances of terminals running in my working environment, what I would like is to set a specific title for each one, in order to have a clear idea what purpose the specific terminal serves i.e. Apache, editing_ini, postgres etc... Of…
topless
  • 7,465
237
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. But,…
gilad hoch
  • 2,495
  • 2
  • 21
  • 12
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
  • 19,029
236
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
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 B] Get:6…
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
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
  • 27,004
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,703
234
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 02:49:47 PM)…
JohnMerlino
  • 7,879
233
votes
5 answers

What can I do if a repository/PPA does not have a Release file?

When updating, I get the following error message: W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file. Here, I find another statement on this error: How can I fix a 404 Error when using…
Addem
  • 2,603
233
votes
1 answer

How do I override or configure systemd services?

Many sysv init scripts used a corresponding file in /etc/default to allow the administrator to configure it. Upstart jobs can be modified using .override files. How do I override or configure systemd units, now that systemd is the default in Ubuntu?
muru
  • 207,970
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,569