Giter Club home page Giter Club logo

bash_intro's Introduction

Bash introductory workshop

These files are used during an introductory workshop to the bash shell and the Linux terminal. Just clone the repository, enter the directory, and you are ready to go.

Usage with Docker

If you can't run Linux or you don't have bash you can use a Docker container. I provide here a Docker image with everything you need for the workshop. Follow the Setup steps the very first time, and then every time you need the image just skip to the Usage section.

Setup

The very first time you run the Docker command you will get an image that has been minimised, that is stripped of everything is not essential to run a Linux server, so manual pages are not present. As we will use them throughout the workshop you should run the following commands once you are given the prompt

docker build -t bash_intro .

which builds and image called bash_intro from the Dockerfile in current directory (.). Once that is done run

docker image ls | grep bash_intro

and you should see a line similar to

bash_intro     latest     ad02c8e90982     37 seconds ago     176MB

Usage

Every time

docker run -t -i -v ${PWD}:/opt/bash_intro bash_intro /bin/bash

Docker will run the command /bin/bash on your image called bash_intro connecting the local directory (${PWD}) with the directory /opt/bash_intro inside the container. Once you are given a prompt run this

cd /opt/bash_intro

and you will be ready to go. Once finished just type exit and you will return to the terminal in your OS.

bash_intro's People

Contributors

lgiordani avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

kenpem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.