Most Popular

1500 questions
254
votes
11 answers

Windows equivalent of whereis?

Is there an equivalent of the Unix whereis command in Windows? So that I could figure out where commands I can run actually is.
Svish
  • 41,258
253
votes
5 answers

Notepad++ find and replace string with a new-line

Consider the scenario where you have a specific string that you want to find-and-replace. You want to replace it with a new string that contains a newline character (or character sequence). abc123 xyz456-blah fsafd23 xyz456-green 89hjkf23…
p.campbell
  • 4,478
252
votes
11 answers

Kill a process which says "Access denied"

I have a process that I can't kill with either Task Manager or Process Explorer - I get the error "Access denied". The process isn't a Windows executable. How can I kill it? Is there some tool I could use to override this protection? I'm using…
Tony_Henrich
  • 12,156
251
votes
13 answers

Batch converting PNG to JPG in linux

Does anyone know a good way to batch-convert a bunch of PNGs into JPGs in linux? (I'm using Ubuntu). A png2jpg binary that I could just drop into a shell script would be ideal.
nedned
  • 3,342
251
votes
10 answers

How to fix the wrong number of unread emails flag in Outlook?

I have an annoying problem in Outlook 2013. My inbox is flagged with "1" unread message, but this is not the case. Even when I empty my inbox folder, this bold "1" stays next to my folder, new as it contains a new message. I've tried to "empty" it,…
Rabskatran
  • 4,809
250
votes
13 answers

Refresh Icon Cache Without Rebooting

Normally, to refresh the icon cache in Windows, we have to reboot. Is there a way to refresh the icon cache in Windows 7/8 without rebooting?
Elmo
  • 14,879
250
votes
5 answers

What does the asterisk mean after a filename when you type `ls -l`?

I've done an ls -l inside a directory, and my files are displaying like this : james@nevada:~/development/tools/android-sdk-linux_86/tools$ ll total 9512 drwxr-xr-x 3 james james 4096 2010-05-07 19:48 ./ drwxr-xr-x 6 james james 4096…
user155695
  • 3,749
249
votes
7 answers

Allow non-root process to bind to port 80 and 443?

Is it possible to tune a kernel parameter to allow a userland program to bind to port 80 and 443? The reason I ask is I think its foolish to allow a privileged process to open a socket and listen. Anything that opens a socket and listens is high…
jww
  • 12,722
248
votes
9 answers

How do I disable the warning Chrome gives if a security certificate is not trusted?

I want to know if it's possible to disable the warning you get in Chrome when you try to go to some HTTPS site that doesn't have a trusted certificate. I have a few sites in my bookmarks that use HTTPS but none of them have trusted certificates, so…
sippa
  • 2,739
248
votes
3 answers

How to delete all lines that do NOT contain a certain word in Vim?

In vim I can delete all lines that contain the word "price" with this :g /price/d How can I delete all lines that do NOT contain the word "price"?
digitaljoel
  • 2,863
248
votes
4 answers

How to add user to a group from Mac OS X command line?

I am trying to add a user to a group from the command line but can't figure out how. Specifically this is on Mac OS X Server version 10.5.8. The user is 'john', the groups are 'admin' and 'wheel'.
Meltemi
  • 7,097
  • 11
  • 33
  • 30
248
votes
9 answers

How can I give write-access of a folder to all users in linux?

I installed apache2 on Ubuntu just now, and noticed that the /var/www folder is protected. I can just sudo everything but I would rather just give it write access. How can I do this? I tried sudo chmod 7777 /var/www but it didn't work.
Carson Myers
  • 3,131
247
votes
15 answers

Looking for HTTP debugging proxy for Mac similar to Fiddler on Windows

In previous jobs when I've worked on a Windows machine, I've used Fiddler for viewing HTTP transactions and debugging. I'm specifically looking to monitor the HTTP transactions for an ajax site I'm working on to verify that the site is doing what I…
Doug Harris
  • 28,397
247
votes
12 answers

How do I select all text in Vi/Vim?

Using VI tool for editing config files. How can I select all the text in a file (around 1000 lines), copy it, then paste into Google Docs?
Daniel t.
247
votes
4 answers

My cat sat on my laptop, now the right side of my keyboard types the wrong characters

My cat sat on my laptop and now if I type either L or P, it inputs 3 or * instead. The rest of my keyboard still works correctly. The problem is bad enough that I had to use the touch screen of my computer to type this in. How can I restore the…
user660920
  • 1,775
  • 2
  • 11
  • 4