bmatzelle / gow Goto Github PK
View Code? Open in Web Editor NEWUnix command line utilities installer for Windows.
Home Page: https://github.com/bmatzelle/gow/wiki
Unix command line utilities installer for Windows.
Home Page: https://github.com/bmatzelle/gow/wiki
This command works for network drives as well as local drives:
Example:
C:\WINDOWS>pushd \192.168.0.10\backup
Z:>
This package breaks cygwin if they are installed simultaneously. The cygwin launch process ends up loading the bash script in C:\Program Files\gow\bin. I believe this could be fixed by changing which bash the launcher loads, and making sure cygwin path is ahead of gow's path.
GNU Find is missing from Gow and it is available for windows.
I think it might need to be renamed GNUfind as it conflicts...
cvs won't start because MSVCR71.dll is missing
edit: Win7 64
While the Executables list says that wget 1.10.2 should be installed, actually wget 1.8.1 is installed.
Hi,
please consider this testcase :
-------------------------- start bashvarbug.sh ----------------------- #!/bin/bash # Hardcode variable A=10 B="characters" echo "A = $A" echo "We have $A $B" # 'Dynamically' set variable A=$(gawk 'END {print 10}' $0) echo "A = $A" echo "We have $A $B" ----------------------------------- end bashvarbug.sh -----------------------
Running this script using 'bash ./bashvarbug.sh' yields :
A = 10
We have 10 characters
A = 10
characters
Running the testcase on Linux produces the correct output..
Please confirm this issue, and hopefully fix it..
Have a nice day !
Hi all
I've a few hiccups to report.
I've installed Gow-0.5.0.exe from
https://github.com/bmatzelle/gow/downloads
First thing: I'm apparently running vers 0.4.0:
C:\Users\ben>gow --version
Gow 0.4.0
Second point: I've an immediate error each time I'm trying to access a
file or a dir: I'm running Windows 7 64-bit.
From a cmd.exe shell:
C:\Users\ben>bash
bash-2.03$ ls /Users*
Administrator Default Public ben
All Users Default User desktop.ini
[sig] C:\Program Files (x86)\Gow\bin\bash.exe 1000 (0) call_handler: couldn't get context of main thread, error 998
(after launching the shell all over again)
C:\Users\ben>bash
bash-2.03$ bash --version
GNU bash, version 2.03.0(1)-release (i386-pc-cygwin32)
Copyright 1998 Free Software Foundation, Inc.
[sig] C:\Program Files (x86)\Gow\bin\bash.exe 1000 (0) call_handler: couldn't get context of main thread, error 998
I've googled a bit with no luck so far. Gow looks to exactly fit the
bill (simple stable and efficient); could someone let me know what's going wrong here?
Kind regards
Ben
To avoid UAC prompt when running patch.exe on Windows 7 / Windows Server 2008 R2 as a user of the administrators group but not the administrator itself, we need to modify the manifest embedded in patch.exe, following the steps describe in:
http://math.nist.gov/oommf/software-patchsets/patch_on_Windows7.html
Tested and works for me. I believe gnuwin32 did the same.
If possible, please tell me how to collected all needed source and compile them. Thank you.
Thanks for the really nice alternative of cygwin, I'm really interested in gow. But, can git is should be included as one of your tool ?
Hey Guys,
Repeated attempts to use any of the following:
chmod a+x myfile.sh
chmod o+x myfile.sh
appear to do nothing. The file continues to have perms of rw-rw-rw. My filesystem is NTFS.
Rsync is a fantastic tool for mirroring directories and transfering files. You can find rsync on nearly all platforms.
Seems a shame not to include emacs when there are a lot of devs who don't like vim!
Changing this error to gnu coreutils.
Many of the gnu tools provided are very old.
http://gnuwin32.sourceforge.net/packages/coreutils.htm
That GnuWin package provides a range of updated packages including working df and du that supports --max-depth
Win 7 64, ran df, half-expected to get a list of file systems
got this:
df: cannot read table of mounted filesystems
same error in an elevated command prompt
Hi, I'd like to have the Command Prompt Here option when I right-click anywhere inside the window because I usually need to use cmd.exe when I am already in the good folder.
This is a recommendation from Bill Hoag.
I'd like to suggest adding a Getting Started section to the ReadMe.txt something like this:
GETTING STARTED
Define the HOME environment variable in the Windows environment variable set.
For example, you might set HOME to C:\Users\MyUserId.In your HOME directory, create a .bashrc to customize your bash environment.
Mine looks like this:
alias la='ls -aCF'
alias ll='ls -alCF'
alias ls='ls -CF'
alias up='cd ..'
alias up2='cd ../..'
alias up3='cd ../../..'
alias vi='vim'
alias rm='rm -iv'
alias mv='mv -iv'
alias cp='cp -ipv'
alias find='gfind'
export LS_COLORS='di=32:fi=0:ln=36:pi=5:so=5:bd=5:cd=5:or=31:mi=31:ex=93:*.rpm=90'Maybe this would be better as a FAQ or somewhere else?
The version number still displayed as version 0.4 after installed latest version 0.5.
There are a number of packages where newer versions are available from: GnuWin Packages
http://gnuwin32.sourceforge.net/packages.html
Is it possible to put the binaries on git-hub so that pull requests can be used by others to keep packages up to date?
Although putty is a great ssh client for windows it doesn't seem to fit as well into this project as some of the other tools. I use putty all the time from the GUI but sometimes CLI usage are just more convenient.
Couple things that just aren't quite right is lets say I do
putty [email protected], this will spawn the putty session in a new window. Is it possible to have it function more like ssh on *nix where the session will start in the same terminal window?
Also, I'm not sure if this is possible but with ssh on *nix if you don't specify a username when connecting to a client then your current account's user name is used. Can this be done as a default for Gow putty/ssh?
I'm guessing this is a false positive from sharing "Gow" with some versions of Win32.Banker, but it would be nice to see that verified and cleared up with eSafe.
I try to run 'bash' and then 'ls' but bash repeatedly crashes:
C:\Program Files (x86)\Gow\bin>bash
bash: //.bashrc: Invalid argument
bash-2.03$ ls z*
[main] C:\Program Files (x86)\Gow\bin\bash.exe 1000 (0) sync_with_child: child 1
492(0x148) died before initialization with status code 0xC0000005
[main] bash 1000 (0) sync_with_child: *** child state waiting for longjmp
bash: fork: No more processes
C:\Program Files (x86)\Gow\bin>
Is there some setup that I overlooked?
System is an Amazon EC2 instance of Windows Server 2008 R2 Datacenter, ami-75b5791c in the us-east-1a zone.
Regards,
A good terminal emulator would round this off nicely.
Hello there,
first, thanks for maintaining this. Very useful.
However, Secunia PSI complains about three of the executables shipping with 0.5:
At least cURL should be trivial to update. Thanks for looking into it!
The setup folder has two files. One is a *.nsi file which I've never heard of. The other is a *.vbs file which gives an error when opening.
How do I install it?
P.S. There are only about a half-dozen files in the entire zip file, which is named bmatzelle-gow-8dfd379.
the inclusion of awk in your project would be a nice complement to sed.
1,Lots of time we need to find out expected file(s).
2,By the way, I hope that you can do something change about "which.exe" in ver0.40.
If we input "which cmd" in console mode, we will get:
no cmd in <%PATH%>
If we input "which cmd.exe" in console mode, we can get the expected result:
C:\windows\system32\cmd.exe
Though there's no error in which command, I also hope that you will consider what I have requested.
I'd like how these executables were built. Or more specifically, how I can easily rebuild them myself...
Is there any chance to add dig to this package?
Since the MS-DOS Editor is no longer present in windows would it be possible to add nano/pico, there are windows binaries available at:
http://www.nano-editor.org/download.php
edit: the windows nano build uses cygwin dlls.
I think rsync would be a good addition to the tools included in gow.
Hi
Just found this really neat package, but I am missing the command whois.
Any chance it will be added?
Cheers,
Christer
Edit: my bad, I didnt see jwhois amongst the executables. Delete this issue :)
Hello,
would it be possible to include also GNU Screen?
Bye,
Martin
basename doesn't seem to work properly with windows back-slashed
basename c:\example\foo\bar returns the input: c:\example\foo\bar
is it possible to add gcc support, maybe mini-set ?
or good integration with cygnus ?
("probably it should be discussed somewhere? since I can't find it, post it again")
It would be great to be able to run commands as the administrator with out having to open an elevated command prompt. It seems that the run level command can mimic sudo behavior:
http://superuser.com/questions/42537/is-there-any-sudo-command-for-windows
This would be a really neat addition to gow, I think, and would make the unix workflow that much more complete.
Please consider adding axel/aria2/other to the collection, maybe as a replacement for wget. May not work if other apps in the collection have a hard dependency on wget.
Hello,
I'm running Windows 7 (fully updated as of today) 64 bit with GoW 0.4. I'm getting some errors and applications that are run within the bash shell crash after being run. Applications run directly from cmd work fine.
Steps to reproduce:
run-> CMD
bash
I'm not sure if this is a configuration thing or 64 bit breakage, but it would be cool if bash worked out of the box.
I can provide further debugging information if needed.
Offtopic, but this project is awesome and keep up the good work!
Is there any chance of adding netcat to the package?
Edit: There's a build here that seems to work: http://linhost.info/2011/05/netcat-in-windows-first-steps/
Title says it all.
Issue reported by jazhi:
I'm an new Gow user from China.And I use UnxUtils before.
Because UnxUtils was not updated years. And I'm so happy that When coming to Gow.
But there is a same bug in Gow as UnxUtils.
When files which has chinese character (not only name but also contents), result returend as "????".
Hopy that there will be plan that this issue can be fixed.
Thanks for that support to such an usefull software suite.
Is there a version of top for windows?
As more and more release use sha1sum as default identifying code, beyond md5sum.exe, we need sha1sum.exe too.
It does... I checked several times.
I thought I did not download the right installer, but I did .... :P
after installing Gow-0.5.0.exe
C:\WINDOWS>gow -V
Gow 0.4.0
C:\WINDOWS>
Can I install gow and msysgit in parallel or do they fight each other?
Or what is the best way to also have git available?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.