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
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1297,11 +1297,13 @@ \subsection{BASH}
1297
1297
\item\textbf{Interpreter of our commands inserted into command line}
1298
1298
\item\textbf{BASH} --- Bourne again shell
1299
1299
\begin{itemize}
1300
-
\item Probably the most common shell, based on original \texttt{sh}, respecting original specification, adding new features
1300
+
\item Probably the most common shell, based on original \texttt{sh}, respecting original specification, adding new features; probably the most common
1301
1301
\item We will use it
1302
1302
\end{itemize}
1303
-
\item Other variants: \textbf{csh} (syntax influenced by C), \textbf{ksh} (younger, backward compatible with bash), \textbf{zsh} (extended bash), \textbf{ash} (mainly in BSD)
1304
-
\item There are some differences in syntax and features
1303
+
\item Other variants: \textbf{csh} (syntax influenced by C), \textbf{ksh} (younger, backward compatible with bash), \textbf{zsh} (extended bash; probably the most advanced, not so common), \textbf{ash} (mainly in BSD)
1304
+
\begin{itemize}
1305
+
\item There are some differences in syntax and features
1306
+
\end{itemize}
1305
1307
\item Language suitable for easy scripting and system tasks, not for \enquote{big} programming, neither for graphical applications
1306
1308
\end{itemize}
1307
1309
\end{frame}
@@ -1350,18 +1352,18 @@ \subsection{BASH}
1350
1352
\item In any text editor open \texttt{$\sim$/.bashrc} (and/or \texttt{$\sim$/.bash\_profile}) and edit it
1351
1353
\item Behavior of BASH can be set to fit user's needs
1352
1354
\item Terminal emulators allow to set custom fonts and colors,~\ldots
1353
-
\item Prompt can be colored using custom values of \texttt{PS1} and \texttt{PS2} variables (\texttt{export PS1='\ldots'}), see \href{https://www.howtogeek.com/307701/how-to-customize-and-colorize-your-bash-prompt/}{examples}
1355
+
\item Prompt can be colored using custom values of \texttt{PS1} and \texttt{PS2} variables (\texttt{export PS1='\ldots'}), see \href{https://www.howtogeek.com/307701/how-to-customize-and-colorize-your-bash-prompt/}{examples} and \href{https://duckduckgo.com/?t=ffab\&q=how+to+customize+linux+bash+prompt\&ia=web}{search}
1354
1356
\end{itemize}
1355
1357
\vfill
1356
1358
\begin{bashcode}
1357
-
# More colors for outputs (typically ls)
1358
-
eval "$(dircolors -b)"
1359
+
eval "$(dircolors -b)" # More colors for outputs (typically ls)
1359
1360
# Colored GCC warnings and errors (useful for compilation)
0 commit comments