Skip to content

ubuntupunk/ubuntu-cheatsheet

Repository files navigation

Ubuntu OS Cheat Sheet

This cheat sheet contains commands and examples for ubuntu 22.04.

It is based upon the Ubuntu Server Cheatsheet

Thanks to Zeepler for the pandoc inspiration.

Downloads

The files are generated with the help of generate.sh

Other formats

The PDF and HTML file is generated by using Pandoc.

Pandoc can generate different files from one markdown text file.

# outputs the ubuntu cheat sheet as PDF file
pandoc metadata.yaml ubuntu-cheatsheet.md -s -o ubuntu-cheatsheet.pdf

# outputs the ubuntu cheat sheet as HTML (HTML5) file
pandoc metadata.yaml ubuntu-cheatsheet.md -s -t html5 -o ubuntu-cheatsheet.html

# outputs the ubuntu cheat sheet as plain text
pandoc ubuntu-cheatsheet.md -s -t plain -o ubuntu-cheatsheet.txt

ubuntu-cheatsheet.md is the input file and ubuntu-cheatsheet.xxx the output file.

metadata.yaml contains some additional metadata information for the PDF and HTML generation.

Pandoc is furthermore able to generate files for asciidoc, odt, docx, textile and many more. Please have a look at Pandoc Demos.