I want to output "hello" when
rpm -qf /etc/redhat-release is typed.
Otherwise rpm should work as it would normally.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community