🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › basic-linux-commands
25 Basic Linux Commands - GeeksforGeeks
2 weeks ago - The ln command in Linux is used to create links between files. Creates shortcuts to files. Supports hard and soft links. ... The ln command creates a symbolic link.
🌐
Reddit
reddit.com › r/linuxmint › basic linux commands to get you started.
r/linuxmint on Reddit: Basic Linux Commands to Get You Started.
May 18, 2025 -

Many new users probably found Linux after watching a YouTube video. So here are few commands you should be familiar with when starting :)

Navigating the Filesystem

  • cd [folder] – move into a directory

  • cd .. – go up one level

  • pwd – show current directory path

  • ls – list files and folders in the current directory

  • ls -a, ls -l – list all files (including hidden), or display details

Creating & Managing Files and Folders

  • mkdir [folder_name] – create a new directory

  • touch [file_name] – create an empty file

  • rm [file] – delete a file

  • rm -r [folder] – delete a directory and its contents

  • cp [source] [destination] – copy files or directories

  • mv [source] [destination] – move or rename files and folders

Installing & Updating Software (APT-based systems like Linux Mint/Ubuntu)

  • sudo apt update – refresh the package list

  • sudo apt upgrade – upgrade all upgradable packages

  • sudo apt install [package_name] – install a package

  • sudo apt remove [package_name] – uninstall a package

  • apt list --upgradable – list packages that can be upgraded

System Info & Utility Commands

  • clear – clear the terminal screen

  • df -h – show disk space usage in a human-readable format

  • free -h – display memory usage

  • uname -a – display detailed system information

  • history – list previously used commands

Extra Tools (Optional but Useful)

Neofetch – Display system information in a clean, visual format

  • Install with: sudo apt install neofetch

  • Run with: neofetch

Tree – Show directory structure as a tree in the terminal

  • Install with: sudo apt install tree

  • Run with: tree

  • Tip: Running tree from the home directory (cd ~) will print the entire file structure under your user.

These are the most basic things you should know when entering the world of Linux. Of course, there are many more useful commands, so feel free to add any that you think would be helpful for beginners in the comments!

Discussions

Kali Linux Basic Commands!
These are mostly just Linux commands In general... 90% of them work on Debian based, rhel based, fedora, arch based etc etc More on reddit.com
🌐 r/Hacking_Tutorials
25
788
November 23, 2019
Basic Linux Commands
Most useful command for a beginner is "sudo !!" If you forget to type sudo just type sudo !! and it will resend your last command as sudo. Saved me so much typing. More on reddit.com
🌐 r/linux
203
2898
March 23, 2019
Linux Basic Commands Every User Should Know
Let’s say you’re in /home/username/Documents and you want to go to Photos, a subdirectory of Documents. To do so, simply type the following command: cd Photos. with the same directories as above (/home/username/Documents/Photos), but you are in /home/username and you want to get to the Photos the directory, is there no short cut? Do you always need to type the relative path cd Documents/Photos? More on reddit.com
🌐 r/commandline
3
27
December 6, 2020
50 Most Frequently Used UNIX / Linux Commands (With Examples)

Also use this site :)

More on reddit.com
🌐 r/linux
15
59
July 9, 2009
People also ask

