The following information may be useful: <start of reference> Modern computers use…
- User
The following information may be useful: Modern computers use graphical user interfaces (GUIs) to accomplish the same tasks, but in a much simpler manner. Touchscreen smartphones and tablets have purposedly hidden these details away from today's computer users.
When you type a command, it has to be exact. All the letters, numbers, or words have to be in the correct position. This can be frustrating for new users, but eventually once you get used to typing a few basic commands you will begin to see the power and value of having complete control over the computer via the terminal.
Terminal
You access the command-line on a Raspberry Pi via the Terminal. You may often hear the terms used interchangablely: command-line = terminal or terminal = command-line. This is fine. The Terminal is similar to the Command Prompt found on Windows computers. The Terminal can be accessed via Menu – > Accessories –> Terminal.
Access the Terminal
Linux/Raspbian Commands
Here is a very brief list of Raspberry Pi/Linux/Raspbian commands you should know:
Command Description pwd Displays the name of the current working directory mkdir Makes a new directory rmdir Remove empty directories rm Removes the specified file (or recursively from a directory when used with -r). Be careful, with this! Files deleted in this way are mostly gone for good! cp Makes a copy of a file and places it at the specified location (essentially, doing a 'copy-paste') ls lists the content of the current directory (or one that is specified). cd Changes the current directory to the one specified More commands can be found at: Raspberry Pi Documentation
Online Tool - ShortcutFoo
Practice your command line skills with this fun online tool - ShortcutFoo www.shortcutfoo.com/app/dojos/command-line
Practice:
- Find the Terminal application in Menu –> Accessories.
- You start in your Home directory which is called "pi". Use the pwd command to verify.
- Make a new directory called "practice" in the directory using the command.
Assistant
The theme of this text is the importance of teaching computer programming, or "coding", in schools. The text provides statistics and arguments in support of this idea, and also gives resources and suggestions for how to teach coding in a classroom setting.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.