Most Popular
1500 questions
469
votes
18 answers
An SSH tunnel via multiple hops
Tunneling data over SSH is pretty straight-forward:
ssh -D9999 [email protected]
sets up port 9999 on your localhost as a tunnel to example.com, but I have a more specific need:
I am working locally on localhost
host1 is accessible to…
Mala
- 7,288
- 11
- 35
- 38
468
votes
18 answers
How to clear the contents of a file from the command line?
I have a log file that has a bunch of stuff in it that I don't need anymore. I want to clear the contents.
I know how to print the contents to the screen:
cat file.log
I know how to edit the file, line-by-line:
nano file.log
But I don't want to…
Andrew
- 14,554
- 30
- 70
- 82
468
votes
5 answers
How do I exit telnet?
I start telnet by telnet host port. How do I stop it in Windows? Shockingly, Ctrl+C doesn't work.
Val
- 1
- 7
- 20
- 39
467
votes
18 answers
How can I remove malicious spyware, malware, adware, viruses, trojans or rootkits from my PC?
What should I do if my Windows computer seems to be infected with a virus or malware?
What are the symptoms of an infection?
What should I do after noticing an infection?
What can I do to get rid of it?
how to prevent from infection by…
Gnoupi
- 8,108
- 9
- 43
- 59
461
votes
17 answers
How do I compare binary files in Linux?
I need to compare two binary files and get the output in the form
for every different byte. So if file1.bin is
00 90 00 11
in binary form and file2.bin is
00 91 00 10
I want to get something…
frustratedCmpNoLongerUser
460
votes
1 answer
How to remove one or all auto-complete text entries in Chrome?
Ok... so this is embarrassing.
I typed in "boobs" on EncyclopediaDramatica's search because, well, it's a really funny page.
But now I've got a problem... EVERY TIME I click a search field in Chrome now, it shows "boobs" as the first suggestion in…
Garrett
- 4,839
- 4
- 17
- 9
460
votes
11 answers
What is the home directory on Windows Subsystem for Linux?
When I start bash on Windows Subsystem for Linux, it drops me in the directory
/mnt/c/Users/
When I ls this directory, I see the directories Desktop, Documents, etc. that I can see are in C:\Users\ using the Windows File…
bcf
- 4,743
- 3
- 12
- 9
458
votes
4 answers
What is randomart produced by ssh-keygen?
When you generate a key, you get "randomart" from newer versions of OpenSSH. I am unable to find an explanation of why, and what I'm supposed to use it for.
Generating public/private rsa key pair.
The key fingerprint…
dlamblin
- 10,553
- 8
- 45
- 53
456
votes
2 answers
How do I rename a session in tmux?
When I first started using tmux, I didn't give my first session a name. Then, as I started creating different sessions for different tasks (work, play, etc), I started naming my sessions.
Now I have a bunch of different sessions, but the first one…
Richard Jones
- 5,468
- 3
- 18
- 14
450
votes
13 answers
Mac OS X equivalent of the Ubuntu "tree" command
Is there an equivalent to the Ubuntu tree command for Mac OS X?
Misha Moroshko
- 7,423
- 9
- 26
- 31
449
votes
8 answers
Why don't websites immediately display their text these days?
I've noticed that recently many websites are slow to display their text. Usually, the background, images and so on are going to be loaded, but no text. After some time the text starts appearing here and there (not always all of it at the same…
laurent
- 5,979
- 17
- 47
- 71
447
votes
16 answers
How can I download an entire website?
How can I download all pages from a website?
Any platform is fine.
joe
- 12,279
- 12
- 67
- 104
444
votes
10 answers
How to rename the User folder in Windows 10?
After installing Windows 10 on my Surface Pro 3 it took my user name 'Jeremy' and created a user folder named C:\Users\jerem.
I want to rename the folder C:\Users\Jeremy. The procedure for Windows 8 does not work. There are a couple of…
GollyJer
- 7,150
- 8
- 38
- 45
439
votes
5 answers
How can I resume a stopped job in Linux?
How can I resume a stopped job in Linux? I was using emacs and accidentally hit ctrl-z which blasted me back to the console. I can see it when I type 'jobs'
[*****]$ jobs
[1]+ Stopped emacs test_queue.cpp
Bobby
- 4,501
- 3
- 15
- 6
436
votes
18 answers
Windows SSH: Permissions for 'private-key' are too open
I've OpenSSH 7.6 installed in Windows 7 for testing purposes. SSH client & server work just fine till I tried to access one of my AWS EC2 box from this windows.
It seems like I need to change the permission on the private key file. This can be…
Sabrina
- 5,083
- 8
- 15
- 25