Most Popular

1500 questions
202
votes
1 answer

I am a victim of the Petya ransomware. Is there a solution to decrypt my disk?

My computer got encrypted by the Petya ransomware. After a long search I could not find a solution other than using file recovery software. This helps a bit, but I am wondering if there is a way to completely restore my disk. I am not going to pay.
leostone
  • 1,759
201
votes
13 answers

Windows 10 Search can't find ANY applications. Even calculator

I have problem with Windows 10 Enterprise N x64. When I press "Start" and start to type application name it never finds it. I can't even find applications like "Calculator", "Microsoft Word" or any other. Just moving dots and I let it run for 30…
Hooch
  • 3,863
200
votes
2 answers

How to stop Microsoft from gathering telemetry data from Windows 7, 8, and 8.1

Some of the update patches pushed to Windows 7, 8, and 8.1 during this year seem to be solely for the purpose of gather data from a user's system. Is there a way to disable the telemetry through some setting(s)? Or is it necessary to dig up which…
x457812
  • 2,349
200
votes
2 answers

How to access Windows folders from Bash on Ubuntu on Windows

On the Bash on Ubuntu on Windows app, I only have root@localhost:~# ls -a .bash_history .bashrc .profile How do I access all of the Windows folders like Documents, Downloads, etc.?
199
votes
5 answers

How to mount a HFS partition in Ubuntu as Read/Write?

I plugged in my external harddrive (which was formatted on my Mac into HFS+ journaled) to my Ubuntu desktop 9.04 64bit. I am not able to get the drive to mount with write capability, how do I do that? Right now all I'm getting is read access, I…
GiH
  • 4,017
199
votes
8 answers

How can I create a non-login user?

I'd like to create a user and a group both called subversion on a RHEL 5 system. I looked at the man page for useradd and I guess the command would be just be... useradd subversion However, not sure how to avoid creating a home dir. Also, I don't…
Ethan
  • 3,721
198
votes
8 answers

Why does terminal say: "You have mail"?

Any idea why my Mac terminal says: You have mail in /var/mail/lofye How can I make it stop saying that every time I open terminal?
lo_fye
  • 2,321
198
votes
13 answers

How do I edit text files in the Windows command prompt?

On Unix I'd just use vi, but I don't know what the command is on Windows. I am actually trying to edit files over SSH with Windows Server 2008.
Casebash
  • 7,477
197
votes
6 answers

How to close a tmux session

I am using tmux to manage multiple terminal windows. Currently I have 2 windows open with multiple panes. I know that I have to use the prefix (for me it is ctrl+a) to enter commands. How can I close the session from inside of tmux? What command…
ph3nx
  • 2,073
197
votes
14 answers

Is it possible to `tail -f` the output of `dmesg`?

I want to do something like dmesg | tail -f but it doesn't work: I use Mac OS X v10.6.7 (Snow Leopard). By doing that, tail will exit, instead of monitoring the output. I wonder if there is a way to do it, or an equivalent command. P.S., I don't…
Ivan Xiao
  • 2,815
197
votes
5 answers

On my Windows machine, I had a folder with a name of four dots that acted like some kind of rabbit hole - how did that happen?

The folder name was listed in File Explorer with just plain four dots ..... When I tried opening it, I came into some kind of endless rabbit hole loop where I opened the exact same folder again and again - I could do this endlessly. Showing the path…
Dirk Boer
  • 1,531
196
votes
5 answers

How do you display POST data with cURL?

As an example, POSTing to a web server with the -v argument: curl -v http://testserver.com/post -d "firstname=john&lastname=doe" And the output > POST /post HTTP/1.1 > User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7…
gak
  • 8,737
196
votes
10 answers

List the current folder folder's sizes with the terminal?

I want a list of the folders from the current directory or one that I specify with their size. I have tried with du but I only get the size of the directories I specify (du . ./f1), and ls doesn't show the size of the folders. How do I do this…
kevin
  • 2,234
196
votes
13 answers

How can I make the Windows VPN route selective traffic (by destination network)?

I want to use a Windows VPN but only for a particular network, so that it doesn't take over my entire network connection. e.g., Instead of the VPN becoming the default route, make it only the route for 192.168.123.0/24 (I can see that there is a…
Legooolas
  • 5,860
195
votes
4 answers

How to install local .deb packages with apt-get

Is there a way to install packages store on your HD with apt-get, like apt-get install ./package.deb? If not, how to handle the dependencies in a very very easy way?
Louis
  • 2,634