Linux Free Course Module 5 Chapter 4: DEBUGGING WITH GDB
PythonBaba - 0
DEBUGGING WITH GDB
Introduction to GDB
Introduction
The GNU Debugger (also known as GDB) is a source-level debugger that provides the ability to debug applications at the...
Linux Free Course Module 5 Chapter 3: GNU MAKE
PythonBaba - 0
GNU MAKE
Introduction of Make
INTRODUCTION
Creating a binary in a compiled language often involves lots of steps to compile all of the source files into object...
Linux Free Course Module 5 Chapter 2: BUILDING AND USING LIBRARIES
PythonBaba - 0
BUILDING AND USING LIBRARIES
Basic and Types of Libraries
What Is a library?
A library is really nothing more than a collection of object files.
Type of libraries...
Linux Free Course Module 5 Chapter 1: GNU COMPILER TOOL CHAIN
PythonBaba - 0
GNU COMPILER TOOL CHAIN
Basics of GNU compiler
GNU COMPILER TOOL CHAIN
The GNU Compiler Collection (otherwise known as GCC) is a compiler and set of utilities...
Linux Free Course Module 4 Chapter 12: Bash Script Debugging
PythonBaba - 0
Bash Script Debugging
Basics of Debugging
Debugging
Bash provides two options which will give useful information for debugging
-x : displays each line of the script with variable...
Linux Free Course Module 4 Chapter 11: Arrays
PythonBaba - 0
Arrays in Bash Scripting
Basics of Array
Arrays
Bash support one-dimensional arrays where the first element has index 0.
Declaring an array and assigning values
month_array=(0 31 29...
Linux Free Course Module 4 Chapter 10: Functions
PythonBaba - 0
Functions in Bash Scripting
Basic of Functions
Functions
Functions make scripts easier to maintain. Basically it breaks up the program into smaller pieces. A function performs an...
Linux Free Course Module 4 Chapter 9: Looping: For
PythonBaba - 0
Looping: For
For Loop
for loop
Given below is the basic looping construct.
for argument in
do
command(s)...
done
During each pass through the loop, argument takes on the value of each successive variable in...
Linux Free Course Module 4 Chapter 8: Looping: while
PythonBaba - 0
Looping: while
While Loop
While loop
The while loop simply performs the commands within the while loop as long as the conditional expression is true.
Syntax
while expression
do
...
Linux Free Course Module 4 Chapter 7: Conditional Structures: Case Construct
PythonBaba - 0
Conditional Structures: Case Construct
Case construct in Bash
Case
• Used to execute statements based on specific values.
• Often used in place of an if statement if...