Magenaut

Magenaut

A blog about Magento Development, Magento bug fixing, and more

Skip to content
Menu
  • Home
  • Notes
  • Tutorial
  • Bug fixing
  • Extension
  • Server
  • Q&A
  • About

Tag: shell-builtin

Q&APosted onAugust 8, 2022

Is there a bash builtin command which can show the environment variables of the current shell?

env and printenv are both external commands i.e. executable files, not bash builtins.
The problem with them is that some environment variables (such as _, and I also wonder if there are more) which they output don’t belong to the shell which invokes them, see here.

Read More
Q&APosted onAugust 8, 2022

Slightly confused about whether printf in the yash shell is a built-in command or not

The yash shell has a printf built-in, according to its manual.

Read More
Q&APosted onAugust 8, 2022

How to distinguish between builtin and external util? (e.g. echo)

Some commands are provided as both builtins and external utilities. Take echo for example. On my machine (macOS) running Bash 3.2,

Read More
Q&APosted onAugust 7, 2022

What’s the difference between eval and exec?

eval and exec are both built in commands of bash(1) that execute commands.

Read More
Q&APosted onAugust 6, 2022

Use case / practical example for Bash’ builtin exec

Consider this from the documentation of Bash’ builtin exec:

Read More
Q&APosted onAugust 6, 2022

Why does POSIX require certain shell built-ins to have an external implementation?

From this question about whether printf is a built-in for yash, comes this answer that quotes the POSIX standard.

Read More

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 141 other subscribers

Recent Comments

  • anonymous on Fix libwacom9 dependency issue when upgrade Debian
  • sreedhar on Fix libwacom9 dependency issue when upgrade Debian
  • saintnick on Fix libwacom9 dependency issue when upgrade Debian
  • ranafoul on Fix libwacom9 dependency issue when upgrade Debian
  • John Fro on UFW rule from a list of IPs

Tags

actions admin ajax bash block-editor categories command-line css custom-field custom-post-types custom-taxonomy customization database filters functions hooks images javascript linux loop menus metabox multisite pagination permalinks php plugin-development plugins post-meta posts rest-api security shell shell-script shortcode templates theme-development themes uploads url-rewriting user-roles users woocommerce-offtopic wp-admin wp-query

© Magenaut - The Magento Astronaut