Most Popular

1500 questions
624
votes
2 answers

How to redirect stderr to a file

While using nohup to put a command to run in background some of content appear in terminal. cp: error reading ‘/mnt/tt/file.txt’: Input/output error cp: failed to extend ‘/mnt/tt/file.txt’: Input/output error I want to save that content to a file.
André M. Faria
  • 6,974
  • 6
  • 25
  • 32
610
votes
10 answers

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd on Ubuntu?
Joe Cabezas
  • 6,253
  • 3
  • 15
  • 7
610
votes
25 answers

How to display network traffic in the terminal?

how to display the actual network traffic (wireless) in a terminal? Additionally: Is it possible to add this info to the chart of top?
605
votes
7 answers

Which one is better: using ; or && to execute multiple commands in one line?

In tutorials and how-to's I often see commands combined. For instance, sudo apt-get update && sudo apt-get install pyrenamer There seem to be four possible connectors: &, &&, || and ;. Though the & connector is clear to me (it sends a process to…
don.joey
  • 28,402
  • 17
  • 82
  • 104
599
votes
14 answers

How do I fix the GPG error "NO_PUBKEY"?

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following: W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified…
Agmenor
  • 15,924
  • 18
  • 67
  • 103
593
votes
8 answers

How to install Google Chrome

How do you install Google Chrome on Ubuntu?
user314763
  • 5,947
  • 3
  • 12
  • 3
584
votes
20 answers

How do I fix my locale issue?

I am getting this message every time I do something like starting or stopping a service. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), …
HackToHell
  • 6,606
  • 5
  • 28
  • 37
579
votes
4 answers

How do I check the version of Ubuntu I am running?

How can I check my current Ubuntu version through the command-line and GUI?
LMatt
  • 5,815
  • 3
  • 10
  • 3
579
votes
12 answers

How do I install Ubuntu alongside a pre-installed Windows with UEFI?

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS. Should I do it with Wubi, or through the Live USB/DVD? What steps do I need to take to correctly install Ubuntu?
Michał Tabor
  • 2,832
  • 5
  • 17
  • 12
577
votes
28 answers

How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?

I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle? Before release Java 7, I followed this way to install Java 6. But it…
Benjamin
  • 10,049
  • 8
  • 27
  • 26
575
votes
14 answers

How to merge several PDF files?

There are a lot of software in Windows to merge PDF files but how can we do the same in Ubuntu?
Deependra Solanky
  • 11,255
  • 6
  • 19
  • 9
575
votes
17 answers

How to create animated GIF images of a screencast?

I've seen animated GIF images of screen casts (like the one below) promoted a few times on this site as a way to improve answers. What toolchain is being used to create these? Is there a program that does this automagically, or are people taking…
andrewsomething
  • 37,262
  • 13
  • 93
  • 140
573
votes
9 answers

How to list all enabled services from systemctl?

How can I list all enabled services from systemctl? I know running systemctl command by itself lists all services, but I would like to only get the enabled ones.
oceanBT
  • 5,948
  • 4
  • 11
  • 11
572
votes
16 answers

How do I check if I have a 32-bit or a 64-bit OS?

I downloaded and installed Ubuntu from the official site. However, I don't know if I installed the 32-bit or 64-bit version. In Windows 7 I could right click My Computer and it listed which version it was. Is there an easy way to check in Ubuntu?
Only Bolivian Here
  • 7,987
  • 8
  • 23
  • 27
568
votes
52 answers

Ubuntu gets stuck in a login loop

My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back. I've read that the problem might be caused by an error depending on the graphics, here's my…
Calvin Wahlers
  • 5,683
  • 3
  • 13
  • 6