Linux Basic Commands and Their Meanings
-
pwd (Print Working Directory)
Shows the absolute path of the directory you are currently in. -
cd (Change Directory)
Navigates between directories in the Linux file system. -
ls (List)
Displays the files and directories within a specified location. -
cat (Concatenate)
Outputs the contents of a file and can be used to create or merge text files. -
cp (Copy)
Copies files or directories from one place to another. -
mkdir (Make Directory)
Creates a new directory. -
rmdir (Remove Directory)
Removes an empty directory.
For directories containing files, userm -r. -
mv (Move)
Moves files or directories, or renames them. -
locate
Searches for files using an indexed database for faster results. -
sudo (Superuser Do)
Executes commands with elevated (administrator) privileges. -
head
Displays the first several lines of a file, showing the first 10 lines by default.

No comments:
Post a Comment