Course of work in Linux command line not only for MetaCentrum - MB120C17
Title: Kurz práce v příkazové řádce Linuxu nejen pro MetaCentrum
Czech title: Kurz práce v příkazové řádce Linuxu nejen pro MetaCentrum
Guaranteed by: Department of Botany (31-120)
Faculty: Faculty of Science
Actual: from 2019
Semester: winter
E-Credits: 2
Examination process: winter s.:
Hours per week, examination: winter s.:0/3, C [DS]
Capacity: 35
Min. number of students: unlimited
4EU+: no
Virtual mobility / capacity: no
State of the course: cancelled
Language: Czech
Additional information: https://trapa.cz/cs/kurz-prikazove-radky-linuxu-2019
Note: enabled for web enrollment
Guarantor: Mgr. Vojtěch Zeisek, Ph.D.
Opinion survey results   Examination dates   Schedule   
Annotation -
Last update: Mgr. Vojtěch Zeisek, Ph.D. (06.10.2018)
Don’t be afraid of command line! It is friendly and powerful tool. Practically identical is command line also in Apple osX, BSD and another UNIX-based systems, not only in Linux. Basic knowledge of Linux is not conditional. Course will be taught in Linux, but most of the point are applicable also for another UNIX systems like osX. Knowledge of Linux/UNIX is useful e.g. for working with molecular and another data. MetaCentrum is service provided by CESNET allowing access to huge computational capacity. If there is at least one participant not speaking Czech, the course will be in English.

The course will be taught in lecture room B12, Benátská 2, 1st mezzanine, January 29-31 2019 from 9 AM to 5 PM (with lunch and snacks breaks:-).
Literature -
Requirements to the exam -
Last update: Mgr. Vojtěch Zeisek, Ph.D. (04.10.2017)
  • Active participation.
  • Asking and answering on-topic questions during the course.
  • Solving simple tasks in command line (it is possible to use Internet, documentation, etc.).
  • Write to Wikipedia at least one page about any topic related to the course. It can be translation, edition of an existing page, it can be splitted into several articles, etc. Student should use native Wikipedia according to her/his language (so preferebly not English).
Syllabus -
Last update: Mgr. Vojtěch Zeisek, Ph.D. (11.09.2017)

List of topics (might be edited according to wishes of participants):

  • What it is UNIX, Linux, GNU, what are relationships among them, architecture of the system, kernel
  • What does it mean "open-source", which licenses are in use, what is philosophy, trade model
  • What are differences among various Linux distributions, how to find order in them, how to choose
  • Linux graphical interface - graphical usage of Linux
  • Trying using live CD/USB or virtualisation
  • Special uses - rescue CD, BusyBox in embedded devices (NAS and another network devices, Android, …)
  • Diversity of graphical interfaces vs. similarity in command line
  • Installation, disk partitions, creating and control
  • File systems, directory structure in Linux, file names and their conventions, where are configuration files and data
  • File permissions, executability, ACL, another atributes
  • Root and normal users, sudo
  • Why it is important good text editor, what are possibilities, character encoding, differences among operating systems
  • Command line: Shell - Bash and the others
  • Variables, path to executable files, aliases, configuration of command line behavior
  • Terminals and their emulators, multiple login, access to remote server
  • Software management from command line (zypper, rpm, apt, aptitude), launching of the script, compilation
  • Launching of Java applications
  • Basic information about the system, free space, detection of the type of the file, hardware
  • Users, change of password, services management (SystemD and others)
  • Move within directory structure, searching
  • Automated launching of tasks
  • Viewing of processes and their killing
  • Magic TAB key, history of commands, chaining of commands
  • Standard input and output, redirects, pipes
  • Work with text - reading, edition, selection of particular lines or columns, merging of files, writing into new files
  • Common text editors in command line: Nano, MC, Vim, Emacs
  • Comparison of text files, viewing changes
  • Wildcards and special characters, escaping, regular expressions
  • How to keep task running after login off - screen
  • Work with documentation and searching for solutions
  • Mounting of file systems, creations and control
  • Writing of easy scripts - variables, conditions, forks, cycles, input parameters, exit values
  • Parallelization of tasks - use of multicore CPUs
  • Access to MetaCentrum of CESNET
  • Launching of the tasks in MetaCentrum, basic script
  • Launching of interactive and graphical tasks in MetaCentrum
  • List of another offers of CESNET
  • Basic monitoring of network
  • And more... more topics will be added.

Exams will take place last day afternoon or after individual arrangement. 3rd day afternoon there will be space for consultation of specific problems and questions of individual participants.

Entry requirements -
Last update: Mgr. Vojtěch Zeisek, Ph.D. (11.09.2017)

Don't be afraid of command line. :-)

For course You need

  • Working Wi-Fi. Eduroam (set it up using faculty or recommended general instructions) or in application form You can ask for temporary password.
  • Any computer with Linux - Linux-only machine, dualboot, virtualisation (image for VirtualBox will be available, I'll send instructions prior to the course), or Cygwin or Linux subsystem in Windows 10, it doesn’t matter. Or another UNIX (Mac OS X and so on.). There will be a training server where we will connect to. It can be enough just to use Putty and login from Windows to this server, but it won’t be possible to do all the exercises on the server.
Registration requirements -
Last update: Mgr. Vojtěch Zeisek, Ph.D. (11.10.2016)

I'd be glad if participants could fill a short questionary which will help me with preparation of the course and communication.