Skip to content

Commit

Permalink
Bash: add examples for the highlighting of commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Mar 13, 2015
1 parent 551cebc commit afb3cd5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion examples/prism-bash.html
Expand Up @@ -32,4 +32,17 @@ <h2>Keywords</h2>
else
echo "Directory does not exists"
fi
</code></pre>
</code></pre>

<h2>Some well-known commands</h2>
<pre><code>crontab -l -u USER | grep -v 'YOUR JOB COMMAND or PATTERN' | crontab -u USER -

groups user1 user2|cut -d: -f2|xargs -n1|sort|uniq -d

wget -q -O - http://www.example.com/automation/remotescript.sh | bash /dev/stdin parameter1 parameter2

sudo dpkg -i vagrant_1.7.2_x86_64.deb

git pull origin master

sudo gpg --refresh-keys; sudo apt-key update; sudo rm -rf /var/lib/apt/{lists,lists.old}; sudo mkdir -p /var/lib/apt/lists/partial; sudo apt-get clean all; sudo apt-get update</code></pre>

0 comments on commit afb3cd5

Please sign in to comment.