课程: Learning Linux Shell Scripting

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Challenge: Read a text file

Challenge: Read a text file

(clanging) - [Instructor] Let's show what we know with a challenge. Create a script named read3.sh. Have it read a file name passed as a parameter. It should only display the first three lines of the file with line counts. Use what you already know how to do. Give yourself five or 10 minutes to complete this challenge.

内容