Difference between revisions of "Linux basic commands for navigation"
From Pulsed Media Wiki
(Created page with "'''pwd''' --Print Working Directory. Shows you the current directory you are in. '''ls''' --List. Displays the files and directories in the current directory. '''ls -l'''...") |
(No difference)
|
Latest revision as of 17:19, 17 April 2025
pwd --Print Working Directory. Shows you the current directory you are in.
ls --List. Displays the files and directories in the current directory.
ls -l --Lists files and directories with more details (permissions, owner, size, date).
ls -a --Lists all files and directories, including hidden ones (those starting with a .).
cd directory_name --Change Directory. Moves you into the specified directory.
cd .. --Moves you one directory up.
cd ~ --Returns you to your home directory.
./command --Executes a file named command in the current directory.