Most Popular
1500 questions
485
votes
14 answers
How do I make rm not give an error if a file doesn't exist?
I'm writing a makefile that will clean up some useless files at the end of the compilation. If a target has already been made, it will of course skip that target and the useless file may not be there. So if I do this:
rm lexer.ml interpparse.ml…
Jason Baker
- 7,922
- 9
- 32
- 47
482
votes
5 answers
How do I run multiple commands on one line in PowerShell?
In a cmd prompt, you can run two commands on one line like so:
ipconfig /release & ipconfig /renew
When I run this command in PowerShell, I get:
Ampersand not allowed. The `&` operator is reserved for future use
Does PowerShell have an operator…
David
- 8,594
- 3
- 23
- 40
480
votes
20 answers
How can I make Chrome stop caching redirects?
I am working on a web application that is using redirects (for pretty URLs).
I am trying to debug logic in the way the redirects are working. However Google Chrome keeps remembering the redirects and even after I change the code, redirecting the…
JD Isaacks
- 8,204
- 10
- 37
- 41
475
votes
14 answers
Does e-mail address obfuscation actually work?
Most of the time when I see someone post their email address online, especially if it's a personal address, they use something like
me [at] example [dot] com
instead of the actual email address (me@example.com). Even top members of this community…
Kyle Cronin
- 7,319
- 6
- 39
- 40
468
votes
5 answers
How to open files in vertically/horizontal split windows in Vim from the command line
There must be a way, something like this:
vim -[option]
to open files from command prompt and not from within Vim.
split windows vertically or/and horizontally
in separate tabs
Andrei Chikatilo
- 4,959
- 4
- 17
- 14
466
votes
18 answers
How can I remove malicious spyware, malware, adware, viruses, trojans or rootkits from my PC?
What should I do if my Windows computer seems to be infected with a virus or malware?
What are the symptoms of an infection?
What should I do after noticing an infection?
What can I do to get rid of it?
how to prevent from infection by…
Gnoupi
- 8,078
- 9
- 41
- 59
463
votes
28 answers
How to check if a binary is 32 or 64 bit on Windows?
Is there an easy way to check if a binary is 32 or 64 bit on Windows? I need to check before I move the program to a 32bit machine and experience a spectacular failure.
Septagram
- 5,088
- 6
- 19
- 21
462
votes
14 answers
Test if a port on a remote system is reachable (without telnet)
In the old days, we used telnet to see if a port on a remote host was open: telnet hostname port would attempt to connect to any port on any host and give you access to the raw TCP stream.
These days, the systems I work on do not have telnet…
Steve HHH
- 6,780
- 6
- 28
- 36
460
votes
1 answer
How to remove one or all auto-complete text entries in Chrome?
Ok... so this is embarrassing.
I typed in "boobs" on EncyclopediaDramatica's search because, well, it's a really funny page.
But now I've got a problem... EVERY TIME I click a search field in Chrome now, it shows "boobs" as the first suggestion in…
Garrett
- 4,839
- 4
- 16
- 9
457
votes
9 answers
How can I free up drive space from the Windows installer folder without killing Windows?
On my SSD machine, the C:\Windows\Installer folder is massive and takes up about 15% of my total disk space.
Is there a way to clean up that folder without killing Windows 8.1/10? Tucking away the installers on the OS partition seems wasteful.
DeepSpace101
- 8,587
- 12
- 43
- 47
456
votes
11 answers
Can I make cURL fail with an exitCode different than 0 if the HTTP status code is not 200?
I was always assuming that when curl got an HTTP 500 response it was returning an exit code that meant failure (!= 0), but that seems to be not the case.
Is there a way I can I make cURL fail with an exitCode different than 0 if the HTTP status code…
knocte
- 4,826
- 2
- 14
- 18
453
votes
21 answers
How to download files from command line in Windows like wget or curl
How can I download something from the web directly without Internet Explorer or Firefox opening Acrobat Reader/Quicktime/MS Word/whatever?
I'm using Windows, so a Windows version of Wget would do.
Paolo Tedesco
- 1,549
- 4
- 12
- 15
452
votes
4 answers
Remove audio from video file with FFmpeg
How can I strip the audio track out of a video file with FFmpeg?
Rami Dabain
- 4,757
- 2
- 16
- 10
447
votes
8 answers
Why don't websites immediately display their text these days?
I've noticed that recently many websites are slow to display their text. Usually, the background, images and so on are going to be loaded, but no text. After some time the text starts appearing here and there (not always all of it at the same…
laurent
- 5,887
- 16
- 45
- 69
446
votes
17 answers
An SSH tunnel via multiple hops
Tunneling data over SSH is pretty straight-forward:
ssh -D9999 username@example.com
sets up port 9999 on your localhost as a tunnel to example.com, but I have a more specific need:
I am working locally on localhost
host1 is accessible to…
Mala
- 7,038
- 11
- 35
- 38