Most Popular

1500 questions
128
votes
11 answers

How do I install a VSIX file in Visual Studio?

I just downloaded a VSIX file from the Visual Studio Gallery. How do I install it in Visual Studio?
KdgDev
  • 5,518
128
votes
5 answers

Finding files which contain a certain string using find (1) and grep (1)

find . -type f -print -exec cat {} \; | grep some string Command above doesn't print the file path. I'm using: Ubuntu, bash 4.
H.Rabiee
  • 1,383
  • 2
  • 9
  • 7
128
votes
2 answers

In /etc/resolv.conf, what exactly does the "search" configuration option do?

If I have the option set as the domain name of the server itself, does that mean the server itself is used first to lookup domain names before querying the external internet? i.e. /etc/hosts will be queried? For example: search example.com
Mike
  • 1,477
  • 3
  • 11
  • 8
128
votes
2 answers

Why does Firefox use the "chrome://" protocol / schema in URLs?

When I want to configure an addon, for example Ghostery, the tab shows a URL like this one: chrome://ghostery/content/options.html What does it mean? Does it have something to do with the Chrome browser?
128
votes
4 answers

Byobu vs. GNU Screen vs. tmux — usefulness and transferability of skills

So far I have used Konsole to manage multiple shell sessions but I haven't tried Byobu, GNU Screen, and tmux, which offer better support for multiple shells. They all share one main feature, which is to allow detaching the current session and later…
Keitai
  • 1,291
128
votes
5 answers

tmux exits with [exited] on mac os x

I just installed tmux (a terminal multiplexer) with homebrew. When I try to run it, it always exits with [exited] Nothing shows up. When I try to run tmux list-session I get an error: failed to connect to server: Connection refused I tried…
Stevens
  • 1,383
128
votes
6 answers

Preserve colors while piping to tee

ls -l --color=auto | tee output.log Without pipe/tee it's colored. How can I make it so that it stays colored while using tee (can be colored only on the screen, I don't care about colors in logs).
128
votes
10 answers

How to purposefully exclusively lock a file?

I want to hold an exclusive lock on a file so it cannot be read or written by anything else. Is there a simple Windows tool or command to do this? I suppose the tool or utility would implement the LockFileEx Windows Function. Note: I've tried text…
John K
  • 2,760
128
votes
7 answers

mount dev, proc, sys in a chroot environment?

I'm trying to create a Linux image with custom picked packages.What I'm trying to do is to hand craft the packages I'm going to use on an XO laptop, because compiling packages takes really long time on the real XO hardware, if I can build all the…
Patrick
  • 1,899
128
votes
16 answers

How do websites block selecting text and how do I unblock that?

There's a website (example) that somehow blocks selecting text. Also it blocks Ctrl+A to select everything, there is also no “Copy” in the popup menu. What I have tried: Some sites use JavaScript to block selection. So I disabled all JavaScript…
user6329530
  • 1,431
128
votes
8 answers

Forward SSH traffic through a middle machine

SSH tunneling is very confusing to me. I am wondering if I can do this in Linux. I have 3 machines.. A. My local machine at home. B. Machine at work that I can SSH into (middle man). C. My desktop at work that I can only SSH into from machine…
PKKid
127
votes
11 answers

How do I start Notepad++ from cmd?

I can start the regular Notepad from cmd. C:\Windows>notepad I can also start it from the run prompt. Win+R notepad Enter I want to be able to do the same with the Notepad++. I can start it from the run prompt, but I can't start it from cmd. I…
Samir
  • 20,845
127
votes
7 answers

How to type special characters in Linux?

In windows there is possibility to type from keyboard special signs by holding alt key and typing a few numbers, that depends on with sign you want to use. Does it work with linux in the same way?
inothemo
  • 2,179
127
votes
3 answers

Difference between host name and domain name

What's the difference between Hostname and Domain name? especially in regards to NIC Could someone please elaborate with examples as this concept is a little confusing
rzlines
  • 7,538
127
votes
8 answers

How do I change the default font of Sticky Notes?

How can the default font be changed for the Windows 7 Sticky Notes application? I can't stand that faux handwriting font it uses.
Steve Crane
  • 2,560