Categories
Linux Mastering Development Ubuntu

How to write a shell script that shows just the content of the files with more than 8 lines from the current director?

I’m new in shell scripting. How can I write a shell script that shows just the content of the files with more than 8 lines from the current directory (in Ubuntu)? I know that I must use the command head and take a for that goes through all the files and also a counter that […]

Categories
Linux Mastering Development Ubuntu

How to write a shell script that shows just the content of the files with more than 8 lines from the current director?

I’m new in shell scripting. How can I write a shell script that shows just the content of the files with more than 8 lines from the current directory (in Ubuntu)? I know that I must use the command head and take a for that goes through all the files and also a counter that […]