Most Popular

1500 questions
287
votes
10 answers

Using cd command in Windows command line, can't navigate to D:\

This may be a silly question, and I think I have looked elsewhere to find the answer... Might be a path issue, but when I open the command line and type from the C:\>: cd D:\ I cannot get to the D drive. Even if I type: cd D:\ The…
nicorellius
  • 6,535
  • 13
  • 42
  • 75
285
votes
14 answers

Grep equivalent for Windows 7?

Is there a command prompt grep equivalent for Windows 7? That is, I want to filter out the results of a command: Bash use: ls | grep root What would it be from a Windows command prompt?
chrisjlee
  • 3,920
  • 4
  • 21
  • 27
281
votes
9 answers

Clear 301-redirect cache in Firefox

Is it possible to clear only 301-redirects from Firefox's cache? CTRL+F5 doesn't do the job since you just reload the target without caching but do not clear the cached redirect. An option to disable caching of those redirects completely would be…
ThiefMaster
  • 5,777
  • 8
  • 35
  • 43
281
votes
5 answers

Getting colored results when using a pipe from grep to less

I use the --colour option of grep a lot, but I often use less as well. How can I pipe grep results to less and still preserve the coloring. (Or is that possible?) grep "search-string" -R * --colour | less EDIT: I'm looking for a direct solution…
Jeremy Powell
  • 6,459
  • 5
  • 21
  • 16
279
votes
1 answer

Sorting lines in Notepad++ without the TextFX plugin

The current version of Notepad++ (at the time of this writing) is 6.6.3. Version 6.5.2 is the first that introduced a native (without a plugin) sorting function. At least, that's what they claim; even though we're nine releases after version 6.5.2,…
trejder
  • 10,307
  • 13
  • 54
  • 103
277
votes
8 answers

How can I extract .rar files on the Mac?

Is there anything built-in that does this? (E.g. command line tools.) Or are there any third-party apps? Update: I like The Unarchiver, but vote up your favourite, or add it as an answer if it isn’t there.
Paul D. Waite
  • 6,104
  • 11
  • 48
  • 72
277
votes
10 answers

How can I list all IPs in the connected network, through Terminal preferably?

Using Ubuntu 10.10 command line, how can I list all IPs connected to my home network? Ideally, it needs to be a CLI command as I will be running it from C++.
Christopher Gwilliams
  • 2,925
  • 3
  • 15
  • 9
277
votes
14 answers

Combine one image + one audio file to make one video using FFmpeg

This should be pretty trivial, but I can't find a way to get it to work. I want FFmpeg to take one JPEG image and an audio file as input and generate a video file of the same duration as the audio file (by stretching the still image for the whole…
matteo
  • 3,990
  • 5
  • 19
  • 21
276
votes
5 answers

Is there a list of Windows special directories/shortcuts (like %TEMP%)?

I'm looking for a reference list of shortcuts like %TEMP%. When I'm using Windows+R or Windows Explorer and type %temp%, the Windows Explorer takes me to the Temp directory. Are there more of these shortcuts? UPDATE: I found a helpful reference page…
rdkleine
  • 3,060
  • 4
  • 18
  • 13
273
votes
10 answers

How to get SVG thumbnails in Windows Explorer?

I can open them in browser just OK, but how can I have thumbnails in the Windows Explorer? Edit: I installed Renesis Player as suggested by this answer, but it does not work for me, probably because I have 64-bit system.
zbstof
  • 3,431
  • 2
  • 16
  • 16
273
votes
5 answers

What's the equivalent of Linux's updatedb command for the Mac?

If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the corresponding updatedb for the mac?
Thierry Lam
  • 4,067
  • 8
  • 28
  • 32
272
votes
12 answers

Why does my microwave kill the Wi-Fi?

Every time I start the microwave in the kitchen, our home Wi-Fi stops working and all devices lose connection with our router! The kitchen and the Wi-Fi router are in opposite ends of the apartment but devices are being used a little here and there.…
Ohlin
  • 1,943
  • 3
  • 15
  • 12
270
votes
7 answers

How do you gunzip a file and keep the .gz file?

The default behavior of gunzip is to delete the .gz file after it decompresses. How do I prevent it from deleting the file?? If this functionality is not included then is there an alternative program that allows this? I'm using Ubuntu 9.04
Sen
  • 2,803
  • 2
  • 16
  • 5
268
votes
3 answers

ps aux output meaning

When typing the command ps aux, what does each column of the output mean? For example: $ ps aux timothy 29217 0.0 0.0 11916 4560 pts/21 S+ 08:15 0:00 pine root 29505 0.0 0.0 38196 2728 ? Ss Mar07 0:00 sshd: can [priv] …
Tim
  • 16,507
  • 67
  • 175
  • 257
267
votes
5 answers

How do you redirect wget response to standard out?

I have a crontab that wgets a PHP page every five minutes (just to run some the PHP code), and I want to send the output of the request to standard out, while sending the normal wget output to /dev/null (or otherwise hide it). I couldn't find it in…
Sean Adkinson
  • 2,985
  • 3
  • 15
  • 13