Most Popular

1500 questions
251
votes
3 answers

System has not been booted with systemd as init system (PID 1). Can't operate

I use WSL2 on Windows 11. I want to run the systemctl command in Ubuntu 20.04, but it gives me the following error: System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down How can I fix…
David SHainidze
  • 2,718
  • 2
  • 8
  • 13
251
votes
6 answers

Why is Wayland better?

As recently announced by Mark Shuttleworth, Ubuntu will be moving towards using Wayland as its display manager. What are biggest differences between X11 and Wayland? Why will Wayland make Ubuntu better?
Hillar
  • 3,040
250
votes
16 answers

How to pin Eclipse to the Unity launcher?

How can I pin eclipse indigo 3.7 I have 'installed' at /opt/ to the taskbar? I have tried launching eclipse and right-clicking to choose the 'keep in launcher' option. But when I click that icon, after closing eclipse, it doesn't start eclipse. I…
nunos
  • 3,440
250
votes
22 answers

What to use to quickly cut Audio/Video

If just need to crop Audio/Video from a longer track, what can I use? I tried OpenShot, but I find the export video slow, perhaps its compling all the "layers" into a new movie? Perhaps I just need a simple "crop" tool for audio/video will surfice?
249
votes
8 answers

How do you test the network speed between two boxes?

I have a gigabit network set up in my house and a few Ubuntu based boxes. Out of complete curiosity I would like to check the speed between the two boxes. I am not having any problems with speed or anything, it really is just the geek in me that is…
Jacob Schoen
  • 5,285
249
votes
0 answers

How do I install Oracle Java JDK 7?

If I downloaded the latest JDK from Oracle, do I just download the .tar file and extract it to /usr/lib/jvm/?
user22744
  • 2,501
249
votes
14 answers

How do you run Ubuntu Server with a GUI?

Trying to run a Ubuntu server for the first time... But everything is in a terminal. Is there a way to switch to a GUI?
249
votes
6 answers

How to create an empty file from command line

How can I create an empty file from the command line?
NES
  • 33,935
249
votes
5 answers

How do I detach a screen session from a terminal?

I know how to start a screen, and how to list different screens: screen -ls or to attach: There are screens on: 2477.pts-0.server1 (Detached) 2522.pts-0.server1 (Detached) 2 Sockets in /var/run/screen/S-root. $ screen -r…
maniat1k
  • 8,340
247
votes
8 answers

Aliases not available when using sudo

I was playing around with aliases today and I noticed that aliases don't seem to be available whilst using sudo: danny@kaon:~$ alias alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' alias grep='grep --color=auto' alias l='ls…
kemra102
  • 2,986
247
votes
1 answer

What are the Meta, Super, and Hyper keys?

In System → Preferences → Keyboard → Layout → Options → Alt/Win key behavior in older Ubuntu versions or in GNOME Tweaks → Keyboard & Mouse → Additional Layout Options → Alt and Win behavior for Ubuntu 17.10 and later, there is a menu similar to the…
Jorge Castro
  • 73,717
247
votes
16 answers

How can I find the version of Ubuntu that is installed?

I installed some version of Ubuntu on my VMware, but I don't know what version exactly it is. How can I find it out?
Am1rr3zA
  • 3,622
246
votes
16 answers

What's the difference between Google Chrome and/or Chromium? What are the advantages/disadvantages to each?

I used Google Chrome in Windows, and am now using Chromium in Ubuntu. Is there any difference to the two programs? What are the advantages and disadvantages to each program? Which one seems better?
RunningUtes
  • 3,972
246
votes
11 answers

How to delete file(s) in secure manner?

Is there a way to make sure that a deleted file can not be recovered? As you know, deleting a file by pressing shift-del or using trash doesn't mean that file is gone forever. It resides somewhere in the computer. In day to day life, law…
user20296
246
votes
20 answers

Comparing the contents of two directories

I have two directories that should contain the same files and have the same directory structure. I think that something is missing in one of these directories. Using the bash shell, is there a way to compare my directories and see if one of them is…
AndreaNobili
  • 4,839