• phone icon +44 7459 302492 email message icon support@uplatz.com
  • Register
0- - 0
Job Meter = High

Linux Fundamentals

30 Hours
Online Instructor-led Training
USD 1399 (USD 2800)
Save 50% Offer ends on 30-Nov-2024
Linux Fundamentals course and certification
214 Learners

About this Course

Linux Fundamentals Course Overview

This Linux Operating System and Bash Shell Programming training course introduces the delegate to the main concepts of the LINUX Operating System. The most commonly used commands are described in detail as are the command line wildcard and redirection facilities. The mechanisms by which a user acquires a login environment are discussed and the main features of the Bash shell are introduced.

This course is designed to give delegates practical experience in developing and writing shell scripts. Most of the built-in Bash shell commands are introduced together with the main program control structures. This course is not suitable for C shell programmers
------------------------------------------------------------------------------------------------------------------------------------------

Who will the Course Benefit?

There are no formal pre-requisites for the Linux Fundamentals course, although an understanding of and exposure to information technology is advantageous.

Programmers, administrators and support personnel who need to understand the LINUX Operating system, existing shellscripts, automate procedures and write their own utilities.
----------------------------------------------------------------------------------------------------------------------------------

Course Objectives

To provide the skills needed to work productively in a LINUX environment to develop and customise shell programs.
--------------------------------------------------------------------------------------------------------------------------------------
This is a Linux Fundamentals course by Uplatz. 

Linux Fundamentals

Course Details & Curriculum

Linux Fundamentals Training Course

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: INTRODUCTION TO THE LINUX OPERATING SYSTEM

  • A brief history of Linux and UNIX
  • The Linux kernel
  • The Linux file system
  • A login session
  • Getting started navigating the file system
  • The file system structure
  • Directories and files
  • Pathnames
  • Navigating the file system
  • Exercise: Logging on to the system
  • Exercise: Navigating the file system

Session 2: BASIC COMMANDS

  • Command line syntax
  • Basic file handling commands
  • Basic Directory handling commands
  • Filename wildcard characters
  • Exercise: Manipulating files and directories

Session 3: REDIRECTION AND PIPES

  • Input redirection
  • Output redirection
  • Pipes
  • Exercise: Using redirection and pipe facilities

Linux Fundamentals Training Course

Session 4: INTRODUCTION TO THE vi EDITOR

  • Overview of the vi editor
  • Basic functions
  • Switching to input mode
  • Other useful commands
  • Exercises: Using the vi editor
  • Exercise: Using more advanced vi features

Session 5: SEARCHING AND REPLACING TEXT

  • Searching and replacing text using the vi editor
  • Using regular expressions (regex)
  • Using sed for search and replace
  • Searching for text with grep, egrep and fgrep
  • Exercises: Searching and Replacing Text

Session 6: RECALLING AND EDITING COMMANDS

  • Overview
  • The bash shell
  • The korn shell
  • Exercises: Recall and Edit Commands

Session 7: FILE PERMISSIONS AND ACCESS CONTROL

  • Users and user groups
  • File access permissions
  • Changing file attributes
  • Switching users and user groups
  • Linking files
  • Exercise: Setting and access permissions

Linux Fundamentals Training Course

Session 8: FILTERING TEXT

  • Overview
  • The cut command
  • An introduction to awk
  • The nl command
  • Exercises: Filtering Text

Session 9: PROCESSES

  • What is a process?
  • Monitoring processes
  • Killing processes
  • Background processes
  • Job Control
  • Grouping commands
  • Exercise: Monitoring and controlling processes

Session 10: THE USER ENVIRONMENT

  • Customising the .profile or .bash_profile
  • Customising the .kshrc or .bashrc
  • Exercise: Setting up an environment

Session 11: MORE BASIC COMMANDS

  • The find command
  • Using xargs command
  • The locate command
  • The df command
  • The cut command
  • The sort command
  • Finding duplicate content
  • The pinky command
  • Exercise: More Basic Commands

Linux Fundamentals Training Course

Session 12: UNIX COMMAND REVIEW

  • Basic Unix commands
  • General commands
  • File and directory handling commands
  • Filename generation characters and regular expressions (regex)
  • I/O Redirection features
  • Other commands

Session 13: GETTING STARTED

  • What is a shell script?
  • Development guidelines
  • Creating and editing shell scripts
  • Naming and storing shell scripts
  • Executing shell scripts
  • Exercise: Write a simple shell script

Session 14: USING VARIABLES

  • Environment variables
  • Local variables
  • Assigning values to variables
  • Assessing variable values
  • Using quotes
  • Delimiting variable names
  • Echo control sequences
  • Exercise: Add variables to a script

Session 15: INTEGER ARITHMETIC

  • Using the expr command
  • Using the (( )) notation
  • Exercise: Add integer arithmetic to a shell script

Session 16: HANDLING RUN TIME DATA

  • The read command
  • Command line arguments
  • Exercise: Writing a generic shell script
  • Exercise: Writing an interactive shell script

Session 17: CONDITIONAL EXECUTION

  • The if statement
  • The test command
  • Exercise: Adding validation to previous scripts

Session 18: ADDITIONAL KORN, BASH & POSIX SYNTAX

  • Other test notations
  • Default and substitute variables
  • Exit status codes
  • Exercise

Linux Fundamentals Training Course

Session 19: LOOP CONSTRUCTS

  • The while loop
  • The until loop
  • The for loop
  • The while true and until false loops
  • Loop control commands
  • Exercise: Enhancing the previously written scripts
  • Exercise: Writing a script to copy files using a 'for' loop
  • Exercise: Writing a script to generate numbers with the 'while' loop

Session 20: MULTI-BRANCH DECISIONS

  • The case statement
  • Menu driven applications
  • Exercise: Developing and writing a menu system

Session 21: FUNCTIONS

  • What is a function?
  • Syntax
  • Examples
  • Exercise: Add a function to a script

Session 22: INTERRUPT HANDLING

  • Interrupt signals
  • Trapping interrupts
  • Exercise: Adding traps to the menu script

Session 23: ADDITIONAL FEATURES AND FACILITIES

  • The exec commands
  • The includes notation
  • More about loops
  • Arrays
  • Here Documents
  • Exercise: Create a here script
-----------------------------------------------------------
Certification
Linux Essentials (LPI, exam 010-160)

This course, together with the Linux System Administration (LPI & CompTIA) course, helps delegates prepare for the following exams:

Linux Administrator (LPIC-1, exams LPI 101-500 and LPI 102-500)

CompTIA Linux+ (exams LX0-103, LX0-104 and XKO-004)

Attending this relevant course will help delegates gain many of the skills and product knowledge requirements as outlined in the exam objectives. Studying this course and its associated reference materials can form part of the preparation to achieve certification. Experience, practice, self-study and aptitude are also key requirements for exam success.

Before taking any exam, ensure you have the recommended experience. The LPI and CompTIA websites lists all exam requirements and these are updated regularly.

Exams are not included as part of the course.



Job Prospects

-------------------------------------------------------------------------------------------------------

Linux Interview Questions & Answers

-------------------------------------------------------------------------------------------------------

1. What is Linux? 

Linux is an operating system, which is based on Linux Kernel.  It is an open-source operating system where it can run on different hardware platforms. It provides a free and low-cost operating system for users. It is a user-friendly environment where they can easily modify and create variations in the source code.
 

2) Who invented Linux? Explain the history of Linux? 

Linus Torvalds created Linux. Linus Torvalds was a student at the University of Helsinki, Finland in 1991. He started writing code on his own to get the academic version of Unix for free. Later on, it became popular as Linux Kernel.
 

3) What is the difference between Linux and Unix? 

Linux

Unix

Both paid and free distributions are available.

Different paid structures for different levels of Unix.

Linux primarily uses GUI with an optional command-line interface

Unix uses the command-line interface

Linux OS is portable and can be executed in different hard drives

Unix OS is not portable.

Linux is developed by a worldwide Linux community.

Unix is developed by AT&T developers.

Linux is free. And it is download through the internet under GNU licenses.

Most Unix Like Operating Systems is not free.

Linux is used at home-based PC's, phones, etc.

Unix is used in server systems.

 
4) What is the core of the Linux operating system? 

Kernel is the core of the Linux operating system.
 

5) What is the Linux Kernel? 

Kernel is the heart of the operating system. It acts as a bridge between software and hardware. If Software requests the hardware, then kernel delivers the data between software and hardware. For example, if you want to play a song you should launch your default player, it requests the kernel to play a song, now kernel will contact the hardware to seek the permissions or to seek the hardware components like if you plugged in any headset to the device. Most of the Android phones use Linux kernels.
 

6. What is BASH? 

Bash is a Unix shell and command processor written by Brian Fox for the GNU project. It is free software and acts as a replacement for Bourne Shell. It is an interpreted and not compiled process which can also be run in the terminal window. This allows users to write commands and cause actions. Bash is capable of reading commands from shell scripts.
 

7) What is LILO? 

LILO means Linux Loader is a boot loader that is used for the Linux operating system. Most of the Linux Operating systems use LILO, to boot the operating system into main memory to start the operations.
 

8) What is CLI? 

CLI means Command language Interpreter. It interacts with the computer program, where the user issues command in the form of text lines. It Interacts with the computer terminals also, the interface accepts the text lines and converts them as a command to the operating system.
 

9) What is the advantage of Open Source? 

Linux was one of the first open-source technologies, many programmers added software that completely open to the users, which means you can download the file and change the code as you like. It has a wide range of options for users and increased security.
 

10) What is the disadvantage of Open Source? 

Disadvantages of Open Source Operating System mentioned below

1.      Difficulty of use 

2.      Compatibility Issues

3.      Liabilities and warranties

4.      Hidden costs

 

11) What is Shell?

Shell is a computer program which acts as an interface between the user and the kernel. Users can communicate with the kernel by writing programs, commands and scripts on the shell. It accepts human-readable commands and converts them into the kernel understandable language.
 

12) How many types of Shells are there in Linux? 

They are five Shells in Linux:

  • C Shell (csh): It is like C syntax and provides spelling checking and job control.
  • Korn Shell (ksh): Is a high-level programming language shell.
  • Z Shell (Zsh): It provides some unique nature like it observes login/logout watching, file name generating, startup files, closing comments. 
  • Bourne Again Shell (bash): It is the default to Linux distributions.
  • Friendly Interactive Shell (Fish): It provides web-based configuration,  auto-suggestions, etc.  


13)
 Please explain symbolic links in Linux. 

Symbolic links point to directories, files, and programs in Linux. They allow gaining instant access to the object they are pointing without the need to traverse the entire path. Hence, symbolic links are like shortcuts in Windows.
 

14) Can you tell us about the various kinds of permission under Linux? Also, explain how to change permissions. 

There are three types of permissions under Linux:

  • Read – Users are allowed to read the files or list the directory
  • Write – Users are allowed to write to the file or add new files to the directory
  • Execute – Users are allowed to run the file or lookup for a specific file within a directory

 
15) Please explain the virtual desktop and how to share a program across different virtual desktops under Linux. 

Simply, a virtual desktop presents an alternative to minimizing and maximizing different windows. Instead of minimizing or restoring different programs, virtual desktops allow shuffling between desktops having different program windows.

Many times there is a need to share a program across different virtual desktops. For doing so, simply go to the upper left corner of the program window and click on the pushpin-like icon. It will pin the application, making it accessible across all the virtual desktops.
 

16) What do you understand by daemons?

Daemons are a way of extending the functionality of the base operating system. In other words, daemons are services that offer several functions that might not be available in the operating system.

The main task of a daemon is to actively listen for a service request and to act upon them at the very same time. Once it completes the service, a daemon gets disconnected and waits for further requests.
 

17) Please explain the various modes when using the vi editor. 

 The vi editor offers 3 modes:

  • Command Mode – This is the mode where the user starts
  • Edit Mode – This mode allows to do the text editing
  • Ex Mode – This mode allows interacting with vi, allowing executing instructions to process a file


18) What are the contents of /usr/local?
 

The /usr/local directory contains the locally installed files. The importance of the directory is when files are stored on some network. Moreover, the directory is used for storing software packages installed from a source or software not officially accompanying the distribution.
 

19) Tell us how you will execute more than one command or program from a single command line entry. 

Linux allows for combining several commands in a single line. Each of the commands is separated by a semicolon (:). The execution is carried in the order the commands are specified, from left to right.
 

20) What do you mean by hard links in Linux? 

Hard links in Linux point directly to the physical file present on the disk. It doesn’t concern the pathname. It simply means that in case the file is renamed or moved to some other location, the link will not break and will still function like before.
 

21) Please explain case-sensitivity issues in Linux. 

Sometimes entering the same command in Linux results in different outputs. This is typically attributed to case sensitivity. Because Linux is case sensitive, a command that previously produced the desired output might not do the same when executed again.
 

22) What is Swap space?

Swap space is the amount of physical memory that is allocated for use by Linux to hold some concurrent running programs temporarily. This condition usually occurs when RAM does not have enough memory to support all concurrent running programs. This memory management involves the swapping of memory to and from physical storage.
 

23) What do you understand by the Root account? 

As the name suggests, it is like a system administrator account which gives you the ability to fully control the system. The root account serves as the default account whenever Linux is installed.
 

24) Explain the virtual desktop? 

When there are multiple windows available on the current desktop and there appears the problem of minimizing and maximizing windows or restoring all the current programs, there ‘Virtual Desktop’ serves as an alternative. It allows you to open one or more programs on a clean slate.
 

25) Explain the term GUI? 

GUI stands for the Graphical User Interface. GUI is considered as the most attractive and user-friendly because it consists of the usage of images and icons. These images and icons are clicked and being manipulated by the users for the purpose of communication with the system.
 

26)) How can you determine the total memory used by LINUX? 

It is always required to keep a check on the memory usage in order to find out whether the user is able to access the server or the resources adequately. There are roughly 5 methods that determine the total memory used by Linux.
 

27) What is the maximum length for any file name under LINUX? 

The maximum length for any file name under Linux is 255 characters.
 

28) Explain the Linux Directory commands along with the description? 

The Linux Directory commands along with descriptions are as follows:

  • pwd: It is a built-in command which stands for ‘print working directory’. It displays the current working location, working path starting with/and directory of the user. Basically, it displays the full path to the directory you are currently in.
  • Is: This command list out all the files in the directed folder.
  • cd: This stands for ‘change directory’. This command is used to change to the directory you want to work from the present directory. We just need to type cd followed by the directory name to access that particular directory.
  • mkdir: This command is used to create an entirely new directory.
  • rmdir: This command is used to remove a directory from the system.

 
29) Explain the work of Ctrl+Alt+Del key combination on the Linux operating system? 

The work of Ctrl+Alt+Del key combination on the Linux operating system is the same as is for Windows i.e. to restart the system. The only difference is that there is no confirmation message displayed and a system is rebooted directly.
 

30) What is the role of case sensitivity in affecting the way commands are used? 

Linux is considered a case sensitive. Case sensitivity can sometimes serve as the reason for displaying different answers for the same command as you might enter the different formats of commands each time. In terms of case sensitivity, the command is the same but the only difference occurs with regard to uppercase and lowercase letters.
 

31) Explain Linux Shell? 

For executing any commands user uses a program known as the shell. Linux shell is basically a user interface used for executing the commands and communicating with Linux operating system. Shell does not use the kernel to execute certain programs, create files, etc.

There are several shells available with Linux which includes the following:

  • BASH (Bourne Again SHell)
  • CSH ( C Shell)
  • KSH ( Korn Shell)
  • TCSH

There are basically two types of Shell commands

  • Built-in shell commands: These commands are called from the shell and executed directly within the shell. Examples: ‘pwd’, ’help’, ’type’, ’set’, etc.
  • External/ Linux commands: These commands are totally shell independent, have their own binary and are located in the file system.

 
32) What is a Shell script? 

As the name suggests, the shell script is the script written for the shell. This is a program file or says a flat text file where certain Linux commands are executed one after another. Although the execution speed is slow, the Shell script is easy to debug and can also simplify everyday automation processes.
 

33) Explain the features of a Stateless Linux server? 

The word stateless itself means ‘no state’. When on a single workstation, no state exists for the centralized server, and then the stateless Linux server comes into the picture. Under such conditions, scenarios like keeping all the systems on the same particular state can occur.

Some of the features of Stateless Linux server are:

  • Stores prototype of every machine
  • Store snapshots
  • Store home directories
  • Uses LDAP which determines the snapshot of state to be run on which system. 


34) How you will run a Linux program in the background together with starting the Linux Server.
 

You need to use the nohup command first. It will stop the process receiving the NOHUP signal. The termination will log you out of the program that was invoked. Then start the Linux server, and enter the name of the Linux program followed by the & symbol to run the process in the background.
 

35) Can you explain how to remotely login with SSH? 

Although there are many ways of accessing a remote computer, using the SSH (Secure SHell) protocol is widely preferred. The protocol makes use of a public-key cryptography authentication method for securing communication between the hosts.

-------------------------------------------------------------------------------------------------------


Didn't find what you are looking for?  Contact Us

course.php