Shell scripting pros
I'm looking for some help from anyone who knows shell scripting, I'm trying to do the following:
1-Accept a string form the terminal and use case to echo a suitable message if the string doesn't have at least 10 characters.
and
2-Write a script that displays, in head-style, the last three lines of each file in the current directory, duly preceded by the filename.
Thanks.
|