This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
basic-unix:capitole:capitol-09 [2016/05/26 19:08] razvan [Generare parole aleatoare] |
basic-unix:capitole:capitol-09 [2016/05/27 11:22] (current) razvan [Generare parole aleatoare] |
||
---|---|---|---|
Line 93: | Line 93: | ||
</code> | </code> | ||
</note> | </note> | ||
+ | |||
+ | ==== Arhiva .tar.bz2 ==== | ||
+ | |||
+ | <code> | ||
+ | tar -c -j -f top-files.tar.bz2 $(stat -c "%n %s" $(find /usr/share/man -type f) | sort -k 2n | tail -20 | cut -d ' ' -f 1) $(stat -c "%n %s" $(find /etc -type f) | sort -k 2n | tail -30 | cut -d ' ' -f 1) | ||
+ | </code> |