Porting Windows to Linux
MS-DOS to bash #
Recently I was googling around, and come into some code written for Windows only, or at least using Windows filepaths.
Most of the difference lies in changing out a forward slash for a back slash.
if exist #
These are all MSDOS commands that I had to convert to bash ones.
The corresponding ones are:
if exist doesn't need a corresponding command, because if if bash doesn't
find anything, then the command just isn't executed.
Stays the same!
The hidden one #
One difference I wasn't able to just see immediately was