Most Popular
1500 questions
222
votes
5 answers
How do you reuse a visual mode selection?
Often when editing code, I'll select a block in visual mode and do a search and replace over the block. After I make the changes, however, it leaves visual mode. How do you do a new find and replace over the same selection?
labyrinth
- 2,686
222
votes
12 answers
How to prevent Windows 10 from automatically adding keyboard layouts (i.e. US keyboard)
Update: this is a lengthy post, you can jump straight to the answer below
Note: The quick language list refers to the list in the screenshot below, accessible throught the shortcut Win + Space bar
I have two languages for windows spell check in my…
Luis Ferrao
- 4,511
221
votes
8 answers
Turn on the link hover statusbar in Google Chrome
I want to turn on the feature where whenever I hover over a hyperlink and in the bottom lefthand corner it shows a light blue hover tooltip about where that link goes.
It looks like that since some days this earlier always-on feature is missing…
hakre
- 2,431
221
votes
18 answers
What is the advantage of using 'tar' today?
I know that tar was made for tape archives back in the day, but today we have archive file formats that both aggregate files and perform compression within the same logical file format.
Questions:
Is there a performance penalty during the…
MarcusJ
- 2,145
220
votes
17 answers
With Bash + iTerm2, how to name tabs?
In iTerm2 (Build 1.0.0.20120203), I typically open several tabs, each of which has split panes , and is about one particular theme of work, for example revision control, coding, managing files, mysql terminal work. I typically need to switch…
qazwsx
- 9,311
220
votes
11 answers
PowerShell equivalent to the Unix `which` command?
Does PowerShell have an equivalent to the which command found in most (if not all) Unix shells?
There are a number of times I'd like to know the location of something I'm running from the command line. In Unix I just do which , and it tells…
Herms
- 9,992
220
votes
3 answers
What are CLOSE_WAIT and TIME_WAIT states?
When I do netstat -a on my Windows machine, I get a listing of the ports with one of the four states:
- LISTENING
- CLOSE_WAIT
- TIME_WAIT
- ESTABLISHED
What do CLOSE_WAIT and TIME_WAIT mean/indicate?
Lazer
- 18,407
220
votes
3 answers
How can this website reidentify me even after deleting all of my browser's history and using a VPN?
The website dropmail.me is able to successfully reidentify me (and offer my last used temp mail addresses via. "Restore access") despite doing the following:
Delete all my browsers history which includes cache, cookies, website settings, download…
manuel
- 2,018
219
votes
12 answers
sudo with password in one command line?
On busy days, I'd like to run
$ ./configure && make && sudo make install && halt
on the night and go to bed, hoping the application would automatically be installed. But what I see the next day is the screen where sudo asks me for the password. So…
Jichao
- 7,940
219
votes
9 answers
How do I configure SSH so it doesn't try all the identity files automatically?
I have been putting my ssh identity files inside my ~/.ssh/ folder. I have probably about 30 files in there.
When I connect to servers, I will specify the identity file to use with something like
ssh -i ~/.ssh/client1-identity…
cwd
- 18,788
- 43
- 123
- 162
219
votes
4 answers
How do you run an SSH server on macOS?
How do you run an SSH server on macOS?
Pablo Fernandez
- 11,649
218
votes
9 answers
How do I find out what version of Linux I'm running?
Is there a way to determine what version (distribution & kernel version, I suppose) of Linux is running (from the command-line), that works on any Linux system?
Daryl Spitzer
- 9,065
217
votes
3 answers
Why do file URLs start with 3 slashes?
HTTP starts with two slashes. E.g. http://example.com.
Same goes for FTP. E.g. ftp://example.com.
However, file "URLs" start with three slashes. E.g. Reading a pdf file using chrome, the URL would be file:///D:/Desktop/Book.pdf.
Why do file URLs use…
Pacerier
- 28,143
217
votes
6 answers
Why won't "sudo cd" work?
Why typing sudo cd whatever won't change the directory?
sri prasanna
- 2,273
217
votes
16 answers
Can't delete folder and I am admin. "You need permission to perform this action. You require permission from..."
I can't delete a certain folder in Windows 7. It's not a system folder. It was created by an app. I get an error message "You need permission to perform this action. You require permission from Tony....". I am an admin and logged in as myself Tony.…
Tony_Henrich
- 12,156