Most Popular

1500 questions
337
votes
5 answers

What's the difference between 127.0.0.1 and 0.0.0.0?

I understand that 127.0.0.1 points to localhost, and so does 0.0.0.0 (correct me if I'm wrong). So, what's the difference between 127.0.0.1 and 0.0.0.0?
Sagnik Sarkar
  • 3,461
  • 3
  • 11
  • 9
337
votes
19 answers

How to reliably keep an SSH tunnel open?

I use an SSH tunnel from work to go around various idotic firewalls (it's ok with my boss :)). The problem is, after a while the ssh connection usually hangs, and the tunnel is broken. If I could at least monitor the tunnel automatically, I could…
Peltier
  • 6,094
  • 8
  • 36
  • 62
330
votes
1 answer

Mouse pointer moving on arrow keys pressed in Windows?

I'm encountering a strange problem on my W10 computer, for a few days my arrow keys have been "driving" my mouse pointer. Pressing the left arrow key will move the pointer a few pixels left, etc. The first thing that came to my mind was "Oh well, I…
zdimension
  • 12,243
  • 4
  • 18
  • 30
326
votes
11 answers

Determine which tab in Firefox is using CPU resources?

Is there anything in the current Firefox similar to the Task Manager in Google Chrome? (Shift + Esc) There is something that occasionally takes up enough CPU to make Firefox unresponsive - but with multiple windows, each with a dozen or so tabs…
chris
  • 9,287
  • 20
  • 67
  • 85
325
votes
11 answers

Menu select item stuck on screen after context or command menu has closed

Periodically when I select a menu command, the label or selected option gets "stuck" on screen and won't go away. I can close all open applications, including whichever one I was using when it got stuck, but it still won't go away. In the…
Sam Harwell
  • 6,822
  • 5
  • 23
  • 27
325
votes
9 answers

How to append to a file as sudo?

I want to do: echo "something" >> /etc/config_file But, since only the root user has write permission to this file, I can't do that. But the following also doesn't work. sudo echo "something" >> /etc/config_file Is there a way to append to a file…
agentofuser
  • 7,247
  • 11
  • 38
  • 34
322
votes
4 answers

How can I search within the output buffer of a tmux shell?

I can't get this to work. How can I search the buffer of a tmux shell?
NES
  • 3,331
  • 3
  • 15
  • 6
321
votes
6 answers

How do you prevent the dock from switching monitors in macOS Monterey?

In Mavericks, Apple introduced a "feature" where if you hover at the bottom of any screen the dock pops up on that screen. This is disrupting my workflow as I am constantly having the dock pop up when I don't want it to and then I have to go to…
Brad Dwyer
  • 3,425
  • 2
  • 16
  • 12
321
votes
5 answers

What does the "Fi" in "Wi-Fi" mean?

I just got into a heated discussion about Wi-Fi. What does the Fi in Wi-Fi mean? I would have thought potentially "frequency interface" since all network adapters are classified as interfaces. However I'm not certain.
321
votes
3 answers

Linux unzip command: Option to force overwrite?

I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace jsp/extension/add-aspect.jsp? [y]es, [n]o, [A]ll,…
Nicolas Raoul
  • 10,711
  • 18
  • 64
  • 102
319
votes
7 answers

How to pin either a Shortcut or a Batch file to the new Windows 7, 8 and 10 Taskbar and start menu?

We are having trouble adding our batch scripts to the Windows 7, 8 or 10 taskbar or start menu. Our batchfiles take some arguments and just execute other application based on those arguments . To keep it simple, we created some shortcuts for our…
Shaharyar
  • 3,541
  • 2
  • 19
  • 14
316
votes
4 answers

How to convert 2 horizontal panes to vertical panes in tmux?

After doing join-pane on 2 windows, you have 2 horizontal panes. How do I rearrange the panes to be vertical panes instead?
krishonadish
  • 3,271
  • 2
  • 15
  • 6
313
votes
9 answers

Can I completely disable Cortana on Windows 10?

Windows 10 has Cortana, which I don't like. I disabled it as soon as I could. However, looking in Task Manager, the process for Cortana is still running, and can't be effectively terminated: ending the task simply results in the process respawning a…
ArtOfCode
  • 3,451
  • 4
  • 15
  • 19
312
votes
3 answers

Conclusively stop wake timers from waking Windows 10 desktop

How do you stop a Windows 10 Desktop waking up from the sleeping/hibernated power state without user intervention? For lots of users this won't be an issue but, if you sleep in the same room as your PC, then having your machine wake up at 3:30AM to…
seagull
  • 5,426
  • 7
  • 29
  • 40
312
votes
6 answers

How to match whitespace in sed?

How can I match whitespace in sed? In my data I want to match all of 3+ subsequent whitespace characters (tab space) and replace them by 2 spaces. How can this be done?
Peter Smit
  • 9,346
  • 13
  • 45
  • 45