Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Picasoft
APIs
Init
Linux
Commits
5b14aac6
Verified
Commit
5b14aac6
authored
Jan 22, 2019
by
Quentin Duchemin
Browse files
Micro-corrections de forme
parent
f58188db
Pipeline
#33844
passed with stages
in 1 minute and 13 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/cli/adv.tex
View file @
5b14aac6
...
...
@@ -41,7 +41,7 @@
La commande ``
\cmd
{
ls -l
}
'' permet d'afficher le propriétaire d'un fichier.
\begin{beamercolorbox}
[wd=
\linewidth
,rounded=true,shadow=true]
{
terminal
}
\begin{Verbatim}
$
ls
-
l
/
etc
/
shadow
$
ls
-
l
/
etc
/
shadow
-
rw
-
r
-----
1
root shadow
1296
janv.
4
12
:
15
/
etc
/
shadow
\end
{
Verbatim
}
\end
{
beamercolorbox
}
...
...
@@ -218,14 +218,17 @@ bonnetst adm cdrom sudo dip plugdev lpadmin sambashare
\item
\cmd
{
\$
myvar
}
accède à la valeur de la variable
\cmd
{
myvar
}
.
\end{itemize}
\end{block}
\begin{beamercolorbox}
[rounded=true,shadow=true]
{
terminal
}
\begin{Verbatim}
\end{frame}
\begin{frame}
[fragile]
{
Les variables
}
\framesubtitle
{
Exemple
}
\begin{beamercolorbox}
[rounded=true,shadow=true]
{
terminal
}
\begin{Verbatim}
$
myvar
=
"hello"
$
echo
$
myvar
hello
\end
{
Verbatim
}
\end
{
beamercolorbox
}
\end
{
Verbatim
}
\end
{
beamercolorbox
}
\end
{
frame
}
\begin
{
frame
}
[
fragile
]
{
Export de variables
}
...
...
src/cli/semi-adv.tex
View file @
5b14aac6
...
...
@@ -20,7 +20,7 @@
Remplace toute suite de caractères dans un motif. S'il est utilisé seul, remplace tout mot.
\begin{exampleblock}
{
Créons des fichiers
}
\cmd
{
cd ; mkdir api ; cd api
}
\cmd
{
cd ; mkdir api ; cd api
}
\\
\cmd
{
touch here that there this
}
\end{exampleblock}
...
...
@@ -452,7 +452,7 @@ $ find . -name 'file_1*' -print
\begin
{
block
}{
Explication
}
\begin
{
itemize
}
\item
\cmd
{
cp
}
]
est exécutée pour chaque fichier trouvé
\item
\cmd
{
cp
}
est exécutée pour chaque fichier trouvé
\item
\cmd
{
\{\}
}
est remplacé par le nom du fichier trouvé
\item
\cmd
{
\textbackslash
;
}
indique la fin de la commande.
\end
{
itemize
}
...
...
@@ -1141,7 +1141,7 @@ Nous sommes le mardi 22 janvier 2019.
\begin{frame}
[fragile]
{
Rappeler des commandes
}
\cmd
{
bash
}
maintient un historique des commandes et permet de les rappeler pour ne pas avoir à les retaper.
L'historique est stocké
dans le fichier
\verb
+
~/.bash
\
_history
+
.
dans le fichier
\verb
+
~/.bash_history
+
.
\begin{itemize}
\item
La commande ``
\cmd
{
history
}
'' affiche l'historique.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment