All Questions

2092
votes
7answers
2.4m views

What is the cURL command-line syntax to do a POST request?

How can I make a POST request with the cURL command-line tool?
2010
votes
3answers
224k views

Why does Windows think that my wireless keyboard is a toaster?

I've inherited an old PC from my girlfriend's dad and when setting up the printer I got a bit of a surprise: Two questions spring to mind here: Why does Windows think my wireless keyboard is a ...
1536
votes
6answers
157k views

How do I make a machine “blank screen” for a period of time (as a penalty) if certain noise levels are reached?

My kids (4 and 5) yell a lot when playing games on the computer. I found an effective cure for this. When I hear loud noises, I ssh into the game computer and do: chvt 3; sleep 15; chvt 7 This ...
1281
votes
9answers
1.0m views

How can I sort the output of 'ls' by last modified date?

How can I sort the output of ls by last modified date?
1105
votes
11answers
602k views

How do I scroll in tmux?

I just started using tmux, and I really like it, but I need to be able to scroll within the buffers/panes/windows I have open. I don't care if it works with the mouse or not. When I search the tmux ...
961
votes
19answers
498k views

What are the Windows A: and B: drives used for?

In Windows you have a C-drive. Everything labeled beyond that is with the following letter. So your second drive is D, your DVD is E and if you put in a USB stick it becomes F and the following ...
863
votes
16answers
708k views

How to clear/flush the DNS cache in Google Chrome?

As you probably know Google Chrome has its own internal DNS cache. Is there a way to clear it without having to wait for the time out or close the browser?
802
votes
3answers
154k views

Transatlantic ping faster than sending a pixel to the screen?

John Carmack tweeted, I can send an IP packet to Europe faster than I can send a pixel to the screen. How f’d up is that? And if this weren’t John Carmack, I’d file it under “the interwebs being ...
668
votes
5answers
92k views

Why does this PNG image display differently in Chrome & Firefox than in Safari and IE?

Check this image out: On Chrome and Firefox it will show as a pear. Now, try to save it and look at it saved on your desktop. Also, try viewing in Safari or Internet Explorer. It will display as ...
655
votes
18answers
77k views

How are pseudorandom and truly random numbers different and why does it matter?

I've never quite got this. Just say you write a small program in any language at all which rolls some dice (just using dice as an example). After 600,000 rolls, each number would have been rolled ...
621
votes
15answers
728k views

Getting curl to output HTTP status code?

I'm using curl at the command line on Linux to issue HTTP requests. The response bodies are printed to standard out, which is fine, but I can't see from the man page how to get curl to print the ...
586
votes
28answers
649k views

Is there a built-in checksum utility on Windows 7?

Is there a built-in checksum/hash utility on Windows 7?
562
votes
10answers
159k views

From a quality perspective, what is better: turning volume up in the software, in the OS, or on the speakers?

If music isn't loud enough, how do I get the best quality (even if the difference is in fact so small it's negligible)? By making the music louder in my music player, game or other sound-producing ...
560
votes
9answers
743k views

Find out which process is locking a file or folder in Windows

How can I find out which process is locking a file or folder in Windows? For instance, when trying to delete a folder, Windows reports this: The action can't be completed because the folder is ...
557
votes
5answers
711k views

How can I get the same SSID for multiple access points?

I need to upgrade my existing wireless infrastructure and this time I want 2 access points to cover my house, since I get blind spots no matter what with a single AP. I have physical cabling to my ...
546
votes
13answers
3.2m views

Windows 7 SP1 Windows Update stuck checking for updates

I installed Windows 7 fresh and installed SP1. Now, when I try to check manually for Windows Updates it just hangs on the Checking for updates screen. I tried running the tools in How do I reset ...
531
votes
12answers
153k views

macOS keeps asking my ssh passphrase since I updated to Sierra

It used to remember the passphrase, but now it's asking it to me each time. I've read that I need to regenerate the public key with this command, which I did: ssh-keygen -y -f id_rsa > id_rsa.pub ...
529
votes
8answers
402k views

How to recursively chmod all directories except files?

How to chmod 755 all directories but no file (recursively) ? Inversely, how to chmod only files (recursively) but no directory ?
508
votes
10answers
494k views

What does 'source' do?

$ whatis source source: nothing appropriate. $ man source No manual entry for source $ source bash: source: filename argument required source: usage: source filename [arguments] It exists, and it is ...
506
votes
4answers
210k views

How do you reload your .vimrc file without restarting vim?

Can you edit your .vimrc file and reload it without having to restart Vim?
500
votes
14answers
527k views

How to tell git which private key to use?

ssh has the -i option to tell which private key file to use when authenticating: -i identity_fileSelects a file from which the identity (private key) for RSA or DSA authentication is read.  The ...
486
votes
9answers
50k views

Did I just get hacked?

I am developing a consumer product, and it is supposed to be connected to the Internet, so as expected, it is connected to the Internet so that I can properly develop it. I went away for an hour or ...
485
votes
7answers
47k views

How does a computer restart itself?

How can a computer restart itself? After it's off, how does it tell itself to come back on again? What kind of software is it that can do this?
480
votes
12answers
297k views

How to *disable* automatic reboots in Windows 10?

Windows 10 lets you 'schedule' a reboot for later. I want to disable it. Evidently Windows scheduled itself for a reboot last night when I wasn't looking and just closed everything I had been working ...
456
votes
15answers
75k views

