Skip to content

Commit e050057

Browse files
committed
Upades for 2020, specified fonts, changed aspect ratio, small updates of the introduction.
Signed-off-by: V-Z <vojta@trapa.cz>
1 parent 1d89f5f commit e050057

File tree

2 files changed

+65
-53
lines changed

2 files changed

+65
-53
lines changed

README

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,19 @@
1-
Kurz práce v příkazové řádce Linuxu nejen pro MetaCentrum (MB120C17) 2019
1+
Kurz práce v příkazové řádce Linuxu nejen pro MetaCentrum (MB120C23) 2020
22

3-
Nebojte se příkazové řádky Linuxu! Je to mocný a přívětivý nástroj. Prakticky
4-
shodně funguje příkazová řádka i v Mac OS X, BSD a dalších UNIXových systémech,
5-
nejen v Linuxu. Základní znalost Linuxu není nutná. Kurz bude probíhat v
6-
Linuxu, ale většina věcí funguje stejně na Mac OS X a dalších UNIXech. Znalosti
7-
práce v Linuxu/UNIXu se hodí např. při zpracování molekulárních a jiných
8-
dat. MetaCentrum je služba CESNETu poskytující přístup k obrovské výpočetní
9-
kapacitě. Bude-li se kurzu účastnit alespoň jeden člověk nemluvící česky, kurz
10-
bude anglicky.
3+
Nebojte se příkazové řádky Linuxu! Je to mocný a přívětivý nástroj. Prakticky shodně funguje příkazová řádka i v Apple osX, BSD a dalších UNIXových systémech, nejen v Linuxu. Základní znalost Linuxu není nutná. Kurz bude probíhat v Linuxu, ale většina věcí funguje stejně na osX a dalších UNIXech. Znalosti práce v Linuxu/UNIXu se hodí např. při zpracování molekulárních a jiných dat. MetaCentrum je služba CESNETu poskytující přístup k obrovské výpočetní kapacitě. Bude-li se kurzu účastnit alespoň jeden člověk nemluvící česky, kurz bude anglicky.
114

12-
Informace o kurzu: https://trapa.cz/cs/kurz-prikazove-radky-linuxu-2019
13-
Kurz ve studijním informačním systému:
14-
https://is.cuni.cz/studium/predmety/index.php?do=predmet&kod=MB120C17
5+
Informace o kurzu: https://trapa.cz/cs/kurz-prikazove-radky-linuxu-2020
6+
Kurz ve studijním informačním systému:
7+
https://is.cuni.cz/studium/predmety/index.php?do=predmet&kod=MB120C23
158
Kontakt na autora: https://trapa.cz/cs/kontakt
169

1710
================================================================================
1811

19-
Course of work in Linux command line not only for MetaCentrum (MB120C17) 2019
12+
Course of work in Linux command line not only for MetaCentrum (MB120C23) 2020
2013

21-
Don’t be afraid of command line! It is friendly and powerful tool. Practically
22-
identical is command line also in Mac OS X, BSD and another UNIX-based systems,
23-
not only in Linux. Basic knowledge of Linux is not conditional. Course will be
24-
taught in Linux, but most of the point are applicable also for another UNIX
25-
systems like Mac OS X. Knowledge of Linux/UNIX is useful e.g. for working with
26-
molecular and another data. MetaCentrum is service provided by CESNET allowing
27-
access to huge computational capacity. If there is at least one participant not
28-
speaking Czech, the course will be in English.
14+
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.
2915

30-
Information about the course: https://trapa.cz/en/course-linux-command-line-2019
31-
Course in Study Information System:
32-
https://is.cuni.cz/studium/eng/predmety/index.php?do=predmet&kod=MB120C17
16+
Information about the course: https://trapa.cz/en/course-linux-command-line-2020
17+
Course in Study Information System:
18+
https://is.cuni.cz/studium/eng/predmety/index.php?do=predmet&kod=MB120C23
3319
Contact author: https://trapa.cz/en/contact

