Vamos descrever cada comando:
Touch - Atualiza a data e a hora de modificação e de acesso de um arquivo para a data e a hora atuais.
-a - Atualiza apenas a data e a hora de acesso
-c , --no-create Não cria arquivos
Como a questão é NINJA basta saber apenas a função desse comando que acerta a questão!
du - Exibe o tamanho de arquivos e/ou diretórios
-c - Exibe a soma dos tamanhos de todos os arquivos que tenham sido processados
-h, --human-readable -Acrescenta M (de Mbytes) para cada tamanho apresentado.
Fonte: Comandos Do Linux Guia de Consulta Rapida - Roberto G A Veiga - Novatec
Apenas complementando:
rpm is a powerful Package Manager, which can be used to build, install, query, verify, update, and erase individual software packages.
Parâmetros utilitados:
-q:
Use the -q flag to tell RPM to display the package name, version number, and release number of a package that's already installed
-a, --all:
Query all installed packages.
Utilizando o yum em vez do rpm seria:
yum list installed
Lists all packages installed on your system. The rightmost column in the output lists the repository from which the package was retrieved.
Fonte:
https://linux.die.net/man/8/yum
https://lowfatlinux.com/linux-rpm-query.html
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-listing_packages
Com relação ao touch, o parâmetro -h também poderia ser utilizado para evitar a criação do arquivo:
A FILE argument that does not exist is created empty, unless -c or -h is supplied.
-c, --no-create do not create any files
-h, --no-dereference affect each symbolic link instead of any referenced file (useful only on systems that can change the timestamps of a symlink)
Fonte: man pages