Tag Info

New answers tagged

0

That history hack is a really strange way to solve this problem, and it's pretty fragile. It won't work with some characters that are valid in Windows file names such as parentheses. There's a much easier way to use to a pasted Windows path. Instead of pasting it into the line editor, call the getclip utility (which is in cygutils-extra in recent versions ...


0

Since it's not in the cygwin ports, it's not. You should consider building it from source. EDIT Googling for gnu globals cygwin I found build instructions: http://sophie.zarb.org/distrib/PLD/ac/ppc/rpms/global/files/11 This source also lists the necessary dependencies.


1

Make sure that you are picking the correct netstat for your platform. which netstat will give you path where it is executing it from.


1

In shell scripting, there is only one data type. Everything is text. Different commands may variously interpret the text to suit their needs: $ [ "1" -eq "01" ] && echo yes || echo no yes $ [ "1" = "01" ] && echo yes || echo no no The first test interprets 1 and 01 as numbers (the second probably as an octal number). The second test treats ...


2

According to the POSIX standard, environment variables are just plain strings with no associated data types. However, as an extension, some shells like bash, ksh, ksh93, zsh and others allow their variables be typed, like being numeric, an array. Read-only variables or pre-formatted ones might also be supported. They are commonly typed with either the ...


0

you can follow through cygwin to install it, and know its shell by the shell instructions. Also here's a good resource to get started with learning learning linux commands.


0

Here are implementations of killall and pidof crafted for Cygwin. Depends on Python 2/ https://github.com/kata198/cygwin-ps-misc



Top 50 recent answers are included