Unix/Linux Shell Scripting Training in Norway

  • Learn via: Classroom / Virtual Classroom / Online
  • Duration: 2 Days
  • Price: Please contact for booking options
We can host this training at your preferred location. Contact us!

This course introduces the Unix operating system and enables you to write Unix Shell Scripts. Delegates will incrementally build scripts of increasing complexity, and learn to perform tasks such as console I/O, text manipulation, arithmetic, process control and signal handling.

There are no pre-requisites for taking this course.

UNIX users, programmers, and system administrators.

The course is taught using the Korn shell, but also discusses Bash, Bourne and C shells. The course can be delivered on any version of UNIX, but typically Red Hat or Ubuntu Linux is used. Tools specific to particular flavours of UNIX (e.g. DTrace on Solaris) are not covered by default, but can usually be included if required.


Review of Core Concepts

  • The history and evolution of UNIX
  • The filesystem, mounting devices and inodes
  • Processes, threads, scheduling and signals
  • Using the essential UNIX commands
  • Comparing the different UNIX shells
  • Picking the right shell for the job

Starting Shell Programming

  • Why shell scripts are an essential tool
  • Using the shebang line to pick an interpreter
  • Declaring and working with shell variables
  • Built in operators for testing and arithmetic
  • Evaluating expressions using the expr command
  • Testing variables with if and case
  • Creating and controlling for, while and until loops
  • Debugging your shell scripts

Regular Expressions

  • How a Regular Expression Engine operates
  • The difference between basic and extended regular expressions
  • Options for using regular expressions in shell scripts
  • Creating character classes and specifying multiplicities
  • Meta-characters for specifying positions in the input
  • Using parenthesis for grouping and submatches
  • The non greedy versions of *, + and ?
  • Using parenthesis that do not capture
  • Applying modifiers to only part of the expression
  • Using look-around assertions to match without capturing

Creating Useful Scripts

  • Creating formatted output with printf
  • Working with environment variables
  • Testing the exit status of a command
  • Looping till a command is successful
  • Discarding command output using /dev/null
  • Using /dev/zero to create test files
  • Testing the attributes of files
  • Returning an exit status from your script
  • Processing command line arguments
  • Reading and parsing input from the keyboard
  • Processing files one line at a time
  • Creating and working with arrays

Using the Sed Tool in Shell Scripts

  • Understanding how Sed transforms text input
  • Working with commands and addresses
  • Manipulating the contents of the pattern space
  • Using the hold buffer to copy and paste text
  • Sed commands for selection and iteration

Using the Awk Tool in Shell Scripts

  • Understanding how Awk processes text
  • Breaking up input into records and fields
  • Writing actions to processes records
  • Using regular expressions in actions
  • Awk commands for selection and iteration
  • Adding functions to Awk scripts

Advanced Shell Programming

  • Trapping and handling signals
  • Running other programs via exec
  • Starting, monitoring and deleting processes
  • Breaking up scripts into functions
  • Security issues with shell scripts

Alternatives to Shell Scripting

  • How Perl improves and extends shell scripting
  • Object oriented scripting using Ruby and Python


Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Norway facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

Classroom / Virtual Classroom
25 mai 2024
Oslo, Bergen, Trondheim
2 Days
Classroom / Virtual Classroom
09 juni 2024
Oslo, Bergen, Trondheim
2 Days
Classroom / Virtual Classroom
14 juli 2024
Oslo, Bergen, Trondheim
2 Days
Classroom / Virtual Classroom
17 juli 2024
Oslo, Bergen, Trondheim
2 Days
Classroom / Virtual Classroom
06 august 2024
Oslo, Bergen, Trondheim
2 Days
Classroom / Virtual Classroom
21 august 2024
Oslo, Bergen, Trondheim
2 Days
Classroom / Virtual Classroom
23 august 2024
Oslo, Bergen, Trondheim
2 Days
Classroom / Virtual Classroom
09 september 2024
Oslo, Bergen, Trondheim
2 Days
Unix/Linux Shell Scripting Training Course in Norway

The Nordic country Norway, is in Northern Europe. Known for its stunning natural beauty, including fjords, mountains, and forests, Norway is also famous for its high standard of living and strong social welfare system. Norway's capital and largest city is Oslo. Tromsø, Bergen, Trondheim and Stavanger are the other tourist attracting cities of Norway.

Norway is a constitutional monarchy with King Harald V as the head of state. The country has a population of 5,425,270 as of January 2022. Norway is a relatively small country and has a relatively low population density, with much of its land area covered by forests, mountains, and fjords. Despite its small size, Norway is known for its rich cultural heritage, strong economy, and stunning natural beauty, which attracts millions of visitors every year. This Nordic country is also known for its winter sports, such as skiing and snowboarding, and is a popular destination for outdoor enthusiasts.

Norway has a long history of invention and is home to numerous more top-tier tech firms and research facilities, such as; Kongsberg Gruppen, Telenor, Atea, Evry and Gjensidige Forsikring.

Due to the country's high latitude, there are large seasonal variations in daylight. From late May to late July, the sun never completely descends beneath the horizon. Which attracts many tourists around the world to see the "Land of the Midnight Sun". Tourists mainly visit Sognefjord, Norway's Largest Fjord, Pulpit Rock, one of the most photographed sites in Norway and of course the capital; Oslo.

Oslo is considered the business center of Norway. It is the country's largest city and the capital of Norway. The city is home to many of Norway's largest and most important companies, as well as several international organizations and research institutions. Additionally, the city is a popular tourist destination, known for its scenic location on the Oslo Fjord, its many museums and cultural attractions, and its vibrant nightlife and dining scene. Some of the most popular museums in Oslo are The Norwegian Museum of Cultural History, The Nobel Peace Center, The National Museum of Art, Architecture, and Design, The Munch Museum and The Vigeland Museum.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.