Quantcast
Channel: What's the difference between shell builtin and shell keyword? - Ask Ubuntu
Browsing latest articles
Browse All 4 View Live

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 Article



Answer 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 Article

Answer 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 Article

What'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
Browsing latest articles
Browse All 4 View Live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>