Loading Depth Study
Preparing your workspace
Basic command-line utilities provide direct ways to work with files, directories, and system information.
A small set of commands covers a large amount of daily development work. Commands such as pwd, ls, cd, mkdir, touch, cp, mv, rm, cat, less, and clear help developers navigate projects and inspect files. Understanding what each command does and checking its arguments before executing it is more important than memorizing many commands.
A developer can create a new folder, move into it, create a file, inspect the file, rename it, and remove it entirely from the terminal.
mkdir demo cd demo touch app.txt cat app.txt mv app.txt notes.txt ls rm notes.txt cd .. rmdir demo
The commands create a directory, create and inspect a file, rename it, remove it, and then remove the empty directory.