#uname
Kernel and system
uname [-a]uname -aKernel version, host name and architecture
uname -mJust the architecture (x86_64, aarch64)
Before you fix a server, you need to know what it is. In this video, you'll learn the commands that show the system's version, how long it has been running, its memory and its processor. All live, on a real Ubuntu server, with SSH Command. We're connected, with the Shell view open. Start with the operating system. head -n 4 /etc/os-release shows the Linux distribution and its version. This is Ubuntu 24.04, long-term support. uname -a prints the kernel: its name, the host name, the kernel version, and the processor type. x86_64 means a normal 64-bit Intel or AMD machine. hostname prints just the name of the server. uptime tells you how long the server has been running, how many users are logged in, and the load average. Those three numbers are the load over the last one, five and fifteen minutes. Close to zero means the server is idle. uptime -p says it in plain words. date prints the current date and time on the server. Check it when logs and clocks disagree. free -h shows memory. total is the installed RAM. used is what programs are using. available is what is still free for new programs, and it's the number to watch. Swap is disk space used as overflow memory, and zero means none is set up. nproc prints the number of processor cores. lscpu has the details, such as the model, and here we filter it with grep. And in SSH Command, the search bar lists these commands with their options. Type uname, and copy one. That's the system info toolkit: os-release and uname for what it is, uptime and date for time, free for memory, and nproc and lscpu for the processor. The full guide is at sshcommand.com, under system commands. SSH Command is free for personal use. The link is in the description. Thanks for watching.
unameKernel and system
uname [-a]uname -aKernel version, host name and architecture
uname -mJust the architecture (x86_64, aarch64)
uptimeHow long it has been running
uptimeuptimeTime up, users, and the load average
hostnameServer name
hostname [-I]hostnameThe server's name
hostname -IIts IP addresses
dateDate and time
date [+format]dateCurrent date and time
date +%Y-%m-%d2026-10-10 style date, good for file names
date -uUTC time
lscpuCPU details
lscpulscpuModel, cores and speed
lsb_releaseDistribution name
lsb_release -acat /etc/os-releaseWorks on nearly every distribution
lsb_release -aDebian and Ubuntu style
dmesgKernel messages
sudo dmesg [-T]sudo dmesg -T | tailRecent hardware and driver messages with readable times
lsofOpen files and ports
sudo lsof [options]sudo lsof -i :80Which program uses port 80
sudo lsof -u aliceEverything user alice has open
historyCommands you typed before
historyhistoryNumbered list
history | grep sshFind an earlier command
!123Run command number 123 again
env / printenvEnvironment variables
printenv [name]printenv HOMEShow one variable
envShow all of them
lspci / lsusbHardware lists
lspci | lsusblspciDevices on the PCI bus
lsusbUSB devices
SSH Command is a desktop app for Mac, Windows and Linux that puts a real terminal, SFTP file panes, a sudo switch and a searchable Linux command finder in one window. Type what you want to do, and send the command to your server with one click.
Download free Windows commands with examples SFTP & FTP client