Shell scripts in LINUX
Write 4 shell scripts :
1.sh Create a script, that automatically n writes “hello world” to standard output n deletes file “deleteme.txt” (in the working directory) n creates directory “new_dir” (in the working directory) n writes the output of “date” command to file “date.txt” inside the “new_dir” directory
2.sh File “a” will contain one number, 0 <= A <= 100 w File “b” will contain one number, 0 <= B <= 100 w Create a script, that will read inputs from the two files and will create a file “c” containing number A*B (A multiplied by 😎 w Example: n If file “a” contains “4”, file “b” contains “5”, and “./2.sh” is run, n file “c” should contain “20”. w P.S. No file extensions 3.sh w Create a script, that will take 2 arguments: n
3.sh Search the files in for substring “moveme” in the file content w Move those files that contain the string to w On the standard output, print two lines: n On first line, output the total number of lines that matched n On second line, output the total number of files moved
4.sh Create a number guessing game, that “thinks” of a number N in the range of 1..100 and makes the user guess it w Read user’s guess (internal command read) w After successful attempt, show victory message and exit w After unsuccessful attempt, show number of tries left, and whether the number guessed is larger or smaller than N w If 10 tries are made, display N and exit
Додатки 1
Актуальні фриланс-проєкти в категорії Linux та Unix
Розгортання Ruby on Rails проєкту на VPS + Inbound Email RoutingПотрібна допомога в розгортанні платформи для автоматизації запитів на публічну інформацію (на базі open-source рушія Alaveteli). Проєкт працює як поштовий маршрутизатор: генерує унікальні email-адреси для кожного запиту, відправляє їх до державних органів, а відповіді приймає… DevOps, Linux та Unix ∙ 18 годин 45 хвилин тому ∙ 10 ставок |
Пентест, тестування на проникнення
1108 UAH
Опис проєкту: Наша компанія шукає досвідченого фріланс-пентестера для участі в проєктах з інформаційної безпеки наших клієнтів. Що потрібно зробити: • провести external/internal penetration testing (VPN, firewall, web, API, DNS) • web application & API pentest (OWASP Top 10,… Linux та Unix, Тестування та QA ∙ 12 днів 10 годин тому ∙ 9 ставок |