Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tail command not found #625

Closed
hyperfocusaurus opened this issue Sep 7, 2015 · 5 comments
Closed

tail command not found #625

hyperfocusaurus opened this issue Sep 7, 2015 · 5 comments

Comments

@hyperfocusaurus
Copy link

λ tail
tail : The term 'tail' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • tail
  • - CategoryInfo          : ObjectNotFound: (tail:String) [], CommandNotFoundException
    - FullyQualifiedErrorId : CommandNotFoundException
    
    

I have Cmder and Cmder\bin in the system path (not my user's path but that shouldn't matter), and the posh-git installation seemed to go fine (I get the git branch indicator at the end of the prompt, for example, and I can use 'git').

What could be wrong?

@Stanzilla
Copy link
Member

The UNIX commands in cmder are actually the ones provided by msysgit (now: git for windows) if you don't have that installed, they will not work.

@hyperfocusaurus
Copy link
Author

I do have git for windows installed, and did have when I filed this issue.

I have solved the problem for myself by adding C:\Program Files (x86)\Git\bin to my system path, but I'm a tad worried about conflicts with builtin Windows utilities. If I have problems, I'll revisit my solution.

@Stanzilla
Copy link
Member

Ah great, I already fixed my fork of cmder regarding PATH and also updated to the latest version of Git for Windows, if you want to test it, you can find it here https://github.com/Stanzilla/cmder/releases/tag/1.2.5

@hyperfocusaurus
Copy link
Author

Nice :) I'll check it out later today if I get time.

@arnisjuraga
Copy link

In my case, tail.exe is located under Git\usr\bin folder.
Try both paths:

C:\Users\---username---\AppData\Local\Programs\Git\usr\bin                 <----tail.exe is here
C:\Users\---username---\AppData\Local\Programs\Git\mingw64\bin\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants