Hands-on task
This task is step 1 of the course “cut, sort, uniq and friends”
How many lines are in the file
Count how many lines the file /var/log/app.log has and write that number (just the number) to /root/lines.txt.
What you'll practise:
- wc
- -l lines
- counting
- < redirection
- stdin