

A program like ssh might store configuration files in /etc/ssh or might store it in just /etc you have to find out on your linux system where it is.Īnd even one linux version depending on how it is configured, a script might not be compatible with both. apt-get and one distribution of linux gets the program from one depository, another gets it from another depository, as it should, but there could be differences in the programs. For example, you could install a program on it with e.g. sh (see this answer for details).Įven various linux versions aren't compatible with one another.

However, if you want to start them from outside Bash, you'd better make them end with.
Cygwin install pdfinfo how to#
has pointed out how to make sure it is installed.Īs for your second question, extension doesn't matter as long as you start your scripts from Bash (it relies on execute permission and shebang line). I believe, there is a cygwin version of ifconfig, and even though it most likely would not work to update configuration, it should work fine to print it. On the other hand, ifconfig is quite OS-specific and is a part of net-tools project, which hasn't been updated since 2001 and is deprecated since 2004. Some things, which are less specific for OS kernel, work mostly the same way, and Bash is one of them.

Windows = NT kernel + user-space utilitiesīecause of fundamental differences between NT and Linux kernels you cannot count with your scripts working unmodified on Windows.Linux distribution = Linux kernel + user-space utilities (bash, ifconfig etc.).
