Most Popular
1500 questions
536
votes
12 answers
How to convert PDF to image?
I have requirement of converting PDF pages to images. There is a background image with some text in my file, and when I save it as an image only the background image gets saved.
Is there any software available for the same so that complete page can…
Deependra Solanky
- 11,255
- 6
- 19
- 9
534
votes
6 answers
What is "dist-upgrade" and why does it upgrade more than "upgrade"?
I was wondering why upgrade sometimes doesn't want to upgrade certain parts of the system, while dist-upgrade does. Here's an example after running apt-get upgrade:
apt-get upgrade:
rimmer@rimmer-Lenovo-IdeaPad-S10-2:~$ sudo apt-get upgrade
Reading…
Frantisek
- 8,828
- 11
- 29
- 35
532
votes
33 answers
My computer boots to a black screen, what options do I have to fix it?
I am trying to boot Ubuntu on my computer. When I boot Ubuntu, it boots to a black screen. How can I fix this?
Table of Contents:
If you are trying to install Ubuntu
If you have a dual boot system
If an update or something else caused your…
Jorge Castro
- 70,934
- 124
- 466
- 653
526
votes
11 answers
What are Unity's keyboard and mouse shortcuts?
In Unity, are there any pre-defined shortcuts, e.g. to open the dash or unhide the launcher?
htorque
- 63,950
- 40
- 194
- 219
522
votes
11 answers
How to list all variables names and their current values?
How to list all variables names and their current values?
Including not only $HOME, $PWD etc but any other you have defined.
Strapakowsky
- 11,664
- 15
- 36
- 40
522
votes
12 answers
How to really clear the terminal?
I can issue the clear command or press Ctrl + L to clear the current Ubuntu terminal, but this just shifts previous output upwards and if you use mouse scroll or PgUP and PgDown keys it's hard to distinguish where the output of previous command ends…
Stann
- 14,896
- 17
- 46
- 43
521
votes
8 answers
How to know what program is listening on a given port?
I suspect a program is listening on port 8000 on my machine.
When I run the following command, I get this error:
> python -m SimpleHTTPServer
# Lots of python error
socket.error: [Errno 98] Address already in use
If I use another port (8000 is the…
yansal
- 5,313
- 3
- 13
- 5
518
votes
11 answers
How do I create a permanent Bash alias?
I would like to create an alias to rm command in order to have a confirmation message after executing this command. So I am creating an alias like this alias rm='rm -i'. But as far as I know this is a temporary alias and it lives until you close the…
Bakhtiyor
- 12,124
- 25
- 65
- 81
513
votes
14 answers
Apache error "Could not reliably determine the server's fully qualified domain name"
When I restart my Apache server using the command
sudo /etc/init.d/apache2 restart
I get the following error:
Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for…
Deepu
- 5,277
- 4
- 14
- 10
506
votes
7 answers
How can I get octal file permissions from command line?
There is a chmod command to set file permissions, but can I get file permissions in octal mode (such as 755) from the command line?
Anwar
- 75,875
- 31
- 191
- 309
504
votes
12 answers
How to install software or upgrade from an old unsupported release?
Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:
$ sudo apt-get install vlc
Reading package lists... Done
Building dependency…
made_in_india
- 5,193
- 3
- 19
- 16
503
votes
12 answers
Execute sudo without Password?
Inspired by this question....
I am the sole person using my system with 12.04.
Every time I issue a sudo command; the system asks for the user password (which is good in its own way).
However I was thinking; without activating the root account; how…
BhaveshDiwan
- 10,666
- 10
- 32
- 44
494
votes
8 answers
How to create a bootable Ubuntu USB flash drive from terminal?
Is there any way to create a bootable Ubuntu USB flash drive from the terminal without using any third-party applications like YUMI, Unetbootin, Startup Disk Creator, etc.
I tried to create a bootable Ubuntu flash drive with dd method,
sudo umount…
Avinash Raj
- 77,204
- 56
- 214
- 254
491
votes
8 answers
How do I modify or disable the HUD's use of the Alt key?
A number of games, Emacs, and the terminal make extensive use of the Alt key. Can Unity be configured to respect this key, rather than launching the HUD with it?
EoghanM
- 5,105
- 4
- 16
- 20
490
votes
10 answers
How to select video quality from youtube-dl?
I have installed youtube-dl in my 14.04.
I can download video by following command,
$ youtube-dl [youtube-link]
But I want to know how to select available pixel quality of youtube video(i.e 1080p, 720p, 480p, etc).
In software description they…
A J
- 11,277
- 16
- 43
- 59