Most Popular

1500 questions
102
votes
1 answer

Undo OS X terminal window split

I constantly split my terminal windows accidentally by pressing Cmd+D (it's so close to Cmd+F). I have no idea how to undo this. Any ideas?
Peter Berg
  • 1,165
102
votes
6 answers

How do I find my user ID and group in Mac OS X?

Trying to run this compand in terminal: sudo chown -R yourid:yourgroup local However, I have no idea what my ID and my group are, or where to find them. Any ideas?
Starkers
  • 2,376
102
votes
1 answer

Notepad++ 80 Character Line Marker?

Is there a way I can get a vertical marker line to appear at the 80th character column in notepad++?
speedplane
  • 1,601
102
votes
9 answers

Why is dial up so slow?

On a dial-up Internet connection, why is the speed is limited to 56 kbits/s compared to a broadband Internet connection which may carry 10 times as much as dial up through that same telephone line? Is it because the dial up is limited to 56 kbits/s…
Karen
  • 933
102
votes
12 answers

How to create and format a partition using a Bash script?

Is there any way to create and format a partition using a Bash script? I think it can be done with fdisk but I don't know how to feed commands from the Bash script into the fdisk shell and then exit the fdisk shell. I'd like to create a partition…
GlassGhost
  • 1,279
102
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.
102
votes
16 answers

zsh starts incredibly slowly

ZSH takes about a second and a half from creating a new terminal window to being ready. I'm pretty sure that the culprit is compinit. I haven't been able to find good documentation on compinit, but it looks like it should be caching all of the…
Eli
  • 1,123
  • 2
  • 8
  • 5
102
votes
11 answers

ShellExecute failed (2) error for Notepad++ on Windows 7 64bit

ShellExecute failed (2): Is this command correct? "C:\Program Files (x86)\Notepad++\notepad++.exe [location of file to edit] I seem to have some issue with RIGHT CLICK > Edit with Notepad ++. This is on a fresh install of Microsoft Windows 7…
Jakub
  • 3,181
102
votes
12 answers

Commmand line command to copy entire directory (including directory folder) to another directory

using the command line, I'd like to copy one directory to another. For example there is directory C:/test and C:/test2. I'd like to copy C:/test into C:/test2 so that the result will be C:/test2/test Everything I've found so far will only copy the…
agezna
102
votes
7 answers

How do I update all fields in a Word document?

I want a way of updating all fields in a Word 2013 document. (If it works in other versions, all the better; I originally had this problem with Word 2007, and nothing seems to have changed since then.) This includes cross-references, page numbers,…
102
votes
12 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,554
102
votes
9 answers

How can I get (g)Vim to display the character count of the current file?

I like to write tutorials and articles for a programming forum I frequent. This forum has a character limit per post. I've used Notepad++ in the past to write posts and it keeps a live character count in the status bar. I'm starting to use gVim…
OwenP
  • 1,559
102
votes
11 answers

What sense does it make for "sharpness" to be adjustable on a monitor?

Modern monitors often have a "sharpness" setting. But I don't really understand how it makes sense for such a setting to exist. The software asks the monitor to display a particular pattern of 32-bit RGB values, right? i.e. The OS might ask the…
user541686
  • 23,629
102
votes
2 answers

How can I filter out unique results from grep output?

In linux, I can grep a string from a file using grep mySearchString myFile.txt. How can I only get the result which are unique?
hap497
  • 3,039
102
votes
2 answers

How does Router know where to forward packet

If several computers with local addresses (192.168.0.#) are connected to a router and each computer opens a web browser and requests a page over HTTP, when these TCP:80 packets are sent out, the router switches the local address with the static IP…