Linux Commands Reference - Complete Linux Command Guide
Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.
printenv
Print environment variable values
Syntax
printenv [OPTION]... [VARIABLE]...Common Options
-0Null-delimited outputVARIABLEShow only specified variableCommon Examples
printenvShow all environment variables
printenv PATHShow PATH variable
printenv HOME USER SHELLShow multiple variables
printenv | grep JAVASearch JAVA variables
printenv -0 | xargs -0 -n1Show vars one per line
if printenv CI > /dev/null; then echo "CI"; fiCheck if variable exists
Related Tools
More Code & Dev Tools
JavaScript Formatter
Format and beautify JavaScript code online. Improve code rea...
Code Minifier
Minify HTML, CSS, and JavaScript code. Reduce file size by r...
Timestamp Converter
Convert between Unix timestamp and human-readable date. Supp...
Cron Expression Generator
Generate and validate Cron expressions online. Convert Cron ...
WebSocket Tester
Test WebSocket connections and messages in real-time. Connec...
Color Contrast Checker
Check color contrast ratios for WCAG compliance. Ensure acce...
CSS Formatter
Format and minify CSS online. Beautify CSS code or compress ...
HTML Formatter
Format and minify HTML online. Beautify HTML code or compres...
HTTP Status Codes
Reference guide for HTTP status codes. Learn the meaning of ...
Code Formatter
Format and beautify code online. Support multiple languages ...
Regex Cheatsheet
Quick reference for regular expression patterns. Character c...
Git Cheatsheet
Quick reference for common Git commands. Search, copy, and u...