Linux Commands Reference - Complete Linux Command Guide
Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.
hostname
Show or set system hostname
Syntax
hostname [OPTION]... [NAME]Common Options
-aShow alias-dShow domain name-fShow FQDN-iShow IP address-IShow all IP addresses-sShow short hostnameCommon Examples
hostnameShow hostname
hostname -IShow all IP addresses
hostname -fShow FQDN
hostname newnameSet new hostname (temporary)
hostname -iShow IP for hostname
Related Commands
Related Tools
More Code & Dev Tools
Code Minifier
Minify HTML, CSS, and JavaScript code. Reduce file size by r...
Code Share
Create and share code snippets online. Syntax highlighting a...
API Tester
Test HTTP APIs online with support for GET, POST, PUT, DELET...
Code Formatter
Format and beautify code online. Support multiple languages ...
CSS Formatter
Format and minify CSS online. Beautify CSS code or compress ...
Timestamp Converter
Convert between Unix timestamp and human-readable date. Supp...
HTML Formatter
Format and minify HTML online. Beautify HTML code or compres...
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...
Timestamp Batch Converter
Convert multiple timestamps at once. Batch process Unix time...
SQL Formatter
Format and beautify SQL queries online. Improve SQL readabil...