Most Popular

1500 questions
498
votes
5 answers

How to open files in vertically/horizontal split windows in Vim from the command line

There must be a way, something like this: vim -[option] to open files from command prompt and not from within Vim. split windows vertically or/and horizontally in separate tabs
493
votes
14 answers

Mac OS X equivalent of the Ubuntu "tree" command

Is there an equivalent to the Ubuntu tree command for Mac OS X?
492
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,743
492
votes
18 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
487
votes
21 answers

How to download files from command line in Windows like wget or curl

How can I download something from the web directly without Internet Explorer or Firefox opening Acrobat Reader/Quicktime/MS Word/whatever? I'm using Windows, so a Windows version of Wget would do.
486
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,966
486
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,431
483
votes
9 answers

How can I free up drive space from the Windows installer folder without killing Windows?

On my SSD machine, the C:\Windows\Installer folder is massive and takes up about 15% of my total disk space. Is there a way to clean up that folder without killing Windows 8.1/10? Tucking away the installers on the OS partition seems wasteful.
482
votes
18 answers

An SSH tunnel via multiple hops

Tunneling data over SSH is pretty straight-forward: ssh -D9999 username@example.com 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,466
482
votes
14 answers

Does e-mail address obfuscation actually work?

Most of the time when I see someone post their email address online, especially if it's a personal address, they use something like me [at] example [dot] com instead of the actual email address (me@example.com). Even top members of this community…
Kyle Cronin
  • 7,489
481
votes
19 answers

How to prevent Gnome-shell's Alt+Tab from grouping windows from similar apps?

I love pretty much everything about how Gnome Shell handles app-switching through Alt+Tab. My one gripe with it, though, is how it forces the user to use Alt+` (or Alt+ whatever key above the Tab key for non-US keyboard layouts) to switch between…
473
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,188
472
votes
11 answers

How do I add text to the beginning of a file in Bash?

Hi I want to prepend text to a file. For example I want to add tasks to the beginning of a todo.txt file. I am aware of echo 'task goes here' >> todo.txt but that adds the line to the end of the file (not what I want).
user479534
  • 4,931
467
votes
11 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,560
464
votes
8 answers

How to merge audio and video file in ffmpeg

I want to merge an audio file (.wav or .au format) with a video file (.mp4 format). Please suggest me how to achieve this. I want to merge these file to new .mp4 video file. An ffmpeg command would be very welcome.
Sandy
  • 5,199