Skip to main content
Post Migrated Here from stackoverflow.com (revisions)
Source Link
Kiran
Kiran

file <file_name> : Display the type of file cat <file_name> : Display the content of the file and outputs it on stdout.

You can use vi, emacs command to edit the file in Unix environment. If you do not have expertise in using vi/emacs you might find it little difficult to edit the file.

If you have X11 enabled, You can use a number of Linux editors like gvim, kate, kwrite, kdevelop etc.

Kwrite is my personal favorite in Linux.