Most Popular

1500 questions
106
votes
1 answer

Are GnuPG 1 and GnuPG 2 compatible with each other?

With Macports, I realize that there are ports gnupg and a newer gnupg2. I'd like to use GnuPG to encrypt files. Should I install both, or just one is enough? If I installed both, are both compatible with each other? Does it matter which one I…
qazwsx
  • 8,879
106
votes
6 answers

Mapping drive letters to local folders

Is there a windows equivalent to the old dos SUBST command? I want to be able to assign a local drive letter to a folder on a local drive. I realize that a mapped drive will work (and so far that's the technique I've ended up using), but it doesn't…
106
votes
5 answers

How to disable subtitles by default (but keep them available)?

When I play a video in VLC it always starts with subtitles! I don't want this! I want subtitles OFF until I choose to turn them ON. I tried unchecking 'enable sub-pictures' in the preferences menu, but this removed the subtitle user interface…
Colonel Panic
  • 12,582
106
votes
9 answers

UDP traffic through SSH tunnel

The title pretty much sums it up. I would like to send UDP traffic through a SSH tunnel. Specifically, I need to be able to send UDP packets through the tunnel and have the server be able to send them back to me on the other side. I know how to…
heavyd
  • 63,745
106
votes
17 answers

Switch between windows on Mac OS X?

On Windows when I do alt+tab I can switch between windows. If I have 5 firefox windows open then using alt+tab will switch between them. On my MacBook, cmd+tab switches between applications, not windows, so it will switch between firefox and xcode,…
Nir Levy
  • 1,560
106
votes
6 answers

Can I move hiberfil.sys to another drive?

I am running out of space on my %SYSTEMDRIVE% on Windows. There is hiberfil.sys file that size of it is almost 3GB. I understand that hiberfil.sys is used for the windows hibernation…
Hamed
  • 5,798
106
votes
4 answers

how do I echo $something >> file.txt without carriage return?

When I echo $something >> file.txt, a new line will be append to the file. What if I want to append without a new line?
onemach
  • 2,805
106
votes
4 answers

Getting WGET to display a less verbose output

Is it possible to get WGET to only show download progress e.g. download bar, opposed to all of the connection info, as it does look a little ugly on the client side, is this possible to do?
Jay
  • 1,061
106
votes
3 answers

One GnuPG/PGP key pair, two emails?

I have two emails I use frequently, for both of which I'd like to use PGP keys generated/managed by GnuPG. I'd like to avoid creating a different key pair for each email, if possible, as that's unnecessary for my situation, i.e. I use the two emails…
Computist
  • 2,957
106
votes
3 answers

How do I find the encoding of the current buffer in vim?

Say I am editing some file with vim (or gvim). I have no idea about the file's encoding and I want to know whether it is in UTF-8 or ISO-8859-1 or whatever? Can I somehow tell vim to show me what encoding is used?
innaM
  • 10,302
106
votes
4 answers

Checking what PHP version I'm running on Linux?

I'm running Centos 5 and I need to know what version of PHP I'm running, is there a command for this which I can run?
Elitmiar
  • 3,144
106
votes
5 answers

What is the difference between Symbolic Link and Shortcut?

What is the difference between a Symbolic Link and a Shortcut?
deepthi tm
  • 1,061
106
votes
8 answers

Avoid password prompt for keys and prompts for DN information

I am using following code to generate keys: apt-get -qq -y install openssl; mkdir -p /etc/apache2/ssl; openssl genrsa -des3 -out server.key 1024; openssl req -new -key server.key -out server.csr; cp server.key server.key.org; openssl rsa -in…
JP19
106
votes
6 answers

Vertical line for the the right margin in Notepad++

Does anyone know if Notepad++ can display a vertical line on the right margin to indicated that the text will or will not fit on a printed page? I have looked but I cannot find it. Word wrap does work, but it wraps by my screen width, not by the…
ubiquibacon
  • 8,136
106
votes
6 answers

How to update snap-store linux.. How to update this?

How to update snap-store . I don't have Ubuntu advantage subscription.
Ctf Ctf
  • 1,173
  • 2
  • 3
  • 5