Most Popular

1500 questions
97
votes
6 answers

Why is localhost IP 127.0.0.1?

I wondered what is the origin of the decision to make localhost's IP address 127.0.0.1. What is the "meaning" of 127? what is the "meaning" of 0.0.1?
Roee Adler
  • 1,598
97
votes
9 answers

Select column from a table with Google Chrome

Is there an extension for Google Chrome that would allow me to select a column from a table on the webpage? For example when I want to copy text from just one column of a table. You can select any row or column in Firefox by holding the Ctrl key,…
kristof
  • 1,712
97
votes
8 answers

How can I recursively copy files by file extension, preserving directory structure?

At the Linux command line, I'd like to copy a (very large) set of .txt files from one directory (and its subdirectories) to another. I need the directory structure to stay intact, and I need to ignore files except those ending in .txt.
97
votes
13 answers

Switching back to last tab on Firefox

Is it possible to switch back to the last tab used (tab toggling)? I often like this behaviour on the Mac OSX when switching between apps with the CMD + Tab shortcut key.
Dashed
  • 1,097
97
votes
2 answers

How do I clear out the ssh-agent entries (on Mac OS X )?

I'm running Mac OS X, and it appears that after SSHing to several machines, using identity files, my 'ssh-agent' builds up a lot of identity / keys and then sometimes offers too many to a remote machine, causing them to kick me off before…
cwd
  • 18,148
97
votes
13 answers

Windows equivalent to UNIX "time" command

So, Unix has a time command that lets users time their code/other things. I was wondering if the Windows command line has anything similar. Also, I asked a previous question regarding the Linux command line here. Can we do the same for Windows? If…
97
votes
10 answers

How to check if a directory exists in Windows?

I would like to translate this Linux/Bash script to Windows shell: if test -d myDirName; then echo "ok"; else mkdir myDirName; fi It tests if a directory exists, and if it doesn't it creates it.
Pietro
  • 1,759
97
votes
14 answers

How can I take a screenshot that includes the mouse cursor?

When taking screen shots for use in tutorials, it would be really helpful to include the mouse cursor in the picture, but I've found that most screenshot tools (including those that ship with Windows) hide the cursor from the screenshot. How can I…
Sam
  • 2,104
97
votes
10 answers

Keyboard shortcut to pull Google Chrome tab into its own window

Is there a keyboard short cut, or extension, that lets you rip a tab into a new window in Google Chrome instead of using the mouse?
Stephen
  • 2,424
97
votes
6 answers

How should I convert Markdown (or similar) to a Word Document?

Here's the deal: In school I want to write my actual content in Markdown (using [Q10] or Notepad++) in school so that I can actually focus on writing without the ugliness of Word 2000 on my screen, but I have the problem of actually converting the…
digitxp
  • 14,556
97
votes
18 answers

Linux "Top" command for Windows Powershell?

I am looking for a PowerShell cmdlet that can provide similar functionality to the Linux Top app. Something that refreshes at some given interval and displays the process list with CPU % util. I have seen scripts that list CPU % utilization in a…
TimAtVenturality
97
votes
6 answers

How many threads does ffmpeg use by default?

I see that there's a -threads command line option in ffmpeg. What is the default value of this option?
Edward Dale
  • 1,249
97
votes
6 answers

How can I open Google Chrome via command-line with a URL, in incognito mode?

When launching Chrome from the Windows command line I can pass arguments like so: ...>chrome.exe -incognito I can also pass a URL to open: ...>chrome.exe google.com Each work fine on their own, but I can't get them to work together. What I want is…
JD Isaacks
  • 8,494
  • 11
  • 40
  • 41
97
votes
2 answers

Why is DNS apparently involved in issuing "dir" on Windows 10?

For complicated reasons, I have been forced to make an identical copy of cmd.exe and rename it to cmd-2.exe, which I put as a shortcut on the Taskbar to have them "grouped" in different taskbar groups. Sometimes, I forget about this, and to open a…
Khalid
  • 739
97
votes
5 answers

Where to find the .bashrc file on Mac OS X Snow Leopard and Lion?

I want to install rvm on my Snow Leopard machine. It says I need to add a line to my .bashrc file (I'm using bash) but where is my .bashrc file?
Yuval
  • 2,258