Difference between revisions of "Printenv"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Draft}}
 
 
{{lc}}
 
{{lc}}
 +
<code>printenv</code> print all or part of environment.
 
* https://man7.org/linux/man-pages/man1/printenv.1.html
 
* https://man7.org/linux/man-pages/man1/printenv.1.html
  
Line 8: Line 8:
 
  [[kubectl exec]] -n your_namespace [[your-pod-name]] -- printenv
 
  [[kubectl exec]] -n your_namespace [[your-pod-name]] -- printenv
  
 
+
  [[docker exec]] [[CONTAINER_NAME]] [[env]]
 +
  docker exec CONTAINER_NAME [[printenv]]
  
 
== See also ==
 
== See also ==
 
* {{export}}
 
* {{export}}
* {{Linux}}
+
* {{env}}
  
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest revision as of 12:15, 14 March 2023

Advertising: