Advanced Unix Programming Training in Fresno

Enroll in or hire us to teach our Advanced Unix Programming class in Fresno, California by calling us @303.377.6176. Like all HSG classes, Advanced Unix Programming may be offered either onsite or via instructor led virtual training. Consider looking at our public training schedule to see if it is scheduled: Public Training Classes
Provided there are enough attendees, Advanced Unix Programming may be taught at one of our local training facilities.
We offer private customized training for groups of 3 or more attendees.

Course Description

 
In-depth training for software developers on Linux and UNIX system programming facilities. Learn how to develop sophisticated multiprocess applications using system calls and library routines.
Course Length: 4 Days
Course Tuition: $1390 (US)

Prerequisites

Fundamentals of UNIX or Fundamentals of Linux, C Programming, and Advanced C Programming. Strong C programming skills are required for this course.

Course Outline

 

UNIX Standards
Brief History of UNIX
AT&T and Berkeley UNIX Systems
Major Vendors
What is a Standard?
What is POSIX?
Other Industry Specs and Standards
Library vs. System-Level Functions


Files and Directories
Basic File Types
File Descriptors
The open() and creat() Functions
Keeping Track of Open Files
File Table Entries
The v-node Structure
The fcntl Function
The fcntl() Function ? with F_DUPFD Command
File Attributes
The access() Function
link(), unlink(), remove(), and rename() Functions
Functions to Create, Remove, and Read Directories


System I/O
Standard I/O vs System I/O
System I/O Calls
File and Record Locking


Processes
What is a Process?
Process Creation and Termination
Process Memory Layout
Dynamic Memory Allocation
Accessing Environment Variables
Real and Effective User IDs


Process Management
The Difference Between Programs and Processes
The fork() System Function
Parent and Child
The exec System Function
Current Image and New Image
The wait() and waitpid() Function
Interpreter files and exec


Basic Interprocess Communication: Pipes
Interprocess Communication
Pipes
FIFOs


Signals
What is a Signal?
Types of Signals
Signal Action
Blocking Signals from Delivery
The sigaction() Function
Signal Sets and Operations
Sending a Signal to Another Process
Blocking Signals with sigprocmask()
Scheduling and Waiting for Signals
Restarting System Calls (SVR4)
Signals and Reentrancy


Introduction to Pthreads
Processes and Threads
Creating Threads
Multitasking
Overview of Thread Architectures
Processes Versus Threads
The Pthreads API
Thread Termination
Joining Threads
Detaching Threads
Passing Arguments to Threads
 

Pthreads Synchronization
The Sharing Problem
Mutexes
Creating and Initializing Mutexes
Using Mutexes
Additional Synchronization Requirement
Using Condition Variables


Overview of Client/Server Programming
Designing Applications for a Distributed Environment
Clients and Servers
Ports and Services
Connectionless vs. Connection-Oriented Servers
Stateless vs. Stateful Servers
Concurrency Issues


The Berkeley Sockets API
Berkeley Sockets
Data Structures of the Sockets API
Socket System Calls
Socket Utility Functions


TCP Client Design
Algorithms Instead of Details
Client Architecture
Generic Client/Server Model ? TCP
The TCP Client Algorithm


TCP Server Design
General Concepts
Iterative Servers
Concurrent Servers
Performance Consideration
An Iterative Server Design
A Concurrent Server Design


System V Interprocess Communication
System V IPC
Elements Common to msg, shm, and sem Facilities
The Three System V IPC Facilities
IPC via Message Queues
IPC via Shared Memory
Coordinating the Use of Shared Memory Segments
Semaphore Sets - emget()
Semaphore Sets - semctl()
Semaphore Sets - the semop() calls
Shared Memory Coordination Using Semaphores
Commands for IPC Facility Handling - ipcs and ipcrm


Appendix A: Date and Time Functions
Overview
Time Representations
Decoding Calendar Time
Shorthand Functions - asctime(), ctime()
Formatting Date and Time Strings
Process Times
The Difference Between clock() and times()
Berkeley High Resolution Timers


Appendix B: Standard I/O
Standard I/O Calls to manipulate streams
Standard I/O Calls which perform character I/O
Standard I/O Calls which perform string I/O
Standard I/O Calls Which Perform Formatted I/O
Standard I/O Calls Which Perform Binary I/O

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Linux Unix Uses & Stats

Linux Unix is Used For:
Desktop Mainframe Computers Mobile Devices Embedded Devices
Difficulty
Popularity
Year Created
1991/1971
Pros
Performance:
Linux supports many efficient tools and operates them seamlessly. Because it's architecture is lightweight it runs faster than both Windows 8.1 and 10. 
 
Security:
Because Linux is an open-source software,  anyone can contribute code to help enhance the users’ experience i.e., adding features, fixing bugs, reducing security risks, and more.
 
 
Software Development:
The terminal in Linux is a *wild card*. You can do almost anything with it. This includes software installation, application and server configurations, file system management, and etc.
 
Large-scale:
Open-source projects benefit from having an attentive community. As a result, Linux is more secure than Windows. Instead of installing anti viruses to clean malware, you just have to stick to the recommended repositories. 
 
Efficient: 
Developers have the convenience of running servers, training machine learning models, accessing remote machines, and compiling and running scripts from the same terminal window. 
 
Free: 
Linux is free (you can put it on as many systems as you like) and you can change it to suit your needs.
Cons
Learning Curve: 
Linux is not for everyone, there is a learning curve in switching to Ubuntu. To actually learn Linux efficiently would take a user one to several years.
 
No Tech Support:
Unlike Windows, there isn’t a dedicated tech support, so getting help for things is up to you. 
 
Designer Compatabilty:
Linux is not as user friendly as Windows or as ‘straight out of the box design’ As an example for design choices, Adobe hasn’t released any of its products to Linux users. So it’s impossible to run them directly. The Ubuntu alternative is a free software called GIMP. 
 
Gaming Capabilities: 
Most games aren’t available in Linux. But that’s not to say you can’t make it happen, it's just not as easy.   
Linux Unix Job Market
Average Salary
$85k-$105k
Job Count
n/a
Top Job Locations

New York City
Boston
San Francisco 

Complimentary Skills to have along with Linux Unix
The following are types of jobs that may require Linux skills.  The top 15 job titles on Dice.com that mention Linux in their postings are:
- DevOps Engineer
- Software Engineer
- Java Developer
- Systems Engineer
- Systems Administrator
- Senior Software Engineer
- Network Engineer
- Python Developer
- Linux Systems Administrator
- Software Developer
- System Administrator
- Linux Administrator
- Linux Engineer
- Senior Java Developer
- C++ Developer

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.