aboutsummaryrefslogtreecommitdiff
path: root/doc/gnunet-c-tutorial.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gnunet-c-tutorial.tex')
-rw-r--r--doc/gnunet-c-tutorial.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/gnunet-c-tutorial.tex b/doc/gnunet-c-tutorial.tex
index 73c376b0b..714333672 100644
--- a/doc/gnunet-c-tutorial.tex
+++ b/doc/gnunet-c-tutorial.tex
@@ -262,13 +262,13 @@ your own peer's DHT with respect to the specified KEY:
262$ gnunet-arm -c ~/peer1.conf -s # start gnunet with all default services 262$ gnunet-arm -c ~/peer1.conf -s # start gnunet with all default services
263$ gnunet-arm -c ~/peer1.conf -i dht # start DHT service 263$ gnunet-arm -c ~/peer1.conf -i dht # start DHT service
264$ cd ~/gnunet/src/dht; 264$ cd ~/gnunet/src/dht;
265$ ./gnunet-dht-monitor -c ~/gnunet1/peer1.conf -k KEY 265$ ./gnunet-dht-monitor -c ~/peer1.conf -k KEY
266\end{lstlisting} 266\end{lstlisting}
267Now open a separate terminal and change again to the \lstinline|gnunet/src/dht| directory: 267Now open a separate terminal and change again to the \lstinline|gnunet/src/dht| directory:
268\begin{lstlisting} 268\begin{lstlisting}
269$ cd ~/gnunet/src/dht 269$ cd ~/gnunet/src/dht
270$ ./gnunet-dht-put -c ~/peer1.conf -k KEY -d VALUE # put VALUE under KEY in the DHT 270$ ./gnunet-dht-put -c ~/peer1.conf -k KEY -d VALUE # put VALUE under KEY in the DHT
271$ ./gnunet/src/dht/gnunet-dht-get -k KEY # get key KEY from the DHT 271$ ./gnunet/src/dht/gnunet-dht-get ~/peer1.conf -k KEY # get key KEY from the DHT
272$ gnunet-statistics -c ~/peer1.conf # print statistics about current GNUnet state 272$ gnunet-statistics -c ~/peer1.conf # print statistics about current GNUnet state
273$ gnunet-statistics -c ~/peer1.conf -s dht # print statistics about DHT service 273$ gnunet-statistics -c ~/peer1.conf -s dht # print statistics about DHT service
274\end{lstlisting} 274\end{lstlisting}
@@ -279,7 +279,7 @@ We will now start a second peer on your machine.
279For the second peer, you will need to manually create a modified 279For the second peer, you will need to manually create a modified
280configuration file to avoid conflicts with ports and directories. 280configuration file to avoid conflicts with ports and directories.
281A peers configuration file is by default located in {\tt ~/.gnunet/gnunet.conf}. 281A peers configuration file is by default located in {\tt ~/.gnunet/gnunet.conf}.
282This file is typically very short or event empty as only the differences to the 282This file is typically very short or even empty as only the differences to the
283defaults need to be specified. The defaults are located in 283defaults need to be specified. The defaults are located in
284many files in the {\tt \$GNUNET\_PREFIX/share/gnunet/config.d} directory. 284many files in the {\tt \$GNUNET\_PREFIX/share/gnunet/config.d} directory.
285 285