Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Bash Shell Basics

Bash Shell Basics

The UNIX shell is a tool every developer should be familiar with.
This presentation introduces the basics of the Bash shell; it highlights 10 useful commands that can help developers get started.

Presented at the GDG Ibadan - Cloud Study Jams in Ibadan, Nigeria.

Adegoke Obasa

March 03, 2018
Tweet

More Decks by Adegoke Obasa

Other Decks in Programming

Transcript

  1. About Me Lead Engr. Mobile/ DevOps - Cotta & Cush

    Founder / Editor - Continuous Bytes Former Software Engr. (Part Time) - Releaf Former Software Engr. - Konga Former Software Engr. (Part Time) - Sanwo
  2. What is the Shell Shell is a command line interface

    for running programs on your computer.
  3. Importance • The Shell is fast and flexible • Most

    Web Servers run on Linux • Vital tool for deployment and remote administration on Linux servers
  4. Terminal Program A program used to interact with the shell.

    Bash Shell - The most popular UNIX shell Install Git Bash - Download Git here: https://git-scm.com/download/win
  5. Command Description Alias for echo Prints messages to the shell

    - ls Lists files and directories in the current working directory list cd Changes the current working directory change directory pwd Shows the current working directory present working directory mkdir Cretes a new directory make directory mv Moves files move cat Shows the content of a file Catenate less Shows less contents of a file - rm Removes a file or directory Remove rmdir Removes a direcory Remove Directory
  6. Params and Options Params, Options and Flags allow you to

    turn on extra behaviour or special features. Command: ls -l Description: Longer more detailed listing of files