I'm currently using Ubuntu 14.04.1 LTS on both desktop and laptop.
I've been using Ubuntu for a couple of years and recently took the courage to buy a book about commands in Linux, but I've found a problem that has been bugging me for days now.
The book presents the file command written on the terminal as:
$ file picture.jpg
But when I type
file whatever the message
ERROR: cannot open 'whatever' (No such file or directory) appears.
I've tried to type the file with and without the extension. I've tried on both PCs, even naming a
picture to replicate the results shown in the book. No results.
Am I writing the command wrongly? Is this book outdated for Ubuntu 14.04.1?