summary refs log tree commit diff
path: root/Cheat sheets/Commands.md
diff options
context:
space:
mode:
Diffstat (limited to 'Cheat sheets/Commands.md')
-rw-r--r--Cheat sheets/Commands.md51
1 files changed, 0 insertions, 51 deletions
diff --git a/Cheat sheets/Commands.md b/Cheat sheets/Commands.md
deleted file mode 100644
index a27bd8e..0000000
--- a/Cheat sheets/Commands.md
+++ /dev/null
@@ -1,51 +0,0 @@
----
-description: Handy commands i use on my Linux distro machines
-created: 2024-01-01
----
-
-
-## Convert markdown to HTML
-e.g. to preview a markdown file
-Reqires [python-markdown](https://python-markdown.github.io/install/)
-
-```bash
-python3 -m markdown README.md > /tmp/README.html
-```
-
-To load extensions like code blocks:
-```bash
-python3 -m markdown -x fenced_code -x codehilite -x tables README.md > /tmp/README.html
-```
-
-## List packages
-Arch
-```
-pacman -Q
-```
-
-Debian
-```bash
-dpkg -l
-```
-
-## List package files
-Arch
-```bash
-pacman -Ql cowsay
-```
-
-Debian
-```bash
-dpkg -L cowsay
-```
-
-## Check USB eject progress
-The OS will lie, and tell you that it's done writing a file, while in reality it's not to flush this cache type:
-```bash
-sync
-```
-
-To monitor progress:
-```bash
-watch -n 0.5 grep 'Dirty' /proc/meminfo
-```
\ No newline at end of file