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

𝐀𝐩𝐫𝐢𝐥 𝟐𝟎𝟐𝟔 𝐌𝐢𝐜𝐫𝐨𝐬𝐨𝐟𝐭 𝟑𝟔𝟓 𝐂𝐡𝐚𝐧𝐠𝐞𝐬

Beyond the seasonal change, April brings over 𝟑𝟎 feature rollouts, retirements, and service updates. Here’s what you need to know. 𝐈𝐧 𝐭...