Most Popular

1500 questions
106
votes
5 answers

What is the difference between Symbolic Link and Shortcut?

What is the difference between a Symbolic Link and a Shortcut?
deepthi tm
  • 1,061
106
votes
4 answers

How to remove executable bit recursively from files (not directories)

When I plug-in an USB stick (FAT) into my Mac or Ubuntu machine, all files have the executable bits set. After having copied the directory structure to my hard disk how do I remove the executable bits recursively just from the files and keep those…
Mike L.
  • 5,937
106
votes
4 answers

Docker on Hyper-V vs WSL 2

I'm using Docker Toolbox, recently I got to know about the Docker installation using WSL 2. What are the differences between Hyper-V and WSL 2? Which has better performance?
Vinod Sai
  • 1,161
106
votes
5 answers

have Powershell get-childitem return files only

I'd like to use get-childitem recursively, but only have it return files not directories. The best solution I have just doesn't seem natural: gci . *.* -rec | where { $_.GetType().Name -eq "FileInfo" }
Frank Schwieterman
  • 1,445
  • 3
  • 12
  • 20
106
votes
12 answers

Windows 10 deletes lots of tiny files super slowly. Can anything be done to speed it up?

I work with tens of thousands 20 kB JPEG files in batches which add up to gigabytes. When I try to delete an old batch, Windows 10 has a very low delete rate which sometimes even drops to zero for some reason: Is this just a fact of life for the…
106
votes
10 answers

Why do people use GPUs for high-performance computation instead of a more specialized chip?

From my understanding, people began using GPUs for general computing because they are an extra source of computing power. And though they are not a fast as a CPU for each operation, they have many cores, so they can be better adapted for parallel…
Plutoro
  • 1,071
106
votes
8 answers

How can I view results of my cron jobs?

I see so many guides on how to run crontab, but what I need right now is to learn how to Find log files about cron jobs Configure what gets logged
Zombies
  • 3,972
105
votes
7 answers

How to extract subtitle from video using ffmpeg?

I am trying to extract subtitle from video as .srt file, I used the following command: ffmpeg -i mytestmovie.mkv -vn -an -codec:s:0.1 srt sub.srt But, I got an error as Unrecognized option codec:s:0:1 So, can you tell me the exact command and how…
vijay
  • 1,061
105
votes
1 answer

What are the differences between H.264 Profiles?

I was rendering a video in After Effects CS5 and when I was formatting it I chose the H.264 codec and in that format, it had a profile with Baseline, Main and High. So I did a little test – rendering both files with Baseline and High. The only thing…
James
  • 1,235
  • 3
  • 11
  • 10
105
votes
7 answers

How does the Windows RENAME command interpret wildcards?

How does the Windows RENAME (REN) command interpret wildcards? The built in HELP facility is of no help - it doesn't address wildcards at all. The Microsoft technet XP online help isn't much better. Here is all it has to say regarding…
dbenham
  • 11,794
105
votes
13 answers

Remote desktop use two out of four monitors

I've recently upgraded my home workstation and now have four monitors on it. I work remotely most of the time and need some way to get remote desktop onto only two of those four monitors. The top two monitors (monitors 4 & 3, going from left to…
William Gant
  • 1,051
105
votes
8 answers

Deleting a specific URL suggestion in Chrome

In Firefox, I can use Shift+Delete to delete a single item from the URL history (the URL suggestions). How can I delete a specific mistyped URL item (only one) from the history in Google Chrome, so it won't show up as a suggestion?
takeshin
  • 2,243
105
votes
9 answers

What is the equivalent of Linux's "~" (tilde) shell expansion to home directory in Windows?

In Linux, we can go to the user home by entering the tilde (~) character after cd: cd ~ How to do the same in Windows? Each time, I need to type: cd C:\Document and Settings\freewind That's too boring.
Freewind
  • 1,927
105
votes
11 answers

How should I set the PATH variable on my Mac so the Hombrew-installed tools are found?

Trying to set up Homebrew on a new Mac (on previous Macs I would install packages from source). The first package I tried to install was Git: $ brew install git Installation went OK, but which git still shows the one in /usr/bin/git that came along…
Meltemi
  • 7,097
  • 11
  • 33
  • 30
105
votes
8 answers

Why does chown report "Operation not permitted" on OS X?

I am trying to do the following on my Mac (10.6.7): sudo chown myusername:wheel ./entries but Unix/Mac is returning "Operation not permitted". When I ls -lash the culprit file, it looks as follows: 8 -rwxrwxrwx 1 myusername staff 394B Apr 26…