Linux Commands Reference - Complete Linux Command Guide
Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.
su
Switch user
Syntax
su [OPTION]... [USERNAME]Common Options
-Simulate full login-cExecute specified command-sSpecify shell-lLogin shell simulation-mPreserve environmentCommon Examples
su -Switch to root
su - usernameSwitch to specified user
su -c "whoami" rootExecute as root
su -s /bin/bash usernameSpecify shell
su - postgresSwitch to postgres user
Related Tools
More Code & Dev Tools
Code Analyzer
Analyze code quality online. Check for errors, warnings, and...
Timestamp Converter
Convert between Unix timestamp and human-readable date. Supp...
IP Calculator
Calculate IP ranges, subnet masks, and CIDR notation. Networ...
Color Extractor
Extract colors from images online. Get dominant colors and c...
cURL Converter
Convert cURL commands to Python, JavaScript, PHP, Go, and mo...
JavaScript Formatter
Format and beautify JavaScript code online. Improve code rea...
XML Formatter
Format and minify XML online. Beautify XML code or compress ...
SQL Formatter
Format and beautify SQL queries online. Improve SQL readabil...
Code Minifier
Minify HTML, CSS, and JavaScript code. Reduce file size by r...
Timestamp Batch Converter
Convert multiple timestamps at once. Batch process Unix time...
Cron Expression Generator
Generate and validate Cron expressions online. Convert Cron ...
Code Share
Create and share code snippets online. Syntax highlighting a...