Does e-mail address obfuscation actually work? [closed]

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 (...
440
votes
8answers
74k views

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 ...
435
votes
19answers
296k views

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 ...
423
votes
14answers
528k views

Is there any 'sudo' command for Windows?

I always work on a non-administrator account on my Windows computer. Sometimes I need to install programs which requires administrator access. As I mostly use the Windows command prompt, is there a ...
421
votes
13answers
216k views

Create/rename a file/folder that begins with a dot in Windows?

Many programs needs folder names that starts with a dot, like .emacs.d, .gimp-2.2, .jedit etc. How do I create such a folder? When using the Windows Explorer in Windows 2000 (and other versions), I ...
411
votes
5answers
968k views

How to find a directory on linux?

I have a VPS with Suse Linux 10.3. I've logged in via SSH/putty and am trying to find where my web files are located. Since I'm uploading via FTP in a directory called httpdocs, I assume that this ...
411
votes
5answers
136k views

Difference between .bashrc and .bash_profile

What's the difference between .bashrc and .bash_profile and which one should I use?
405
votes
5answers
1.1m views

How can I display the contents of an environment variable from the command prompt in Windows 7?

In Windows 7, when I start the Command prompt, is there any command to display the contents of an environment variable (such as the JAVA_HOME or PATH variables)? I have tried with echo $PATH, echo ...
399
votes
1answer
462k views

How to remove one or all auto-complete text entries in Chrome? [duplicate]

Possible Duplicate: Remove auto-complete field entries in Google Chrome Ok... so this is embarrassing. I typed in "boobs" on EncyclopediaDramatica's search because, well, it's a really funny ...
396
votes
14answers
549k views

How to disable the “Get Windows 10” icon shown in the notification area (tray)?

This icon showed up in my taskbar notification area today and I cannot seem to get rid of it: Clicking on it displays the following screen: So how do I disable or remove the "Get Windows 10" icon?
391
votes
4answers
115k views

How to turn off word-wrap in less

Short version: How can I make the less utility in Linux not wrap lines? Long version: Often I need to view huge CSV files using less with hundreds of columns. I frequently only care about the first ...
383
votes
9answers
505k views

Can I delete the folder C:\ProgramData\Package Cache\?

There is a new folder full of installers located at C:\ProgramData\Package Cache\. I believe this is from Visual Studio 2012 RC. Can I delete these gigabytes of data without consequences? Are they ...
380
votes
17answers
254k views

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 ...
379
votes
7answers
454k views

What is the “You have new mail” message in Linux/UNIX?

Sometimes, when I log into a box and 'su' to root, I get a cute little message saying I have mail (thank GOD it's not AOL). Where is this mail? What does it contain? Who/What sent it? How important ...
378
votes
33answers
271k views

How to execute a command whenever a file changes?

I want a quick and simple way to execute a command whenever a file changes. I want something very simple, something I will leave running on a terminal and close it whenever I'm finished working with ...
375
votes
19answers
135k views

How do I reorder tmux windows?

In screen, I can just type C-a :number 0 to move a window to the top of the window list and push all the other windows down one. What's the equivalent command sequence for tmux? I looked at the man ...
374
votes
4answers
50k views

Why does pinging 192.168.072 (only 2 dots) return a response from 192.168.0.58?

I mistakenly missed the dot off of an IP address and typed in 192.168.072. To my surprise I connected to a machine at 192.168.0.58 If I ping 192.168.072 I get responses from 192.168.0.58. Why is ...
369
votes
5answers
329k views

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] <file-list> to open files from command prompt and not from within Vim. split windows vertically or/and horizontally in separate tabs
369
votes
1answer
21k views

Ping faster than light

I just discovered very strange thing while testing my internet connection. My ping is smaller than it should be. For example ping time to Arizona State University is about 14ms. eryk@eryk-pc:~$ ping ...
366
votes
19answers
207k views

If 32-bit machines can only handle numbers up to 2^32, why can I write 1000000000000 (trillion) without my machine crashing?

32-bit computers can only store signed integers up to 231 - 1. This is why we have run out of IPv4 addresses and have entered the 64-bit era. However, the number 231 - 1 (2,147,483,647) is not as ...
360
votes
12answers
20k views

How can I give my wife emergency access to logins, passwords, etc.?

I'm the digital guru in my household. My wife is good with email and forum websites, but she trusts me with all our important digital stuff — online banking and other things that require ...
358
votes
22answers
360k views

How to delete directories with path/names too long for normal delete

Windows seems to have a length limit on file names when trying to delete, though it won't prevent those files from being created. Our build process creates a number of temporary files (many build off ...
358
votes
14answers
174k views

Get colors in less or more

When I read a file in Linux with the command less or more, how can I get the content in colors?
356
votes
15answers
199k views

Why are we still using CPUs instead of GPUs?

It seems to me that these days lots of calculations are done on the GPU. Obviously graphics are done there, but using CUDA and the like, AI, hashing algorithms (think bitcoins) and others are also ...
352
votes
8answers
682k views

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 ...
351
votes
2answers
340k views

How to remove an entry from Chrome's Remembered URLs from the url bar?

I've got a URL in Chrome "local.mysite.com" that autopopulates when I start typing "local.my" into the URL bar. Note that this URL DOES NOT EXIST in my browser history (at chrome://history/#e=1&p=...

15 30 50 per page