Linux basic commands for navigation

Basic Navigation

  • 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.
  • navigation, commands, directory, list, home
  • 1 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How to connect via SSH

Connecting to Your Server (SSH) The first step is to connect to your server using SSH (Secure...

File Management

File Management (As User) Using SSH mkdir new_directory     --Make Directory. Creates a new...

Managinfg Your Seedbox (Deluge, rsync etc.)

Typically, you won't directly interact with Deluge or ruTorrent via the command line for...

Managing Your VPS

These commands are more relevant when you have a VPS, giving you more control over the system....

Rootless DOCKER

Rootless Docker (Basic) You can manage Docker containers without needing sudo systemctl --user:...