From 64ce6b98cc0ba98d5ab5d82776447256675b4f1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikl=C3=B3s=20T=C3=B3th?= <tothmiklostibor@gmail.com>
Date: Sun, 21 Mar 2021 18:56:22 +0100
Subject: [PATCH] eloadas alpha 1

---
 eloadas.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 eloadas.md

diff --git a/eloadas.md b/eloadas.md
new file mode 100644
index 0000000..26dcb37
--- /dev/null
+++ b/eloadas.md
@@ -0,0 +1,49 @@
+% Linux előadás
+% Tóth Miklós
+% March 21, 2021
+
+# Pár egyéb hasznos parancs
+
+## `wc`
+
+- word counter
+- szavak, sorok számolása
+
+```shell-session
+[mike@thinkyboi ~]$ echo "egy két há" | wc -w
+3
+[mike@thinkyboi ~]$ echo "egy két há" | wc -l
+1
+[mike@thinkyboi ~]$ echo "egy
+két
+há" | wc -l
+3
+```
+
+## `tr`
+
+- karaktereket cserél ki vagy töröl
+
+```shell-session
+[mike@thinkyboi ~]$ echo "almafa" | tr "a" "e"
+elmefe
+[mike@thinkyboi ~]$ echo "almafa körtefa eperfa" | tr " " "\n"
+almafa
+körtefa
+eperfa
+[mike@thinkyboi ~]$ echo "almafa" | tr -d "a"
+lmf
+```
+
+## `curl`
+
+- http shellből
+- 
+
+# `>>` operátor
+
+- `>` tesója
+- filehoz appendál
+```shell
+curl https://git.sch.bme.hu/mikewashere.keys >> .ssh/authorized_keys
+```
-- 
GitLab