System inspection
Commands like uname, hostname and date help administrators identify Linux versions, server names and environment details.
Linux · Basic Commands
Linux · Lesson 3
Daily use Solaris terminal commands for system administrators. File operations, navigation and system information commands. Difference between Linux and Solaris behavior. Practical production examples.
Before working with Linux users, services, networking or shell scripting, you must first become comfortable with the Linux terminal and essential command-line tools.
In this lesson, you will learn how to inspect Linux system information, move between directories, read files and check storage usage using safe beginner-friendly commands.
These commands are the foundation for almost every Linux administration and DevOps task you will perform later.
Commands like uname, hostname and date help administrators identify Linux versions, server names and environment details.
Commands such as pwd, ls and cd allow you to safely move through Linux directories and inspect files.
Utilities like which, tty and bc improve command-line efficiency, troubleshooting and scripting workflows.
The following examples demonstrate a realistic Linux terminal workflow. Practice every command carefully and observe how the shell prompt and command outputs change.
Use uname to identify the Linux kernel version, hostname and hardware platform.
pwd shows the exact directory your current terminal session is using.
Use the date command to verify current server time and timezone settings.
The ls command displays files and folders inside the current directory.
Use cd to move through the Linux filesystem hierarchy safely.
The cat command quickly displays text files directly inside the terminal.
df -h displays mounted filesystems and available disk space in human-readable format.
bc provides simple arithmetic operations directly from the terminal.
which identifies the binary that will execute when a command is entered.
tty displays the pseudo-terminal device attached to the active session.
The hostname command identifies the Linux server on a network.
Instead of memorizing commands randomly, it is better to group them by purpose. Most Linux commands fit into one of the following categories.
Commands such as uname, date and hostname help identify kernel versions, time settings and server identity.
Commands like pwd, ls and cd are used for navigating directories and viewing filesystem contents.
Commands such as cat, more, less and tail help administrators inspect configuration files and logs safely.
The man command provides built-in Linux documentation and usage details for most commands.
uname -a,df -h and ps -ef | head to better understand your Linux environment.man command for at least three commands, such as man ls, man df andman ps.In the next lesson, you will build on these commands while learning Linux user and group management.