Most Popular
1500 questions
679
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,112
- 17
- 46
- 81
677
votes
21 answers
676
votes
10 answers
How do I find the package that provides a file?
Simple enough question: is there some shell command (or GUI method) I can use that, given the path to a file on my system, tells me what package put it there? Assuming the file did in fact come from a package, that is.
Bonus question: what if it's a…
David Z
- 9,391
- 5
- 26
- 22
676
votes
24 answers
How can I reduce the file size of a scanned PDF file?
I have a 72.9MB PDF file that I need to shrink into under 500KB.
The file was a JPEG image that I had scanned, and then converted to pdf.
tamimym
- 6,899
- 3
- 15
- 8
645
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
- 58,933
- 52
- 169
- 246
638
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,435
- 8
- 24
- 26
631
votes
8 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
- 6,453
- 3
- 12
- 9
625
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?
Gabriel Solomon
- 6,815
- 5
- 24
- 22
624
votes
23 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,515
- 3
- 15
- 13
623
votes
27 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…
Riccardo Murri
- 16,097
- 7
- 52
- 51
618
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
- 11,889
- 22
- 69
- 90
608
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,303
- 4
- 15
- 6
597
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…
GouthamM
- 6,143
- 3
- 13
- 6
596
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,684
- 5
- 24
- 30
595
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
- 19,676
- 26
- 99
- 162