Print the current directory.
The first need Go installed, then you can use the below
command to install pwd
.
go install github.com/no-src/pwd@latest
Or manually compile and reduce the size of the program.
mkdir -p $GOPATH/src/github.com/no-src
cd $GOPATH/src/github.com/no-src
git clone https://github.com/no-src/pwd.git
cd pwd
go build -ldflags="-s -w"
wget https://github.com/upx/upx/releases/download/v4.0.2/upx-4.0.2-amd64_linux.tar.xz
tar -xvf upx-4.0.2-amd64_linux.tar.xz
./upx-4.0.2-amd64_linux/upx pwd