Teaching Kids Programming – Introduction to BASH Commands


Teaching Kids Programming: Videos on Data Structures and Algorithms

BASH provides the command line interface (as compared to GUI) to control the computer.

We have learned the following commands today:

  • ls: list the directories and files in the current directory
  • cd: change to folder e.g. cd .. is going one directory up
  • cp: copy a file or folder
  • rm: remove a file or folder
  • rmdir: remove an empty folder
  • cat: display the content of a file
  • man: showing the manual for a command
  • mkdir: create a folder
  • echo: display a string to console
  • variable=value: assign a value to a variable
  • redirection > means replace where >> means to append to a file
  • clear: clear the screen
  • exit: quit the terminal

Shell commands are very powerful and they can be used to perform complex tasks. Where there is a shell, there is a way!

–EOF (The Ultimate Computing & Technology Blog) —

GD Star Rating
loading...
276 words
Last Post: Teaching Kids Programming - Turtle Graphics/Canvas Programming in Python
Next Post: How to Comply with GDPR in Adsense?

The Permanent URL is: Teaching Kids Programming – Introduction to BASH Commands

Leave a Reply