Skip to content

Latest commit

 

History

History
63 lines (28 loc) · 1.16 KB

README.md

File metadata and controls

63 lines (28 loc) · 1.16 KB

Basic work with files

  • Create directory test1
mkdir test
  • Create file test1.txt inside the test1 directory.

  • Create copy of folder test1 with name test2.

  • Delete file test1.txt inside test2 directory.

  • Rename test2 folder into directory_without_file

  • Insert 'test1' text into test1/test1.txt file.

  • print the text from the test1/test1.txt file.

  • Insert 'test2' into the end of test1/test1.txt file.

  • print the text from the test1/test1.txt file.

  • check the size of test1 directory

Permissions

  • Create test directory and block access for all to it.

  • Try to remove that directory.

  • Create simple script which prints current date. Try to execute it.

Log checking

  • Count lines in the file test.txt.

  • Show last 3 lines from the test.txt file.

  • Hom many uniq IP addresses accessed the website ?

  • IP address with most requests.

  • Top 3 IP addresses by amount of POST requests.

  • Which IP addresses received 403 error ?

  • Task with * . Write script to show which pages Google checked from the website

Replace

Replace IP address with most requests on 127.0.0.1 in test.txt file