Contents
How do I view files in Linux?
Linux And Unix Command To View File
- cat command.
- less command.
- more command.
- gnome-open command or xdg-open command (generic version) or kde-open command (kde version) – Linux gnome/kde desktop command to open any file.
- open command – OS X specific command to open any file.
Why can’t I open a file in Linux?
Possibilities: You have permission to read and execute the directory, but not permission to read or execute the file. You don’t have an application to open that file type. The magic number in the file header doesn’t match the file extension (use the ‘file’ utility to display the file type)