Exploring values.
--- a/bash.rst Wed Jul 04 21:16:15 2018 +0300
+++ b/bash.rst Mon Jul 09 00:56:42 2018 +0300
@@ -53,4 +53,21 @@
http://wiki.bash-hackers.org/scripting/bashchanges
This article is an incomplete overview of changes to Bash over the time.
+Exploring values
+================
+Display all or specific variable declarations::
+
+ $ declare -p
+ $ declare -p NAME1 NAME2
+
+Display defined functions::
+
+ $ declare -F
+ $ declare -F NAME1 NAME2
+
+Display function body::
+
+ $ declare -f NAME
+
+