Most Popular

1500 questions
2384
votes
7 answers

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?
Laurie Young
2123
votes
3 answers

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 toaster? Why does Windows even have an icon for a…
ydaetskcoR
  • 11,502
  • 3
  • 10
  • 15
1754
votes
14 answers

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 man page, I find only two instances of the word…
chadoh
  • 17,709
  • 3
  • 14
  • 9
1613
votes
10 answers

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

How can I sort the output of ls by last modified date?
nearly_lunchtime
1569
votes
6 answers

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 will turn off the screen for 15 seconds on Linux.…
Leonid Volnitsky
  • 8,393
  • 3
  • 12
  • 8
1167
votes
17 answers

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 HTTP status code from the response (404, 403 etc). …
kdt
  • 12,349
  • 5
  • 18
  • 13
1053
votes
12 answers

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 open in another program Happens the same with a file,…
leeand00
  • 18,964
  • 39
  • 110
  • 173
1026
votes
17 answers

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?
Mee
  • 10,398
  • 3
  • 15
  • 6
991
votes
19 answers

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 drive G. And so on and so forth. But then, what and…
Demian Kasier
  • 461
  • 3
  • 5
  • 9
952
votes
24 answers

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 default is ~/.ssh/identity for protocol…
jrdioko
  • 10,865
  • 5
  • 24
  • 26
850
votes
3 answers

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 silly”. But this is John Carmack. How can this be…
Konrad Rudolph
  • 7,461
  • 6
  • 26
  • 35
795
votes
30 answers

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

Is there a built-in checksum/hash utility on Windows 7?
user64996
  • 8,277
  • 4
  • 18
  • 15
703
votes
11 answers

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 runnable. Why isn't there any documentation about…
Andrea Ambu
  • 7,670
  • 4
  • 23
  • 20
698
votes
9 answers

How to recursively chmod all directories except files?

How to chmod 755 all directories but not files (recursively)? Inversely, how to chmod only files (recursively) but no directories?
Olivier Lalonde
  • 9,327
  • 7
  • 28
  • 33
695
votes
5 answers

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 an apple! Try clicking the image and moving it…
ethree
  • 3,679
  • 3
  • 11
  • 5
1
2 3
99 100