Most Popular

1500 questions
288
votes
5 answers

Trouble with batch conversion of .png to .pdf using convert

convert /home/bill/TempScan/*.png myfile.pdf gives error message: convert-im6.q16: not authorized `myfile.pdf' @ error/constitute.c/WriteImage/1037. Any help would be appreciated!
286
votes
6 answers

When installing user applications, where do "best practices" suggest they be located?

Occasionally I install applications manually, rather than using apt or another package manager. What location ( /usr/ , /usr/local/ , /opt/ , /home/ , etc.) is suggested by "best practices" for the installation of user applications?
285
votes
13 answers

How do I install the latest version of cmake from the command line?

I am trying to install latest cmake in my Linux box and I am always getting the below exception: userName@phx5qa01c-4e23:~/build$ wget http://www.cmake.org/files/v2.8/cmake-2.8.11.tar.gz --2013-10-08 14:39:55--…
SSH
  • 3,051
284
votes
11 answers

How do I remap certain keys or devices?

I'm searching for a way to remap certain keys in ubuntu. i.e. I'd like to change PgUp to Home or PgDown to End . Does a built-in command or a tool exist reassign keys in Ubuntu/GNOME?
NES
  • 33,975
284
votes
10 answers

Is there another way to restart the sound system if pulseaudio/ALSA don't work?

I was listening to music, and my sound suddenly went dead in all my applications. I'm using Ubuntu 12.04, which uses pulseaudio, so I tried sudo /etc/init.d/pulseaudio restart , but nothing happened. According to lsof | grep pcm , nothing is using…
282
votes
4 answers

Any way to search for text within nano?

Nano is the editor I use in command prompts. When I open a large file I would like to search for some text (think Ctrl + F ). Is there a way to do this?
JD Isaacks
  • 5,507
282
votes
3 answers

What Debian version are the different Ubuntu versions based on?

I have some software packages customised for Ubuntu 10.04, 10.10 and 12.10, but now I have to install them on Debian Squeeze. I have been unable to Google for a mapping between specific Ubuntu and Debian versions. Can someone here help? Specifically…
xkcd
  • 3,022
281
votes
8 answers

vi shortcut to delete "until the next X character"

I understand that vi has shortcut keys to delete characters, words and lines with various options. However, I could not find this: delete from the cursor to the next specified character For example, I might type du" expecting the editor to "delete…
kctang
  • 2,913
281
votes
8 answers

How to control fan speed?

How can I control the computer's fan speed? On Windows there is a wonderful program called SpeedFan .
grizwako
  • 5,735
281
votes
16 answers

How to send mail from the command line?

How to send mail from the command line?
280
votes
15 answers

How to determine which window manager (and desktop environment) is running

Is there any way (such as a command or environmental variable) to determine what window manager is the one actively running in the current session?
Anonymous
  • 12,009
280
votes
7 answers

Why do I get "wrong fs type, bad option, bad superblock" error?

When mounting an NFS directory by doing: sudo mount 192.168.1.5:/home/shared /mnt/common I get the following error: mount: wrong fs type, bad option, bad superblock on 192.168.1.5:/home/shared, missing codepage or helper program, or other error (for…
280
votes
1 answer

What do the STAT column values in ps mean?

In the STAT column of ps there are a load of letters that don't really make much sense. What do they mean? Here's an example of ps aux | head : USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 27176 2960 ? Ss Sep20 0:02…
Oli
  • 299,936
280
votes
11 answers

How do I set the grub timeout and the grub default boot entry?

In Ubuntu 12.04 (or above), how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows (7/8) and Ubuntu (12.04 or above)?
meteors
  • 3,055
280
votes
9 answers

No such file or directory? But the file exists!

I've downloaded a game (Shank) but the bin file doesn't run. The error that is shown when I try to launch the executable is: bash: ./shank-linux-120720110-1-bin: No such file or directory
Francesco
  • 3,031