Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

echo --version doesn't works

Tags:

linux

echo

how can i know version of echo command as specified in the man page for echo echo --version should output version of echo command is it a bug in echo command or its documentation.. plz explain.. same is the case with echo help!!

like image 507
sud03r Avatar asked Dec 10 '22 20:12

sud03r


1 Answers

You are probably hitting the shell builtin echo. Try using the real program

/bin/echo --version

For a help section of the builtin echo, try

help echo

And for its manpage, try

man bash

If you are using the bash as your shell

like image 152
Johannes Schaub - litb Avatar answered Dec 30 '22 07:12

Johannes Schaub - litb