Most Popular

1500 questions
632
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?
632
votes
47 answers

Why crontab scripts are not working?

Often, crontab scripts are not executed on schedule or as expected. There are numerous reasons for that: wrong crontab notation permissions problem environment variables This community wiki aims to aggregate the top reasons for crontab scripts not…
Adam Matan
  • 12,519
617
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,323
615
votes
15 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
  • 16,214
609
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,662
598
votes
7 answers

How to install Google Chrome

How do you install Google Chrome on Ubuntu?
user314763
  • 5,997
595
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,726
594
votes
24 answers

How to show the transfer progress and speed when copying files with cp?

Otherwise, is there any alternative command line utility that can achieve this?
591
votes
10 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
  • 6,137
590
votes
15 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?
588
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,905
  • 3
  • 11
  • 3
582
votes
12 answers

How to let `dpkg -i` install dependencies for me?

Say, I have foo-1.2.3.deb which depends on perl and python, however, running command: dpkg -i ./foo-1.2.3.deb won't install these dependencies. So I must apt-get install perl python by hand. How to make dpkg -i install these dependencies for me…
Lenik
  • 10,398
580
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?
580
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…
578
votes
3 answers

How do I use variables in a sed command?

I tried the following code to replace QQ with ZZ, but it doesn't do what I want: var1=QQ sed -i 's/$var1/ZZ/g' $file However, this code does what I want: sed -i 's/QQ/ZZ/g' $file How do I use variables in sed?
UAdapter
  • 17,587