Skip to content

Commit e325f22

Browse files
committed
Notes after teaching.
1 parent 6374df0 commit e325f22

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

presentation/linux_bash_metacentrum_course.tex

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ \subsection{Permissions}
986986
\end{bashcode}
987987
\end{frame}
988988

989-
\begin{frame}[allowframebreaks]{Extending permissions --- ACL (Access control list)}
989+
\begin{frame}[allowframebreaks]{Extending permissions --- ACL (Access control list)} % TODO No slashes, setfacl must be '-Rm'
990990
\label{acl}
991991
\begin{itemize}
992992
\item By default, it is not possible to give specific permission to the user who is not owner, nor member of group owning the file
@@ -1658,7 +1658,7 @@ \subsection{Searching}
16581658
\item Where is executable of \texttt{mc}? Why can be such information useful?
16591659
\item Which software is related to keywords \texttt{permission} and \texttt{compress} (use e.g. \texttt{apropos})? Use \texttt{man} to explore some of them.
16601660
\end{enumerate}
1661-
\begin{block}{Tasks with \texttt{find}}
1661+
\begin{block}{Tasks with \texttt{find}} % TODO Make it clear that there will be individual archives for each file
16621662
\begin{enumerate}
16631663
\item Find all \texttt{*.vcf.gz} files in whole \texttt{/home}. Why do you get errors for some directories?
16641664
\item Compress, see and decompress all shell scripts in your home directory.
@@ -2238,7 +2238,7 @@ \subsection{Network}
22382238
\end{itemize}
22392239
\end{frame}
22402240
2241-
\begin{frame}[fragile]{Basic network information and testing} % TODO Rewrite netstat examples for ss
2241+
\begin{frame}[fragile]{Basic network information and testing}
22422242
\begin{bashcode}
22432243
hostname # Get name of the computer
22442244
ping web.natur.cuni.cz # Ping host. Is it alive? Cancel by Ctrl+C
@@ -3411,7 +3411,7 @@ \subsection{Regular expressions}
34113411
\end{enumerate}
34123412
\end{frame}
34133413
3414-
\section{Scripting}
3414+
\section{Scripting} % TODO For each script add explanation what it does. Preferably more useful examples.
34153415
34163416
\begin{frame}{Scripting}{Basics of writing scripts in BASH}
34173417
\tableofcontents[currentsection, sectionstyle=show/hide, hideothersubsections]
@@ -4323,7 +4323,7 @@ \subsection{Compilation}
43234323
\end{bashcode}
43244324
\end{frame}
43254325
4326-
\begin{frame}[fragile]{Compilation of RAxML}
4326+
\begin{frame}[fragile]{Compilation of RAxML} % TODO Use Git instead of SVN.
43274327
\begin{itemize}
43284328
\item Available from \url{https://github.com/stamatak/standard-RAxML}
43294329
\item Before compilation check \href{https://github.com/stamatak/standard-RAxML/blob/master/README.md}{README}
@@ -4344,7 +4344,7 @@ \subsection{Compilation}
43444344
\end{bashcode}
43454345
\end{frame}
43464346
4347-
\begin{frame}[fragile]{Compilation of SAMtools}
4347+
\begin{frame}[fragile]{Compilation of SAMtools} % TODO Use Git instead os wget
43484348
\begin{itemize}
43494349
\item See \url{https://www.htslib.org/download/}
43504350
\item Ensure packages \texttt{zlib} and \texttt{zlib-dev(el)} are installed --- required for running and compilation, see \href{https://github.com/samtools/samtools/blob/master/INSTALL}{INSTALL} and \href{https://github.com/samtools/samtools/blob/master/README}{README}
@@ -4479,7 +4479,7 @@ \subsection{Games}
44794479
\end{itemize}
44804480
\end{frame}
44814481
4482-
\section{MetaCentrum}
4482+
\section{MetaCentrum} % TODO Update syntax according to newest scripts and standards
44834483
44844484
\begin{frame}{MetaCentrum}
44854485
\tableofcontents[currentsection, sectionstyle=show/hide, hideothersubsections]
@@ -4615,7 +4615,7 @@ \subsection{Usage}
46154615
46164616
\subsection{Tasks}
46174617
4618-
\begin{frame}[fragile]{Basic skeleton of script running tasks I}
4618+
\begin{frame}[fragile]{Basic skeleton of script running tasks I} % TODO Check usage of trap.
46194619
\begin{bashcode}
46204620
#!/bin/bash
46214621
# Modify the script according to your needs!
@@ -5050,7 +5050,7 @@ \subsection{Git principle}
50505050
\end{multicols}
50515051
\end{frame}
50525052
5053-
\subsection{Git basics}
5053+
\subsection{Git basics} % TODO Bit reorder commands so it is more fluent.
50545054
50555055
\begin{frame}[fragile]{Working with Git --- start and sending changes}
50565056
\begin{bashcode}
@@ -5138,7 +5138,7 @@ \subsection{Git basics}
51385138
51395139
\subsection{}
51405140
5141-
\begin{frame}{Git tasks}
5141+
\begin{frame}{Git tasks} % TODO Make clear they work from their notebooks.
51425142
\begin{enumerate}
51435143
\item Clone over SSH repository \texttt{[email protected]:/srv/dadaism} (use your credentials on the testing server) and go to \texttt{dadaism} directory.
51445144
\item Communicate with others to avoid conflicting edits.
@@ -5163,7 +5163,7 @@ \section{Administration}
51635163
\end{multicols}
51645164
\end{frame}
51655165
5166-
\subsection{System services}
5166+
\subsection{System services} % TODO Check how it is in Debian/Ubuntu. Possibly drop init and/or RC scripts?
51675167
51685168
\begin{frame}[fragile]{Managing system services}
51695169
\begin{itemize}
@@ -5458,4 +5458,6 @@ \subsection{The very end}
54585458
54595459
% TODO Missing topics
54605460
% * https://wiki.control.fel.cvut.cz/osp/
5461+
% * More tasks.
5462+
% * Possibly some reorders.
54615463

0 commit comments

Comments
 (0)