Debian 9.3 - untar fails saying the file doesn't exist
I ran the following in Debian 9.3:
cd /usr/local/src
wget
The file was downloaded just fine, and yet, when I execute:
tar -xzfv maldetect-current.tar.gz
I get:
tar (child): v: Cannot open: No such file or directory tar (child):
Error is not recoverable: exiting now tar: Child returned status 2
tar: Error is not recoverable: exiting now
But `ls -la` shows that the file does indeed exist:
/usr/local/src# ls -la
total 3144
drwxrwsr-x 2 root staff 4096 Jan 8 11:46 .
drwxrwsr-x 11 root staff 4096 Jan 8 11:40 ..
-rw-r--r-- 1 root staff 1605546 Jul 14 04:45 maldetect-current.tar.gz
The filename should follow immediately after the f option.