This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
команды_для_работы_с_файловой_системой [2018/03/20 14:30] val [Просмотр файловой системы - ls] |
команды_для_работы_с_файловой_системой [2024/04/03 12:46] val [Копирование файлов и каталогов - cp] |
||
---|---|---|---|
Line 26: | Line 26: | ||
linux | linux | ||
- | # mount -o remount,strictatime / | + | $ ls -lut /etc/krb5.keytab |
- | $ ls -lu --time-style=full-iso /etc/krb5.keytab | + | |
freebsd | freebsd | ||
Line 84: | Line 83: | ||
===== Копирование файлов и каталогов - cp ===== | ===== Копирование файлов и каталогов - cp ===== | ||
- | [[http://ru.wikipedia.org/wiki/Cp]] | + | * [[https://ru.wikipedia.org/wiki/Cp]] |
+ | * [[https://www.baeldung.com/linux/copy-directory-to-existing-directory|How to Copy a Directory to an Existing Directory in Linux | ||
+ | ]] | ||
<code> | <code> | ||
Line 122: | Line 123: | ||
[[http://ru.wikipedia.org/wiki/Df]] | [[http://ru.wikipedia.org/wiki/Df]] | ||
- | ключи -h, -T, -t ufs, -t ext4 | + | ключи -i, -h, -T, -t ufs, -t ext4 |
==== Размер каталога - du ==== | ==== Размер каталога - du ==== | ||
Line 139: | Line 140: | ||
$ du --max-depth=1 /usr/share/ | $ du --max-depth=1 /usr/share/ | ||
$ du -s /usr/share/* | $ du -s /usr/share/* | ||
+ | |||
+ | $ ls -d /usr/share/[abcd]* | ||
+ | $ du -ch /usr/share/[abcd]* | tail -n 1 | ||
</code> | </code> | ||