Logo

Programming Linux

Quick search

Navigation

Courses

  • Courses Overview
  • Slide Material
  • How To Book
  • Log Of Past Courses

About

  • Myself: Contact, Impressum, …
  • This Site
    • OpenTraining
    • Work in Progress
      • Embedded Computing (FH Joanneum Graz)
        • Design Tools And Laboratory Engineering (2024)
        • Embedded Computing (STECE-2019)
        • Embedded Computing STECE-2020)
        • Embedded Computing (STECE-2021)
        • Embedded Computing (STECE-2022)
          • Embedded Computing 1 (STECE-2022): Summer
            • Embedded Computing 1 (STECE-2022): Syllabus
            • Embedded Computing 1 (STECE-2022): Material
              • Glühwein Trinken?
              • 2024-03-04(6): Introduction
              • 2024-03-21(6): OS Concepts, Shell, SSH
              • 2024-04-14(6): SSH, Permissions (Incl. Exercise)
              • 2024-04-17(6): Toolchain, Makefiles, CMake
              • 2024-04-22(6): CMake, Systems Programming/File-IO, Homework
              • 2024-05-06(3): Homework Recap, Exercise: Reading Sensor, Test Driven Development
              • 2024-05-13(3): Homework Recap, Cross Development Intro
              • 2024-05-27(6): Cross Development, Toolchain Installation
              • 2024-06-17(6): Container Templates
              • 2024-06-19(6): Sorting And Searching
              • 2024-06-20(3): Lab Exercise
              • 2024-06-28: Written Exam
          • Embedded Computing 2 (STECE-2022): Winter
        • Embedded Computing (STECE-2023)
      • Playground
      • Git Notes
      • Creating Screencasts
      • I2S Audio for a Kontron SMARC Module
      • Packaging this Site on PyPI
      • Seminar on “Clean Code” (2022-04-13)
      • Pointless Blinking
      • GLT 2025: systemd’s D-Bus Implementation, And Its Python asyncio Binding
      • IT-Visions TODO
      • Kajak Auf Der Donau
    • Recipes

Blog

  • Posts

2024-03-21(6): OS Concepts, Shell, SSH¶

  • Intro: Course Contents (cont’d)

  • OS Concepts

  • Shell Usage

  • SSH Setup

Intro: Course Contents (cont’d)¶

Data logger: https://github.com/jfasch/FH-STECE2022/blob/main/datalogger.cpp

  • Cross compilation, and deployment

  • System interaction from the shell

    • cat?

    • strace!

  • And Python?

OS Concepts¶

From Introduction: Concepts and Terminology

  • Overview

  • Everything Is A File (Live Demo)

  • Processes, Scheduling, Address Spaces

  • Process Hierarchy (Parent, Child Process)

Shell Usage¶

From The Shell (Bash - “Bourne Again Shell”)

  • Commandline

  • Absolute and Relative Paths

  • Special Paths

  • Directory Listings: The ls Command

  • Current Working Directory

  • Creating And Removing Files and Directories

  • Copying: cp

  • Moving and Renaming: mv

  • Symbolic Links, Hard Links

  • Shell Configuration File: ~/.bashrc

Exercises: from Exercises: Create/Copy/Move/Remove …

  • Exercise: mkdir

  • Exercise: Create Files (I/O Redirection)

  • Exercise: Copy Files

  • Exercise: Move Files

  • Exercise: Verify, Repeat

  • Exercise: Copy Directory Tree

  • Exercise: Remove Directory Tree

  • Exercise: Funny Stuff

SSH Setup¶

From SSH: Secure Shell

  • SSH: Basics

  • SSH: Public Key Authentication

  • SSH: Secure Copy (scp)

©2019-2025 (GPLv3), Jörg Faschingbauer. | Page source