Skip to content
Snippets Groups Projects
Commit abf0b885 authored by Goik Martin's avatar Goik Martin
Browse files

Cosmetics

parent dfd6750a
No related branches found
No related tags found
No related merge requests found
......@@ -496,9 +496,10 @@ Usage: grep [-i] [-l] searchString [file 1] [file 2] ...</programlisting>
<orderedlist>
<listitem>
<para>When making the jar file executable using <command
<para>Making the jar file executable using <command
xlink:href="http://linux.die.net/man/1/chmod">chmod</command>
we can omit the <command>java</command> command:</para>
allows for omitting the <command>java</command>
command:</para>
<programlisting language="none">&gt; chmod +x ~/.m2/repository/de/hdm-stuttgart/mi/sd1/grep/0.9/grep-0.9.jar
&gt; ~/.m2/repository/de/hdm-stuttgart/mi/sd1/grep/0.9/grep-0.9.jar
......@@ -513,7 +514,7 @@ Usage: grep [-i] [-l] searchString [file 1] [file 2] ...</programlisting>
<para>We may copy the jar archive to a standard location
containing executable commands:</para>
<programlisting language="none">&gt; mkdir bin
<programlisting language="none">&gt; mkdir ~/bin
&gt;
&gt; cp ~/.m2/repository/de/hdm-stuttgart/mi/sd1/grep/0.9/grep-0.9.jar ~/bin/jgrep
&gt;
......@@ -528,7 +529,8 @@ Usage: grep [-i] [-l] searchString [file 1] [file 2] ...</programlisting>
interpreter for executable commands. This is being achieved by
either creating or modifying a file
<filename>~/.profile</filename> in the user's home directory
using a plain text editor. The file should contain:</para>
using a text editor. <filename>~/.profile</filename> should
contain:</para>
<programlisting language="none">PATH="$HOME/bin:$PATH"</programlisting>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment