Termux cheatsheet

Published: May 29, 2019

Code snippets for Termux , a brilliant terminal emulator for Android.


Table of contents

This cheatsheet is a small collection of handy snippets for quick reference in tricky situations. Feel free to suggest edits, propose additions, complain about something, disagree with content or such and the like. Every feedback is a welcome one.

Termux & MariaDB

How to run MariaDB, the alternative to MySQL, on Termux

# Install MariaDB
pkg mariadb

# Run this multi-line command
cd '/data/data/com.termux/files/usr' ; \ 
/data/data/com.termux/files/usr/bin/mysqld_safe \ 
--datadir='/data/data/com.termux/files/usr/var/lib/mysql'

Christoffer Lybekk

Developer under development

Explore more articles with similar tags

TermuxMySQLMariaDBCheatsheet

Article stats


12words

2sentences

2paragraphs

1 minread time