presentation/linux_bash_metacentrum_course.tex

Lines changed: 55 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
\documentclass[compress, ucs, xelatex, 11pt, xcolor=svgnames,
1+
\documentclass[compress, ucs, xelatex, 11pt, xcolor=svgnames, aspectratio=1610,
22
hyperref={
33
bookmarks=true,
44
unicode=true,
@@ -38,6 +38,9 @@
3838
\usepackage{xunicode}
3939
\usepackage{fontspec}
4040

41+
% Fonts Linux Libertine
42+
\usepackage{libertine}
43+
4144
% Other packages
4245
\usepackage{multicol}
4346
\usepackage{tabularx}
@@ -91,7 +94,7 @@
9194
\title{Linux, command line \& MetaCentrum}
9295
\subtitle{Use of Linux command line not only for CESNET's MetaCentrum}
9396
\titlegraphic{\includegraphics[width=1.5cm]{tux.png}}
94-
\date{January 29 to 31, 2019}
97+
\date{January 14 to 16, 2020}
9598

9699
\begin{document}
97100

@@ -112,16 +115,16 @@ \section{Introduction}
112115
\begin{frame}{The course information}
113116
\label{materials}
114117
\begin{itemize}
115-
\item The course page: \url{https://trapa.cz/en/course-linux-command-line-2019}
118+
\item The course page: \url{https://trapa.cz/en/course-linux-command-line-2020}
116119
\begin{itemize}
117-
\item Česky: \url{https://trapa.cz/cs/kurz-prikazove-radky-linuxu-2019}
120+
\item Česky: \url{https://trapa.cz/cs/kurz-prikazove-radky-linuxu-2020}
118121
\end{itemize}
119-
\item Subject in SIS: \url{https://is.cuni.cz/studium/eng/predmety/index.php?do=predmet&kod=MB120C17}
122+
\item Subject in SIS: \url{https://is.cuni.cz/studium/eng/predmety/index.php?do=predmet&kod=MB120C23}
120123
\begin{itemize}
121-
\item Česky: \url{https://is.cuni.cz/studium/predmety/index.php?do=predmet&kod=MB120C17}
124+
\item Česky: \url{https://is.cuni.cz/studium/predmety/index.php?do=predmet&kod=MB120C23}
122125
\item For students having subscribed the subject, requirements are on next slide
123126
\end{itemize}
124-
\item Working version is available at \url{https://github.com/V-Z/course-linux-command-line-bash-scripting-metacentrum} --- feel free to contribute, request new parts or report bugs
127+
\item Working version of the presentation is available at \url{https://github.com/V-Z/course-linux-command-line-bash-scripting-metacentrum} --- feel free to contribute, request new parts or report bugs
125128
\end{itemize}
126129
\end{frame}
127130

@@ -152,7 +155,7 @@ \subsection{Learning machine}
152155
\begin{multicols}{2}
153156
\begin{itemize}
154157
\item If you do not have Linux installed, download and install VirtualBox from \url{https://www.virtualbox.org/}
155-
\item Download openSUSE Leap 15.0 Linux distribution for this course from \url{ftp://botany.natur.cuni.cz/openSUSE_Leap_courses.ova} ($\sim$4~GB)
158+
\item Download openSUSE Leap 15.0 Linux distribution for this course from \url{ftp://botany.natur.cuni.cz/openSUSE_Leap_courses.ova} ($\sim$5~GB)
156159
\item Launch VirtualBox and go to menu \textbf{File | Import appliance\ldots} to import it. When done, launch it (\textbf{Start})
157160
\end{itemize}
158161
\includegraphics[height=6cm]{virtualbox.png}
@@ -161,13 +164,13 @@ \subsection{Learning machine}
161164

162165
\begin{frame}{Enjoy learning virtual machine for the course}
163166
\begin{center}
164-
\includegraphics[width=\textwidth-1cm]{opensuse_leap_course.png}
167+
\includegraphics[width=\textwidth-3cm]{opensuse_leap_course.png}
165168
\end{center}
166169
\end{frame}
167170

168171
\begin{frame}{VirtualBox shared folder I}{VirtualBox can be configured to share folder with host operating system}
169172
\begin{center}
170-
\includegraphics[width=\textwidth-2cm]{virtualbox_shared_folder_1.png}
173+
\includegraphics[width=\textwidth-4cm]{virtualbox_shared_folder_1.png}
171174
\end{center}
172175
\end{frame}
173176

@@ -177,7 +180,7 @@ \subsection{Learning machine}
177180
\end{bashcode}
178181
\vfil
179182
\begin{center}
180-
\includegraphics[width=\textwidth-1cm]{virtualbox_shared_folder_2.png}
183+
\includegraphics[width=\textwidth-2.5cm]{virtualbox_shared_folder_2.png}
181184
\end{center}
182185
\vfill
183186
\end{frame}
@@ -194,7 +197,7 @@ \subsection{What it is a~\enquote{UNIX}}
194197
\item \href{https://en.wikipedia.org/wiki/Unix-like}{UNIX-like} (UN*X, *nix)
195198
\begin{itemize}
196199
\item Systems compatible with UNIX (Linux, BSD and its variants, macOS,~\ldots)
197-
\item Mainly open-source (UNIX is commonly commercial --- source code is not available for public, but its specification is)
200+
\item Mainly open-source (UNIX is commonly commercial --- source code is not publicaly available, but its specification is)
198201
\item Nowadays prevailing over \enquote{old} UNIX systems, used in many devices from tiny embedded toys to huge data centers
199202
\item Try to provide same quality as paid systems, but (mostly) for free
200203
\end{itemize}
@@ -203,6 +206,7 @@ \subsection{What it is a~\enquote{UNIX}}
203206
\item \href{https://www.gnu.org/}{GNU}
204207
\begin{itemize}
205208
\item \enquote{GNU's Not Unix!} --- but it is compatible, respects its principles
209+
\item System written from scratch, following ideas of UNIX
206210
\item Since 1984 Richard Stallman (founder of \href{https://www.fsf.org/}{Free Software Foundation}) tried to make new kernel (Hurd --- not finished yet\ldots)
207211
\item Generally set of basic system tools --- working with many kernels (Linux, BSD*, macOS,~\ldots), also present in many commercial paid UNIX systems
208212
\item Source code is free and open --- anyone can study it (Security!), report bugs, contribute, modify, share it,~\ldots
@@ -216,19 +220,20 @@ \subsection{What it is a~\enquote{UNIX}}
216220
\item Used in small embedded (commonly network) devices, mobile devices (book readers, Android,~\ldots), personal computers, servers (from home level to biggest data centers),~\ldots
217221
\item Nowadays powering most of the Internet
218222
\item Anyone can contribute --- not only code, also documentation, design, translations,~\ldots
223+
\item Most of people working with UNIX are using Linux (or macOS)
219224
\end{itemize}
220225
\end{itemize}
221226
\end{frame}
222227

223228
\begin{frame}{Extremely simplified UNIX phylogeny}
224229
\begin{center}
225-
\includegraphics[height=7cm]{unix_history-simple.png}
230+
\includegraphics[height=7.5cm]{unix_history-simple.png}
226231
\end{center}
227232
\end{frame}
228233

229234
\begin{frame}{Most common UNIX-based systems (except Linux)}
230235
\begin{itemize}
231-
\item \href{https://en.wikipedia.org/wiki/macOS}{macOS} (previously Mac OS~X) --- system kernel is based on older BSD and uses plenty of GNU tools (although mostly older versions)
236+
\item \href{https://en.wikipedia.org/wiki/macOS}{macOS} (previously Mac OS~X) --- system kernel is based on older BSD and uses plenty of GNU tools (although mostly older outdated versions)
232237
\item \href{https://en.wikipedia.org/wiki/Berkeley_Software_Distribution}{BSD} --- one of the oldest operating systems, still developed in \href{https://distrowatch.com/search.php?ostype=BSD}{many independent variants}
233238
\begin{itemize}
234239
\item Still very popular especially on servers, for special purposes, etc.
@@ -262,6 +267,7 @@ \subsection{Licenses and money}
262267
\item Much cheaper to shop there
263268
\end{itemize}
264269
\item Both have pros and cons --- depends what you wish\ldots
270+
\item According to \href{https://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar}{book by Eric S. Raymond}
265271
\end{itemize}
266272
\end{frame}
267273

@@ -284,13 +290,21 @@ \subsection{Licenses and money}
284290
\end{block}
285291
\begin{itemize}
286292
\item And \href{https://en.wikipedia.org/wiki/Comparison_of_free_and_open-source_software_licenses}{many} \href{https://opensource.org/licenses}{more} licenses\ldots
293+
\item Practical output of using open-source licenses for the user
294+
\begin{itemize}
295+
\item Software can be used anywhere
296+
\item Software can be modified
297+
\item User can learn from the software (from the code), new software can be developed on top of it
298+
\item Easier to find and trace bugs
299+
\item Security --- no back doors
300+
\end{itemize}
287301
\end{itemize}
288302
\end{frame}
289303

290304
\begin{frame}{How to make money with free open-source software?}
291305
\begin{itemize}
292306
\item Traditional model --- user rents right (\enquote{buys a~license}) to use the software (and sometimes for support --- usually for extra money)
293-
\item Common mistake --- software is not \enquote{bought} --- only license is rented (\enquote{permission to use it})
307+
\item Common mistake --- software is not \enquote{bought} --- only license is rented (\enquote{permission to use it} with many limitations)
294308
\item Software as service
295309
\begin{itemize}
296310
\item (F)OSS is available for free --- user can use it as it is or buy a~support --- help of any type
@@ -331,14 +345,18 @@ \section{Linux}
331345
\end{frame}
332346

333347
\begin{frame}{Linux kernel and other parts around it}
334-
\includegraphics[width=\textwidth]{linux_kernel_ubiquity.png}
348+
\begin{center}
349+
\includegraphics[width=\textwidth-3.5cm]{linux_kernel_ubiquity.png}
350+
\end{center}
335351
\vfil
336352
\url{https://en.wikipedia.org/wiki/Linux_distribution}
337353
\vfill
338354
\end{frame}
339355

340356
\begin{frame}{Extremely simplified adaptive radiation of Linux distributions}
341-
\includegraphics[width=\textwidth]{linux_fylogen_2.png}
357+
\begin{center}
358+
\includegraphics[width=\textwidth-1cm]{linux_fylogen_2.png}
359+
\end{center}
342360
\vfil
343361
\url{https://en.wikipedia.org/wiki/List_of_Linux_distributions} and \url{https://distrowatch.com/} ($\sim$850 distributions, $\sim$280 active)
344362
\vfill
@@ -383,43 +401,43 @@ \subsection{Choose one}
383401

384402
\begin{frame}{Ubuntu with GNOME} % TODO Update print screen, add more
385403
\begin{center}
386-
\includegraphics[width=\textwidth]{ubuntu.png}
404+
\includegraphics[width=\textwidth-2cm]{ubuntu.png}
387405
\end{center}
388406
\end{frame}
389407

390408
\begin{frame}{openSUSE with KDE --- Kubuntu is same, but blue\ldots} % TODO Update print screen, add more
391409
\begin{center}
392-
\includegraphics[height=7cm]{opensuse.png}
410+
\includegraphics[height=7.5cm]{opensuse.png}
393411
\end{center}
394412
\end{frame}
395413

396414
\begin{frame}{Fedora with GNOME --- GNOME is always almost same} % TODO Update print screen, add more
397415
\begin{center}
398-
\includegraphics[height=7cm]{fedora.png}
416+
\includegraphics[height=7.5cm]{fedora.png}
399417
\end{center}
400418
\end{frame}
401419

402420
\begin{frame}{Linux Mint with Cinnamon} % TODO Update print screen, add more
403421
\begin{center}
404-
\includegraphics[height=7cm]{mint.png}
422+
\includegraphics[height=7.5cm]{mint.png}
405423
\end{center}
406424
\end{frame}
407425

408426
\begin{frame}{Debian with XFCE --- Xubuntu has more \enquote{modern} design} % TODO Update print screen, add more
409427
\begin{center}
410-
\includegraphics[height=7cm]{debian.png}
428+
\includegraphics[height=7.5cm]{debian.png}
411429
\end{center}
412430
\end{frame}
413431

414432
\begin{frame}{XFCE in Xubuntu, openSUSE, Fedora and Linux Mint} % TODO Update print screen
415433
\begin{center}
416-
\includegraphics[width=\textwidth]{xfce.png}
434+
\includegraphics[width=\textwidth-2.5cm]{xfce.png}
417435
\end{center}
418436
\end{frame}
419437

420438
\begin{frame}{Dolphin (KDE file manager) --- default for openSUSE (inset) and after tuning in the same distribution\ldots} % TODO Update print screen
421439
\begin{center}
422-
\includegraphics[width=\textwidth-0.5cm]{dolphin.png}
440+
\includegraphics[width=\textwidth-2.5cm]{dolphin.png}
423441
\end{center}
424442
\end{frame}
425443

@@ -1018,7 +1036,7 @@ \subsection{Text}
10181036

10191037
\begin{frame}{It \textbf{is} important to select \textbf{good} text editor\ldots}
10201038
\begin{center}
1021-
\includegraphics[width=\textwidth-1cm]{real_programmers.png}
1039+
\includegraphics[width=\textwidth-3cm]{real_programmers.png}
10221040
\end{center}
10231041
\begin{flushright}
10241042
\url{https://xkcd.com/378/}
@@ -1257,7 +1275,9 @@ \section{Command line}
12571275
\end{frame}
12581276

12591277
\begin{frame}{The command line can has various look and feel\ldots}{Change colors, font size, etc. for your terminal to like it more and work comfortably}
1260-
\includegraphics[width=\textwidth]{terminals.png}
1278+
\begin{center}
1279+
\includegraphics[width=\textwidth-2.5cm]{terminals.png}
1280+
\end{center}
12611281
\end{frame}
12621282

12631283
\begin{frame}{BASH and others}
@@ -3614,7 +3634,9 @@ \subsection{Packages}
36143634
\end{frame}
36153635
36163636
\begin{frame}{Graphical package managers I}{Ubuntu Software, and Synaptic and text-based Aptitude for all DEB-based distributions}
3617-
\includegraphics[width=\textwidth]{software_managers_ubuntu_deb.png}
3637+
\begin{center}
3638+
\includegraphics[width=\textwidth-2cm]{software_managers_ubuntu_deb.png}
3639+
\end{center}
36183640
\end{frame}
36193641
36203642
\begin{frame}{Graphical package managers II}{GNOME Software in Fedora and YaST in openSUSE}
@@ -3778,7 +3800,9 @@ \subsection{Windows applications}
37783800
\end{frame}
37793801
37803802
\begin{frame}{winefile, winetricks and winecfg}
3781-
\includegraphics[width=\textwidth]{wine.png}
3803+
\begin{center}
3804+
\includegraphics[width=\textwidth-1.5cm]{wine.png}
3805+
\end{center}
37823806
\end{frame}
37833807
37843808
\section{MetaCentrum}
@@ -4077,7 +4101,9 @@ \subsection{Graphical connection}
40774101
\end{frame}
40784102
40794103
\begin{frame}{Running VNC}
4080-
\includegraphics[width=\textwidth]{vnc.png}
4104+
\begin{center}
4105+
\includegraphics[width=\textwidth-1cm]{vnc.png}
4106+
\end{center}
40814107
\end{frame}
40824108
40834109
\subsection{Data storage}

0 commit comments

Comments
 (0)