Linux Commands Reference - Complete Linux Command Guide
Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.
pushd
Push directory onto stack and change to it
Syntax
pushd [DIRECTORY | +N | -N]Common Options
+NRotate stack, bring Nth to top-NRotate stack, bring Nth from bottom-nPush without changing directoryDIRECTORYChange to directory and push to stackCommon Examples
pushd /var/logPush /var/log onto stack
pushd +1Rotate stack to 2nd entry
pushd ~Push home directory
pushd ..Push parent directory
pushd -n /tmpPush /tmp without changing
pushd -Switch to previous directory
Related Tools
More Code & Dev Tools
API Tester
Test HTTP APIs online with support for GET, POST, PUT, DELET...
Color Extractor
Extract colors from images online. Get dominant colors and c...
XML Formatter
Format and minify XML online. Beautify XML code or compress ...
HTTP Status Codes
Reference guide for HTTP status codes. Learn the meaning of ...
Git Cheatsheet
Quick reference for common Git commands. Search, copy, and u...
Color Palette Generator
Generate harmonious color palettes online. Create color sche...
Color Contrast Checker
Check color contrast ratios for WCAG compliance. Ensure acce...
Color Converter
Convert between HEX, RGB, HSL color formats. Color picker wi...
CSS Gradient Generator
Generate CSS gradients online. Linear and radial gradients w...
SQL Formatter
Format and beautify SQL queries online. Improve SQL readabil...
IP Calculator
Calculate IP ranges, subnet masks, and CIDR notation. Networ...
JavaScript Obfuscator
Obfuscate and protect JavaScript code. Make your code harder...