Here are some common terminal commands you can use in a Linux environment:
-
pwd: Prints the current working directory.pwd -
ls: Lists files and directories in the current directory.ls -
cd: Changes the current directory.cd /path/to/directory -
mkdir: Creates a new directory.mkdir new_directory -
rm: Removes files or directories.rm file.txt -
cp: Copies files or directories.cp source.txt destination.txt -
mv: Moves or renames files or directories.mv oldname.txt newname.txt -
sudo: Executes a command with administrative privileges.sudo apt update -
clear: Clears the terminal screen.clear -
man: Displays the manual for a command.man ls
These commands are essential for navigating and managing files in the terminal. If you need more specific commands or examples, let me know!
