Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

I learned cd, ls, cp, mv, and rm early on. I still rely on what they taught me, but I type some of them less often because my everyday file work now happens through a graphical file manager or repeatable scripts. That is a change in my workflow, not evidence that Linux users in general abandon these commands.

Which five commands do I mean?

This is a personal list, not a definitive set of commands every Linux beginner learns first. In my case, the five were cd, ls, cp, mv, and rm: changing directories, listing files, copying, moving or renaming, and removing files or directories. Those tasks remain common; what changed for me was how often I perform them by typing a command.

There is also a technical distinction worth knowing: cd is a Bash builtin that changes the current shell directory. The other four are GNU utilities on systems that use GNU Coreutils, though Linux systems can use other implementations with different options or behavior. See the Bash manual and the GNU Coreutils manual.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why I type them less often

Graphical file work replaced some one-off commands

When I am moving a few documents or checking a folder, a graphical file manager is often more direct than opening a terminal. Dragging a file or clicking through a directory can be clearer when I need to see names and locations at a glance. That does not make the command-line version obsolete; it means I choose the interface that suits the task.

Scripts replaced repeated sequences

For work I perform repeatedly, I prefer a script or an existing tool that captures the steps rather than retyping the same sequence. The underlying operations may still rely on familiar utilities, but I am invoking the workflow as a whole instead of entering each command manually.

My tasks changed, not the commands’ value

How often a command appears in one person’s history says little about its usefulness to everyone else. Someone working in a terminal, managing remote files, or automating a task may type these commands frequently. I cannot infer a general usage pattern from my own routine.

What each command still teaches

Command What it does Why the idea remains useful
cd Changes the current directory in the shell. Understanding the working directory helps you interpret relative paths and know where a command will act.
ls Lists directory contents. Inspecting what is present is a basic way to orient yourself before acting on files.
cp Copies files or directories, depending on arguments and options. Knowing the source and destination matters whether you use a command, a file manager, or a script.
mv Moves or renames files or directories. It reinforces that a path identifies both a location and a target.
rm Removes files or directories, depending on arguments and options. It makes the consequences of selecting the wrong path especially important to understand.

GNU documents these file operations in its Basic operations chapter. The command name alone does not tell you everything: arguments, options, paths, and the shell environment affect what happens.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How to use file commands safely

Before running an unfamiliar command—or a familiar one with consequential targets—check what it will act on. A mistaken path can matter more than whether you remember the command perfectly.

  1. Confirm your location. Use pwd to print the current directory, and use ls if you need to inspect its contents.
  2. Read the command’s help or manual. Check the options available on your system with the command’s help output or its manual page, such as man cp. Do not assume every Linux implementation accepts the same options.
  3. Check every source and destination path. Before cp or mv, make sure you can identify what each path refers to and where the result will go.
  4. Take extra care with removal. Before rm, verify the target and any options. If you are not sure what a command will remove, stop and inspect the paths rather than running it to find out.

For command-line fundamentals, William Shotts’s The Linux Command Line is presented by its author as an introduction for new command-line users. The author-maintained site offers a free online edition, alongside information about the print book: LinuxCommand.org’s book page. No Starch Press lists the third edition as a print book published in February 2026: publisher’s third-edition page. A book can provide structure, but it is optional; the important thing is to understand the shell, paths, and effects of commands you choose to run.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.