You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: presentation/linux_bash_metacentrum_course.tex
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ \section{Introduction}
111
111
\begin{frame}{Materials to help you\ldots}
112
112
\begin{itemize}
113
113
\item Download the presentation from \url{https://soubory.trapa.cz//linuxcourse/linux_bash_metacentrum_course.pdf}
114
-
\item Download the scripts and toy data from \url{https://soubory.trapa.cz//linuxcourse/scripts.zip}
114
+
\item Download the scripts and toy data from \url{https://soubory.trapa.cz/linuxcourse/scripts.zip}
115
115
\begin{itemize}
116
116
\item\alert{Note:} Open the scripts in some \alert{good} text editor (slide~\ref{editors}) -- showing syntax highlight, line numbers, etc. (\alert{NO} Windows notepad); the files are in UTF-8 encoding and with UNIX end of lines (so that too silly programs like Windows notepad won't be able to open them correctly)
117
117
\item\alert{Never ever} open any script file in software like MS~Word -- they destroy quotation marks and other things by ``typographical enhancements'' making the script unusable
@@ -1819,7 +1819,7 @@ \subsection{Timing}
1819
1819
* * * * * /usr/bin/command
1820
1820
10221 * * # 1st day in month, 23:11
1821
1821
0 */3 * * * # Every 3 hours
1822
-
011 * * 6 # Every Sunday, 12:00
1822
+
011 * * 0 # Every Sunday, 12:00
1823
1823
303 */2 * * # Every even day, 4:31
1824
1824
*/15 * * * 0,4 # At Sun and Fri every 15 min
1825
1825
# Columns are separated by any number of spaces
@@ -2040,7 +2040,7 @@ \subsection{Manipulations}
2040
2040
sed '5s/...' # range (e.g. 1,7) right before "s" ("$" for last line)
2041
2041
sed '1~2n;s/F/R/g' # Work on every second line, starting by line 1
2042
2042
sed -n '2~10p' # Print every 10th line, starting with line 2
2043
-
seq 1100 | sed -n '2~10p' # Example of above pattern (see seq 1100)
2043
+
seq 1100 | sed -n '2~10p' # Example of above pattern (see "seq 1100")
2044
2044
# Replace first TAB (\t) on each line by new line (\n)
2045
2045
sed 's/\t/\n/' textfile
2046
2046
sed 's/find/replace/g' somedirectory/* # Work on all files in directory
@@ -2714,7 +2714,7 @@ \subsection{Loops}
2714
2714
while ...; do # Start cyclus as you need
2715
2715
commands...
2716
2716
if [condition]; then # If something happens
2717
-
break; fi # End up the cyclus and continue by following commands
2717
+
break; fi # End up the cyclus and continue by following commands
0 commit comments