Most Popular

1500 questions
738
votes
16 answers

How to check Internet Speed via Terminal?

Instead of going to sites like speedtest.net, I want to check my current Internet speed from the terminal on Ubuntu. How can I do it?
kernel_panic
  • 11,732
728
votes
82 answers

What Application Indicators are available?

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. While you are encouraged to help maintain…
user8592
  • 828
727
votes
21 answers

How do I get the CPU temperature?

How do I get the CPU temperature?
trampster
  • 11,342
710
votes
7 answers

How to make 'python' program command execute Python 3?

The python program command executes Python 2. Python 3 can be executed using the python3 command. How can Python 3 be executed using the python command?
Giri
  • 7,243
  • 3
  • 13
  • 9
703
votes
9 answers

What does "sudo apt-get update" do?

I am wondering what sudo apt-get update does? What does it update?
Elysium
  • 11,012
686
votes
14 answers

How do I install a .tar.gz (or .tar.bz2) file?

I have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file?
Silambarasan
  • 7,925
668
votes
14 answers

How do I resolve unmet dependencies after adding a PPA?

Occasionally, when I'm installing stuff, I get an error like the following: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages…
jrg
  • 60,611
653
votes
8 answers

How can I decode a base64 string from the command line?

I would like to write a bash script to decode a base64 string. For example I type decode QWxhZGRpbjpvcGVuIHNlc2FtZQ== and it prints Aladdin:open sesame and returns to the prompt. So far I have tried a simple bash file containing python -m base64 -d…
lofidevops
  • 20,924
647
votes
9 answers

How do I check which shell I am using?

I read that terminal is nothing but shell, and Unix provides different flavors of shells: Bourne shell (sh) C shell (csh) TC shell (tcsh) Korn shell (ksh) Bourne Again shell (bash) Questions: When I open a terminal window, which shell is opened…
GMudide
  • 6,645
  • 3
  • 14
  • 7
645
votes
8 answers

How do I add environment variables?

I'm running Ubuntu 11.04. I use the terminal to start a bash session, and I want to add an environment variable: $r@hajt:~$ env THEVAR=/example But it's not working. It shows all the variables with THEVAR being the last one, but another call to env…
huff
  • 6,550
644
votes
24 answers

How do I free up more space in /boot?

My /boot partition is nearly full and I get a warning every time I reboot my system. I already deleted old kernel packages (linux-headers...), actually I did that to install a newer kernel version that came with the automatic updates. After…
user6722
  • 6,715
642
votes
28 answers

How can I record my screen?

How can I record my screen on Ubuntu? The app I'm looking for has ideally all of these features: Can record in a format that can be played back easily on any platform and/or accepted by YouTube or another popular video site Can record just a…
642
votes
8 answers

How do I set up a Cron job?

I want to schedule a task to run on a regular basis and have heard that Cron is the way to do this. How do I add Cron jobs in Ubuntu?
637
votes
8 answers

How to create a soft or symbolic link?

I am installing p4v in /opt, but /usr/bin is on my path. Is it possible to create a soft or symbolic link for p4v from /opt to /usr/bin, so I can just type "p4v" since /usr/bin is in my path?
coffee
  • 6,593
634
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.