Linux Systems

Objectives:
  • To get familiar with Linux Operating system – Commands, tools and editors
  • Enable you to write Shell scripts
  • To understand different stages involved in code compilation
  • Enable you to create projects and automate the build using Make
Overview:
This kick-start module is intended to get new programmers up and running with Linux embedded environment. Starting with basics of Linux and its features, this module dives into essential comments, Shell scripting and using tools like Make, GDB, Vim. By getting to know powerful Linux commands for redirection and pipes, lay strong foundation to automate routine tasks. 


Template/Sample shell programs:
[Click on individual lines to download the source code]

  • Given a number calculate sum of digits
  • Reversing digits of a given number and print the output
  • Print the " * " depends on user input for generating pyramid structure
  • Program to demonstrate various operators in Shell programs
  • Passing command line arguments to shell programs
  • Simple string operations using arrays
  • Desk calculator using case statement 
  • For loop usage
  • Functions using shell scripts
  • Conditional operators in shell
  • While loop usage

  • Reference materials:
    [Click on individual lines to download individual materials]

  • Bash - shell scripting guide 
  • GNU and UNIX commands reference
  • Vim tips and tricks
  • Linux shell tutorials 
  • GNU make - How-to? 
  • Frequently used commands in Linux
  • Lab exercises in Linux environment 
  • No comments:

    Post a Comment