answersLogoWhite

0

The command file will display what the type of the file is, even if it does not have a file extension. For example:

user@hostname:~$ file image.png

image.png: PNG image data, 639 x 480, 8-bit/color RGB, non-interlaced

user@hostname:~$ file picture

picture: JPEG image data, JFIF standard 1.01, comment: "CREATOR: gd-jpeg v1.0 (using IJ"

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What is the Linux command for displaying a working directory?

The command pwd displays your current/present working directory.


What Linux command is used for displaying all files with extension .c?

ls *.c


What Linux command is used for displaying all the records with space or special characters between fields in the file?

cat


Simplest utility for viewing file content?

The simplest utility for viewing file content in the Linux Terminal, (Terminal as command promt also called DOS in Windows) its called the file command. The simplest utility for viewing file content in the Linux Terminal, (Terminal as command promt also called DOS in Windows) its called the file command.


What does the k command do in Linux?

k is not a standard command in Linux.


Write a Linux command to print the content of a given directory to a given file?

ls /this/dir/path > dirfile


What is the command to turn on Linux?

There is no such command. Obviously, in order to enter a command into the prompt, Linux must already be on.


What does the Linux command netstat-r do?

It will display the content of all routing tables, or a routing table for a particular address family.


Which Linux command is equivalent to Windows' MD command?

In a Linux terminal, the command to create a new directory is: mkdir .


What Linux command sets a files permission?

In Linux the chmod command is used to set file permissions.


How do you convert content of file from lower to upper and upper to lower by using tr command in Linux?

ls -l | tr 'a-z' 'A-Z'


What is helo for Linux?

Nothing. Helo is not a recognized command in linux.