Skip to content

rezNetDevOps/which

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go Path Lookup Utility

A minimal Go program that finds the full path of an executable in the PATH environment variable, similar to the UNIX which command.

Learning Tip: Implementing simple UNIX tools is a great way to learn Go.

Usage

Run:

go run main.go <filename>

Example:

go run main.go ls

If is found and executable, the program prints its full path.

Releases

No releases published

Packages

No packages published

Languages