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
Załączniki 1
Aktualne zlecenia dla freelancerów w kategorii Linux i Unix
Rozwój projektu Ruby on Rails na VPS + Routing e-maili przychodzącychPotrzebna pomoc w wdrożeniu platformy do automatyzacji zapytań o informacje publiczne (na bazie open-source silnika Alaveteli). Projekt działa jak router pocztowy: generuje unikalne adresy e-mail dla każdego zapytania, wysyła je do organów państwowych, a odpowiedzi przyjmuje z… DevOps, Linux i Unix ∙ 21 godzin 1 minuta temu ∙ 10 ofert |
Pentest, testowanie na penetrację
91 PLN
Opis projektu: Nasza firma poszukuje doświadczonego freelancera-pentestera do udziału w projektach z zakresu bezpieczeństwa informacji naszych klientów. Co należy zrobić: • przeprowadzić testy penetracyjne external/internal (VPN, firewall, web, API, DNS) • testy aplikacji… Linux i Unix, Testowanie i kontrola jakości ∙ 12 dni 12 godzin temu ∙ 9 ofert |