`ls` - List files and directories in the current directory.
`ls -l` - List files with detailed information.
`ls -a` - List all files, including hidden files.
`cd /path/to/directory` - Change to the specified directory.
`cd ..` - Move up one directory level.
`cd ~` - Move to the home directory.
Displays the full path to the current directory.
`cp source destination` - Copy a file from source to destination.
`cp -r source_directory destination_directory` - Copy directories recursively.
`mv old_name new_name` - Rename a file or directory.
`mv file /path/to/destination` - Move a file to a different location.
`rm file` - Delete a file.
`rm -r directory` - Delete a directory and its contents recursively.
`rm -f file` - Force delete a file without confirmation.
`mkdir directory_name` - Create a new directory.
`rmdir directory_name` - Delete an empty directory.
`touch file_name` - Create an empty file or update the timestamp.
`cat file` - Show the content of a file.
`more file` - Display the content of a file, allowing paging.
`less file` - Display the content of a file with navigation options.
`head file` - Display the first 10 lines of a file.
`tail file` - Display the last 10 lines of a file.
`tail -f file` - Continuously monitor the end of a file (useful for logs).
`man command` - Show the manual page for a command.
`grep 'search_term' file` - Find occurrences of 'search_term' in a file.
`find /path -name filename` - Search for a file named 'filename' in a specified path.
`chmod 755 file` - Set permissions (read, write, execute) for a file.
`chown user:group file` - Change ownership of a file.
`sudo command` - Run a command with administrative privileges.
`top` - Show a dynamic view of system processes.
`ps aux` - Show a detailed list of all running processes.
These commands form the foundation of navigating and managing files in a Linux environment. As you become more comfortable, you'll find more advanced commands and options to explore.
Your experience on this site will be improved by allowing cookies.