Uživatelské nástroje

Nástroje pro tento web


linux:bash

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revizePředchozí verze
linux:bash [2020/06/01 20:35] – Added "KEEP 2 LAST NEW SUBDIRECTORIES" section nost23linux:bash [2020/06/01 21:05] (aktuální) – [KEEP 2 LAST NEW SUBDIRECTORIES] added note on head usage nost23
Řádek 64: Řádek 64:
  
 It's kinda hack to get rid of parent directory [ "/tmp" here ]. It's kinda hack to get rid of parent directory [ "/tmp" here ].
 +</WRAP>
 +
 +<WRAP info>
 +NOTE: usage of //head// instead of //tail//
 +<code>
 +head -n -2
 +</code>
 +this way we keep always 2 in case of less subdirectories.
 </WRAP> </WRAP>
linux/bash.1591043736.txt.gz · Poslední úprava: 2020/06/01 20:35 autor: nost23