Most Popular

1500 questions
93
votes
9 answers

Run cURL commands from Windows console

Is there a way to install cURL in windows in order to run cURL commands from the command prompt?
Domingo
  • 1,263
93
votes
5 answers

bash watch command with colors preserved

From man watch: Non-printing characters are stripped from program output. Use "cat -v" as part of the command pipeline if you want to see them. So how do I use cat -v if I want to see the colored output from: watch ls -al --color
93
votes
6 answers

How can I take screenshots of the Windows 10 Login Screen?

How can I take a screenshot of the Windows 10 Login Screen? I have read How can I take a screenshot of my logon screen in Windows 7?. Unfortunately, the posted answers reportedly only work for either Windows XP or 7. I've considered using VirtualBox…
Stevoisiak
  • 16,075
93
votes
3 answers

Invert colors with ImageMagick

How do I invert the colors of an image using the ImageMagick convert tool, so that black becomes white and white becomes black? In other words, I want to turn this: into this:
Jo Liss
  • 4,518
93
votes
9 answers

Is it possible to convert virtual machines to physical environments?

Is is possible to convert a .vdi file into a .iso that can be burned to a cd or dvd and make it like an installer. Or Is it possible to convert virtual machines to physical environments?
Wern Ancheta
  • 6,620
93
votes
6 answers

use of alternation "|" in sed's regex

I am using sed, GNU sed version 4.2.1. I want to use the alternation "|" symbol in a subexpression. For example : echo "blia blib bou blf" | sed 's/bl\(ia|f\)//g' should return " blib bou " but it returns "blia blib bou blf". How can I have the…
Cedric
  • 1,123
93
votes
3 answers

scp copy has error "ambiguous target"

I try to copy files from a linux (ubuntu) machine to an external hard drive mounted on a mac but got an error message : scp: ambiguous target What I did is, I'm on a mac, ssh to the linux machine where files are. Then use the following command…
bob
  • 1,033
92
votes
8 answers

How to disable or uninstall Microsoft Edge in Windows 10

Is there any possibility to completely disable the new Edge browser? The old IE could be disabled in Settings → Default Programs, but in Windows 10, the checkbox is missing for Edge. Is there any way to get rid of Edge, or at least to disable all…
K. Biermann
  • 1,019
  • 1
  • 7
  • 8
92
votes
7 answers

How to compress or hide the processors at top of htop on large machines?

I like to use htop to show me how the server is being used. Unfortunately with modern servers, the machine might have 48 or even 120 cores. This means that I can only see the first few lines of htop and never the second half of the htop display…
Unapiedra
  • 1,620
92
votes
6 answers

Variables in batch file not being set when inside IF?

I have two examples of very simple batch files: Assigning a value to a variable: @echo off set FOO=1 echo FOO: %FOO% pause echo on Which, as expected, results in: FOO: 1 Press any key to continue . . . However, if I place the same two lines…
Brown
  • 1,682
92
votes
2 answers

Creating ext4 partition from console

I have a volume /dev/sda1 (1.2 TB) containing an NTFS partition using 0.6 TB space. I want to make an ext4 partition in the remaining 0.6 TB space. I have not tried anything yet because I don't want to risk losing data if I hit a wrong command. (I…
Daniel W.
  • 2,048
92
votes
8 answers

Compose key on Windows

On Linux, the Compose key is a great way to enter many symbols. E.g. em-dash — by pressing Compose then - - - ö by pressing Compose then : o Euro € by pressing Compose then C = (The Compose key function can be assigned to various keyboard keys,…
92
votes
7 answers

Does this exist: software for noise cancellation

I'm aware that the best option for noise cancelling is to buy myself a pair of noise cancelling headphones... But is there any software available that would use the pc mic and headphones to block background noise?
Alterlife
  • 973
92
votes
3 answers

Does moving my router from 20MHz to 40 MHz increase my wireless speed?

I found out that my wireless access point supports dual band (LinkSys E3000), so I went to its settings and changed it from operating on 20MHz to 40MHz. Does this mean I get a faster WiFi connection now? Or have I misunderstood how this works?
Blake
  • 1,589
92
votes
11 answers

How do I disable "you need to format this disk" message in Windows Vista/7?

I've started using TrueCrypt to encrypt a partition on an external USB hard drive. I've opted for using a raw partition as opposed to a file container. But here's the annoyance. Whenever I connect this drive to a computer running Vista or Windows 7,…
Joe Attardi
  • 1,023