How Do You Write Commands in Linux?
To write commands in Linux, you first need to open up the Linux terminal. You then simply type in the commands, many of which are explained above
🌐
hackr.io
hackr.io › home › articles › cloud, devops & systems
Top 25 Basic Linux Commands for Beginners [Recommended]
How Do I Get a List of All Commands in Linux?
Type compgen -c to get a list of all commands that you can run. You’ll see the list of commands one after the other.
🌐
hackr.io
hackr.io › home › articles › cloud, devops & systems
Top 25 Basic Linux Commands for Beginners [Recommended]
What are Shell Commands?
A shell is the command interpreter in Linux. By entering certain Linux terminal commands, you can perform specific tasks and work with operating system services.
🌐
hackr.io
hackr.io › home › articles › cloud, devops & systems
Top 25 Basic Linux Commands for Beginners [Recommended]
🌐
Ubuntu
ubuntu.com › tutorials › command-line-for-beginners
The Linux command line for beginners | Ubuntu
Try taking a brief look at the pages for some of the commands you’ve already encountered: man ls, man cp, man rmdir and so on. There’s even a man page for the man program itself, which is accessed using man man, of course.
🌐
Hackr
hackr.io › home › articles › cloud, devops & systems
Top 25 Basic Linux Commands for Beginners [Recommended]
December 22, 2025 - A comprehensive list of basic Linux commands for beginners. Includes syntax examples and permission guides. Includes examples, shortcuts, and things to watch out for.
🌐
DigitalOcean
digitalocean.com › community › tutorials › linux-commands
50+ Essential Linux Commands: A Comprehensive Guide | DigitalOcean
April 8, 2025 - The basic syntax of the command is as below. root@ubuntu:~ service ssh status root@ubuntu:~ service ssh stop root@ubuntu:~ service ssh start · As you can see in the image, the ssh server is running on our system. ... The ps, kill, and killall commands are all used to manage processes in Linux.
🌐
LinkedIn Open Source
linkedin.github.io › school-of-sre › level101 › linux_basics › command_line_basics
Command Line Basics - School Of SRE
The sort command sorts the content in lexicographical order. The content of the file will not change in the above example. Each open file gets assigned a file descriptor. A file descriptor is an unique identifier for open files in the system. There are always three default files open, stdin (the keyboard), stdout (the screen), and stderr (error messages output to the screen). These files can be redirected. Everything is a file in Linux - https://unix.stackexchange.com/questions/225537/everything-is-a-file
Find elsewhere
🌐
Linux Foundation
training.linuxfoundation.org › home › sys admin › introduction to linux (lfs101)
Introduction to Linux (LFS101) - Linux Foundation - Education
September 10, 2020 - This course explores the various tools and techniques commonly used by Linux system administrators and end users to achieve their day-to-day work in a Linux environment. You will gain a good working knowledge of Linux and learn how to navigate through major Linux distributions, system configurations and graphical interface of Linux, basic command line operations, common applications of Linux, and more.
🌐
TecMint
tecmint.com › home › 100+ essential linux commands for every linux user
100+ Essential Commands to Learn Linux Like a Pro
July 11, 2025 - Learning essential Linux commands will help you to perform various basic and system administrative tasks easily and effectively from the Linux command line.
🌐
SupportHost
supporthost.com › linux-commands
30 most used linux commands you need to know - SupportHost
May 15, 2024 - In this tutorial, we will learn how to use 30 indispensable Linux commands for those approaching shell and terminal interaction for the first time. We’ll start with the basics to answer the most common questions: what is a shell, how do I enter commands, and what keyboard shortcuts can I ...
🌐
Contabo
contabo.com › home › linux commands: basic syntax, consistency & challenges
Linux Commands: Basic Syntax, Consistency & Challenges | Blog
April 2, 2024 - This tutorial explains Linux commands, their basic syntax, and purposes. We also look at consistency across different Linux distributions.
🌐
SUSE
suse.com › < back to blog
Working with the Command Line: Basic Linux Commands | SUSE Communities
July 8, 2024 - For beginners, it’s recommended to install Linux with a GUI interface – in our case it is KDE. All examples are of course based on openSUSE Leap 42.3. You can press the windows key on your keyboard. Type “Terminal” in the popup search box, then click the icon with a “Terminal” title. OK, that was easy, now you have a running terminal. Let’s see what you can do with it! And always remember that lower case and capital letters matter when typing commands.
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › linux commands cheat sheet {with free downloadable pdf}
Linux Commands Cheat Sheet {with Free Downloadable PDF}
May 8, 2025 - The table below shows various process-related commands to help manage Linux processes. Note: If you want to learn more about shell jobs, how to terminate jobs or keep them running after you log off, check out our article on how to use disown command. Use the terminal to manage the system directly. The commands show how to view basic system information, change options, and reboot or restart the system.
🌐
Red Hat
redhat.com › en › blog › 20-essential-linux-commands-every-user
20 essential Linux commands for every user
November 25, 2025 - The nc command is an all-purpose network connection tool. ... And that's just a small sample. The Linux terminal is, in part, about creative problem-solving. When you learn commands, you're also learning building blocks you can use to create your own commands.
🌐
Hero Vired
herovired.com › learning-hub › blogs › linux-commands
Top 25 Basic Linux Commands List with Examples and Syntax
These include basic Unix commands such as ls, cat, cp, mv, grep, etc. We’ll also discuss some useful shortcuts that can help you take control of your system faster and more efficiently.
🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › linux-commands
Linux Commands - GeeksforGeeks
Command locations can be identified. Users can understand correct usage. Basic Linux Commands for day to day life · Daily life Linux Commands · Basic Shell Commands in Linux · Difference between grep and fgrep command · Running previous command with sudo ·
Published   January 12, 2026
🌐
The Odin Project
theodinproject.com › lessons › foundations-command-line-basics
Command Line Basics | The Odin Project
Use the command line to open a file or folder in a program. Open a terminal on your computer. Linux: Open the programs menu and search for “Terminal”. You can also open the terminal by pressing Ctrl + Alt + T on your keyboard.
🌐
Github
iitd-plos.github.io › col100 › references › Linuxppt.pdf pdf
Basic Linux Commands HPC Team
Basic Linux Commands · HPC Team ... of Commands · File and file system management: cat | cd | chmod | chown | chgrp | cp | du | df | file | fsck | ln | ls | lsof | mkdir | mount | mv | pwd | rm | rmdir | split | touch ·...
🌐
LinuxBlog
linuxblog.io › home › 90 linux commands frequently used by linux sysadmins (now 100+)
90 Linux Commands frequently used by Linux Sysadmins (Now 100+)
April 7, 2025 - 99. sed: A stream editor used to perform basic text transformations on an input stream (a file or input from a pipeline). 100. watch: Execute a program periodically, showing output full-screen. It’s useful for monitoring commands or scripts that update regularly. 101. crontab: Schedule commands to run periodically at fixed times, dates, or intervals with the cron daemon. 102. alias: Create an alias for Linux ...
🌐
TecMint
tecmint.com › home › linux commands › level up linux: 20 must-know commands for newbies
20 Must-Know Terminal Commands for New Linux Users
January 29, 2024 - The basic email/web guys would like more graphical style stuff though I think. It’d be neat if there was a side by side comparison of the command line and graphical tool (if available). Reply ... @ ken sudo apt-get remove ubuntu is ok. but if you mean sudo apt-get remove linux or yum remove linux then dear i have to ask you, what the hell are you doing here ?
🌐
Zentyal
zentyal.com › home › news › top 100 linux commands every sysadmin should know
Top 100 Linux Commands Cheat Sheet [With examples]
August 27, 2024 - User and permission management commands are fundamental for controlling access to your Linux server. These commands allow you to create, modify, and manage user accounts, groups, and permissions, ensuring that only authorized users can access specific files and perform certain actions. Usage: useradd [options] username / adduser [username] Description: useradd and adduser are used to create new user accounts. While useradd is more basic, adduser is a friendlier, interactive script that prompts you to enter user details like password, home directory, and shell.