|
@@ -168,4 +168,27 @@ Perhé un fisico dovrebbe conoscere ed utilizzare il sistema \texttt{GNU/Linux}?
|
|
|
mostrate a schermo
|
|
|
\end{itemize}
|
|
|
\end{itemize}
|
|
|
+
|
|
|
+\subsection{\texttt{bash}}
|
|
|
+\begin{itemize}
|
|
|
+\item Shell del progetto GNU
|
|
|
+\item \texttt{bash} = \emph{Bourne Again SHell} (Stephen Bourne)
|
|
|
+\item \`E interprete dei comandi e linguaggio di scripting
|
|
|
+\item Se chiamata come \texttt{sh} o con la flag \texttt{--posix}
|
|
|
+ comportamento conforme al POSIX (\texttt{sh})
|
|
|
+\item Alcune feature:
|
|
|
+ \begin{itemize}
|
|
|
+ \item Redirezione in e out $\rightarrow$ \texttt{>}, \texttt{>>}, \texttt{<}
|
|
|
+ \item Pipeline $\rightarrow$ \texttt{|}
|
|
|
+ \item Liste di comandi $\rightarrow$ \texttt{;}, \texttt{\&}, \texttt{\&\&}, \texttt{||}
|
|
|
+ \item \texttt{$\sim$} expansion
|
|
|
+ \item Parametri $\rightarrow$ definizione, valutazione, variabili speciali (in particolare
|
|
|
+ \texttt{PATH})
|
|
|
+ \item Cicli e condizioni: \texttt{if}, \texttt{for}, \texttt{while}
|
|
|
+ \item \texttt{history}
|
|
|
+ \item \emph{Tab completion}
|
|
|
+ \item Esempio di script: \texttt{hello.sh}
|
|
|
+ \end{itemize}
|
|
|
+\end{itemize}
|
|
|
+
|
|
|
\end{document}
|