Most Popular
1500 questions
140
votes
24 answers
Why is my SSH login slow?
I'm seeing delays in SSH Logins. Specifically, there are 2 spots where I see a range from instantaneous to multi-second delays.
Between issuing the ssh command and getting a login prompt and
between entering the passphrase and having the shell…
Peter Lyons
- 1,862
- 2
- 12
- 16
140
votes
24 answers
How can I mass rename files?
I've got a bunch of files named with a the pattern 99 - DescriptiveName.txt and I'd like to remove the number from the front so I just have DescriptiveName.txt.
How can I do this? Can I do it from the command line or is there a utility that can do…
BIBD
- 1,574
140
votes
16 answers
How can I intentionally break/corrupt a sector on an SD card?
I need to test the resilience of some read/write code for some embedded hardware. How might I sacrifice a few SD cards and break several known sectors for a controlled study?
The only thing I can think of is to overwrite a single sector a few…
Gabe Krause
- 1,317
140
votes
13 answers
Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files?
I have a batch file that outputs a text file. I thought it would be nice if I could zip it up too.
This will be used in an uncontrolled environment, so I can't make assumptions about the presence of third-party software products such as 7-Zip, etc.…
Aaron Bush
- 1,543
140
votes
3 answers
Where is the C drive in the WSL?
Whenever I try to login to bash using the Windows Subsystem for Linux, I try to cd into C:\Users\, but all I get is directory not found.
Where is the C drive for the Windows Linux subsystem? Is it isolated?
Jeeter
- 2,881
139
votes
13 answers
Map capslock to control in Windows 10
In Windows 8 I used to remap my capslock key to control using the registry script
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
After…
chtenb
- 1,875
139
votes
4 answers
How do I get out my embedded Windows 8+ key from a Linux environment?
I have seen other SuperUser questions on this topic: How to find Windows 8 product key? | How to find Windows 8 OEM product key?
However, all of the answers assume you have Windows 8 running.
I've already done a clean install of Ubuntu 13.04 on my…
Riking
- 3,333
139
votes
14 answers
What's the easiest way to delete Vim swapfiles I've already recovered from?
Sometimes Vim crashes and leaves me a swapfile. That's awesome. Then I open the file I was editing and Vim asks me if I want to recover. I do, thanks. When it's done, Vim tells me,
You may want to delete the .swp file now.
Why, yes, I do. How…
Peeja
- 2,889
139
votes
11 answers
Disable Narrator shortcut key in Windows
I've install Windows 8 on a BootCamp macbook air
The problem is that the command key located differently from the winkey in a normal keyboard, therefor, I keep clicking Winkey+Enter which starts the narrator (which is really annoying!)
Is there a…
Dig
- 1,453
139
votes
8 answers
Turn off scientific notation in Excel
I would like to prevent Excel behavior that any large number I enter is stored as a number, then abbreviated to scientific notation.
Is it possible to tell Excel 2007 to stop doing this?
Pierre Gardin
- 1,522
139
votes
14 answers
How to minimize all windows in macOS?
I am a recent refugee from Windows land (at least on one of my PCs).
One thing I really miss in macOS is the ability to minimize all windows.
I can't seem to find the shortcut that does it, or even a script.
AngryHacker
- 18,647
139
votes
4 answers
Change environment variables as standard user
When clicking on "Advanced system settings", I need to login as the administrator and hence only edit the administrators environment variables (in addition to the machine wide ones). How do I edit the environment variables of a standard…
SealedSun
- 2,159
139
votes
10 answers
What is this dm-0 device?
While poking around trying to figure out why a Linux -> Linux file transfer is running slower than I think it should, I stumbled across something I'm not familiar with. /dev/dm-0 seems to be my bottleneck, but I have no idea what it is.
On my…
user4491
139
votes
5 answers
How do you shutdown or restart a Windows computer over a Remote Desktop connection?
When I connect to my Windows 7 desktop computer via Remote Desktop (MSTSC.exe), the options under the Start Menu are "Log Off" (the default), "Lock", and "Disconnect". How do I restart (or shutdown)?
gdunbar
- 1,493
138
votes
11 answers
Copy-on-select, paste-on-middle-click on Mac OS X?
Is there a way to give OS X the usual X-windows behavior where selecting text in any application automatically copies it to the clipboard, and the middle mouse button automatically pastes it?
+C, +V is a little annoying.
nibot
- 2,027