Tuesday, July 21, 2009

Find encoding of given file linux

It is simple to find encoding of a given file in linux
by simply using this command

file filename

eg:


vimal@TECH-10:~$ file vimal
vimal: ASCII text

3 comments:

  1. applause.. for moving over the 100th posting... all the best friends..

    ReplyDelete
  2. da get me the commands to erase the linux boot loader like grub or anything back to the previous windows one...

    to be precise want to rewrite the mbr back to windows boot loader..

    ReplyDelete
  3. That is not encoding of the file. Rather that is the file type.

    If you have a file named vimal.html and try: "file vimal.html" the response would be "vimal.html : HTML document type".

    ReplyDelete

LinkWithin

Related Posts with Thumbnails