36
submitted 2 years ago by Sunshine@lemmy.ca to c/linux@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] DmMacniel@feddit.org 7 points 2 years ago

just for the sake of being pedantic: echo is actually a program (just like ls) cd though is indeed a command. And I agree with your last statement.

[-] elmicha@feddit.org 6 points 2 years ago

echo is a program, but some shells like Bash and zsh also have a built-in echo. You can run type echo to verify that.

[-] DmMacniel@feddit.org 5 points 2 years ago

whelp... i tried to be pedantic and then got schooled. Thanks :D

[-] thingsiplay@beehaw.org 5 points 2 years ago

In Bash echo is a builtin command. The external indipendent /usr/bin/echo is only used by non Bash shells.

[-] DmMacniel@feddit.org 4 points 2 years ago

whelp... i tried to be pedantic and then got schooled. Thanks :D

[-] thingsiplay@beehaw.org 4 points 2 years ago

Well, you was not wrong though. Because it is both. I just forgot it, so you schooled me too. :-) We can have it all! :D

[-] DmMacniel@feddit.org 4 points 2 years ago* (last edited 2 years ago)

very sympathetic of you <3

this post was submitted on 23 May 2025
36 points (87.5% liked)

Linux

15522 readers
462 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS