This work is intended for the students in the UDM - Utvecklare och drift av mjukvarusystem and the WP - Webbprogrammerare programs. This is not a complete course in Linux but just an introduction for program students at Linnaeus University, Kalmar, Sweden
All video recording will be in Swedish
This content is concentrated to server versions of the Ubuntu distributions.
The student should get an understanding of the Linux system and its characteristics. The student will also get some experience in using bash commands, text editors and bash scripting.
About this learning object
Video on youtube - Explains this learning object
Linux - an introduction
If you have docker installed and running you could start use these commands to start up instances:
docker run -it ubuntu /bin/bash # runs and starts a ubuntu container docker run -it centos /bin/bash # runs and starts a centos container
If you do not have Docker installed, this is a perfect time to install it. You find Docker Desktop at https://www.docker.com/get-started
This text document) gives an introduction to a Linux system shell. It will also link to a Cheat Sheet with different commands you should study. At the end of the text there are some exercises to practice on.
Using the terminal, text editors
Video on youtube - Showing how to work with the shell and some of its text editors
Resources on the text editors
Video on youtube - A short video how to update your system and how to install new packages/applications
Users, Permissions, Groups
Be sure to read this article to get the theoretical view of how Linux is handling files, directories, users and permissions
Video on youtube - Some example of user/groups handling in Linux
Introduction to Bash scripting
- A short introduction - Video
- A simple example of a script - Video
- Some ideas for exercise scripts - Text
Resources for bash
The net is full of different pages about bash scripting. A good start is the three links below. Since you all know about programming; what a selection statement and a loop is for example we are more into studying the syntax. Especially the "part 1" and "part 2" is good for this. The third part have some good examples of bash scripts though. Start by reading these guides.
Bash programming tutorial from developer
There is much more to learn if you want. Here are some extra resources. It could also come in handy to have a reference page when you have to look up stuff.
To get a deeper understanding and get a searchable pdf during this learning object we recommend the following links:
- Linux Fundamentals by Paul Cobbaut - In English
- Att använda Linux och GNU by Linus Walleij - In Swedish
Feel free to contribute
This content can always have higher quality. Help us to make it better. Fork it! Make pull requests! All can help!
Contact us through GitHub