Linux foundationsLesson 3 of 7
Reading files like an analyst
Read the start, end and size of any file, and tell what a file really is.
0 of 5 tasks · about 9 min
Step 1
The problem with cat
The company's online shop runs on this server, and its web server writes one line for every visit to
/var/log/nginx/access.log.You already know
cat. Try it on this log and see what happens:cat /var/log/nginx/access.log(Type
cat /var/log/ngand press Tab to save typing.)Print the whole web access log with
cat.Do it in the terminal. This ticks itself off when you have.
4 more steps after this one
Practice lab for "Reading files like an analyst". Type commands here and press Enter. Run help to list them.