Linux command and shell scripting
Write a script that show the information of file, scripts contain the following values.
1)Information placed in file. 2)File size 3)Encoding(file format) |
Code:
# cat writes out the contents of the file. |
Homework
Btw that doesn't mean they don't deserve help, but they do need to tell what they have tried the outcome. |
What have you tried so far?
|
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
|
Use a text editor to view file contents, like vi, gedit, emacs and many others e.g
# vi filename.extention |
All times are GMT -5. The time now is 08:07 PM. |