Answer by Sergiy Kolodyazhnyy for What's the difference between shell builtin...
The command-line manual that comes with Ubuntu doesn't give a definition of keywords, however the online manual (see sidenote) and POSIX Shell Command Language standard specifications, refer to these...
View ArticleAnswer by gniourf_gniourf for What's the difference between shell builtin and...
There's a strong difference between a builtin and a keyword, in the way Bash parses your code. Before we talk about the difference, let's list all keywords and builtins:Builtins:$ compgen -b. : [ alias...
View ArticleAnswer by Sparhawk for What's the difference between shell builtin and shell...
man bash calls them SHELL BUILTIN COMMANDS. So, a "shell builtin" is just like a normal command, like grep, etc., but instead of being contained in a separate file, it's built into bash itself. This...
View ArticleWhat's the difference between shell builtin and shell keyword?
When I run these two commands, I get$ type cdcd is a shell builtin$ type ifif is a shell keywordIt is clearly shown that cd is a shell builtin and if is a shell keyword. So what is the difference...
View Article