Saturday, December 27, 2025

Linux Basic Commands - Definitions

Linux Basic Commands and Their Meanings

  1. pwd (Print Working Directory)
    Shows the absolute path of the directory you are currently in.

  2. cd (Change Directory)
    Navigates between directories in the Linux file system.

  3. ls (List)
    Displays the files and directories within a specified location.

  4. cat (Concatenate)
    Outputs the contents of a file and can be used to create or merge text files.

  5. cp (Copy)
    Copies files or directories from one place to another.

  6. mkdir (Make Directory)
    Creates a new directory.

  7. rmdir (Remove Directory)
    Removes an empty directory.
    For directories containing files, use rm -r.

  8. mv (Move)
    Moves files or directories, or renames them.

  9. locate
    Searches for files using an indexed database for faster results.

  10. sudo (Superuser Do)
    Executes commands with elevated (administrator) privileges.

  11. head
    Displays the first several lines of a file, showing the first 10 lines by default.




No comments:

Post a Comment

Apple Account-Driven User Enrollment Guide

Set Up Account-Driven Apple User Enrollment for Microsoft Intune. This guide explains how to configure account-driven Apple User Enrollment ...