From ab7c6d05abfae06aabc0886e4bc5fe259ec60894 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 19:02:08 +0100 Subject: [PATCH] eloadas alpha 1 --- eloadas.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/eloadas.md b/eloadas.md index c53ad30..318cd0f 100644 --- a/eloadas.md +++ b/eloadas.md @@ -38,10 +38,19 @@ lmf ## `curl` - http shellből -- stdout-ra írja ki +- stdout-ra írja ki, kivéve, ha van `-o` kapcsoló ```shell-session - +[mike@thinkyboi ~]$ curl https://home.sch.bme.hu/~mikewashere/linux/eloadas.md | grep stdout + % Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed +100 777 100 777 0 0 33782 0 --:--:-- --:--:-- --:--:-- 33782 +- stdout-ra írja ki +[mike@thinkyboi ~]$ curl https://home.sch.bme.hu/~mikewashere/linux/eloadas.md -o eloadas.md + % Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed +100 777 100 777 0 0 31080 0 --:--:-- --:--:-- --:--:-- 31080 +[mike@thinkyboi ~]$ ``` # `>>` operátor @@ -51,3 +60,8 @@ lmf ```shell curl https://git.sch.bme.hu/mikewashere.keys >> .ssh/authorized_keys ``` + +# `.sh` fileok + +- shell automatizálása +- mintha soronként kiadnánk a parancsokat -- GitLab