Linux Commands Quick Reference Guide

By EssingtonITS team ·

This quick reference guide provides a concise overview of essential Linux commands, covering file operations, system management, and network configuration. Ideal for beginners and experienced users needing a refresher.

Command Description
pwd Displays the current working directory.
ls Lists the files in a given directory, e.g. ls –al
cd Changes the directory, e.g. cd /var/www/html
cp Copies files, e.g. cp file1 backup/file2
mv Moves/renames a file, e.g. mv file1 file1.bak
rm Deletes a file, e.g. rm file1
mkdir Creates a directory, e.g. mkdir backup
cat Displays the contents of given files, concatenating if multiple files given, e.g. cat /etc/fstab
more Pages longer documents across multiple screens, e.g. more hugefile
ln Makes links between files (like shortcuts), e.g. lnIn some systems this has been replaced by systemctl command service -s origfile /etc/link_to_origfile
find Searches the filesystem for files, e.g. find / -name file1
grep Powerful tool for searching within text, e.g. grep 'mysql' *.log
vi Text editor, e.g. vi /etc/resolv.conf
history Displays the past commands typed, e.g. history
tar Creates an archive of files, in most new versions it can also compress, e.g. tar czvf usera_hom.tgz /home/user1
chmod Change the permissions of a file, e.g. chmod 755 file1 (see file permissions later)
chown Change ownership of a file, e.g. chown root file1
chgrp Change the group ownership of the file, e.g. chgrp staff file1
df Displays disk space usage, e.g. df -h
du Displays file space usage, e.g. du -h -s /var
ps Displays a snapshot of the current processes, e.g. ps aux
top Displays the tasks running and their CPU/memory usage, e.g. top
ifconfig Configure a network device, e.g. ifconfig eth1 up
wget Gets a file via HTTP, e.g. wget http://www.awebsite.com/file.tgz
useradd Add a new user, e.g. useradd fred
userdel Deletes a user, e.g. userdel fred
passwd Changes the passwd for a user, e.g. passwd fred
rpm Package manager command, list/install/update/delete packages, e.g. rpm -qa
yum Update manager, e.g. yum update
man View manual pages for a given program, e.g. man ping
service Start/stop/check status of a running service, e.g. service httpd start
shutdown Shuts down or restarts the system, e.g. shutdown –h now

 

Looking to enhance your Linux infrastructure? At EssingtonITS.co.uk, we offer expert support and tailored solutions to optimise your systems. Let us help you achieve seamless integration and improved performance.

person people found this useful.

Related

Knowledge base 16 Oct 2026

Building a Windows 11 gold template

Learn how to create a Windows 11 gold template in Proxmox for VDI environments, allowing for efficient desktop pool management. This guide is aimed at engineers and includes steps for setting up, configuring, and testing the template.

Knowledge base 10 Oct 2026

eLLA - Settings, Options and Skills Reference

eLLA is a command-line assistant for system administration. It connects to an eLLM endpoint (any OpenAI-compatible API with tool calling), runs read-only diagnostics on its own, and asks for approval before it changes anything. This article lists every setting, command, option and bundled skill.

Knowledge base 23 Sep 2026

eSAM and exam regulations

eSAM addresses every requirement in JCQ Appendix 1 that software can address. The rest, who is sitting there, how the room is laid out, how many invigilators are watching stay with the centre, and eSAM tells you exactly which those are.

Expand 29 Jul 2026

How AI can support pupils with SEND

Explore how AI tools are aiding pupils with special educational needs and disabilities by simplifying text, breaking down tasks, and enhancing accessibility. Learn about the considerations schools should make before implementation.

Expand 29 Jul 2026

AI policy and practice in further education

Further education colleges need distinct AI policies due to their unique mix of vocational courses, diverse age groups, and specific funding and inspection requirements. This guidance highlights the importance of tailored AI approaches in FE settings.