Сенсорная команда «Недопустимая отметка времени» на телефоне Android

pkg_info использование не рекомендуется, и отсюда ваша путаница.

Фактически, подходящей командой для вывода списка уже установленных пакетов FreeBSD является pkg info .

Из man pkg

info Отображение информации об установленных пакетах.

$ pkg info | tail
python27-2.7.13_1              Interpreted object-oriented programming language
readline-6.3.8                 Library for editing command lines as they are typed
screen-4.5.0_2                 Multi-screen window manager
sdig-0.45_1                    Translate IP/DNS/WINS/MAC address into port description
tmux-2.3_2                     Terminal Multiplexer
unbound-1.6.1                  Validating, recursive, and caching DNS resolver
vm-bhyve-1.1.5                 Management system for bhyve virtual machines
wget-1.19                      Retrieve files from the Net via HTTP(S) and FTP
xextproto-7.3.0                XExt extension headers
xproto-7.0.31                  X11 protocol headers

См. Вики FreeBSD Pkg Primer , в которой подробно описано использование команды pkg и эквивалентное использование устаревших команд pkg_ *.

1
04.09.2017, 21:36
1 ответ

Как вы видите здесь touch -tсоздает файлы перед изменением файла.

touch -a    To change file access and modification time.
touch -m    It is used to only modify time of a file.
touch -r    To update time of one file with reference to the other file.
touch -t    To create a file by specifying the time.
touch -c    It does't create an empty file.

Другой способ:

touch -d '23 August 2011 14:05:14' *.png

-d, --date=STRING
              parse STRING and use it instead of current time
0
28.01.2020, 00:49

Теги

Похожие вопросы