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
Applications 1
Current freelance projects in the category Linux & Unix
Deployment of a Ruby on Rails project on VPS + Inbound Email RoutingNeed help deploying a platform for automating requests for public information (based on the open-source engine Alaveteli). The project works as a mail router: it generates unique email addresses for each request, sends them to government agencies, and receives responses back to… DevOps, Linux & Unix ∙ 21 hours 56 minutes back ∙ 10 proposals |
Pentest, penetration testing
25 USD
Project Description: Our company is looking for an experienced freelance pentester to participate in information security projects for our clients. What needs to be done: • conduct external/internal penetration testing (VPN, firewall, web, API, DNS) • web application & API… Linux & Unix, Testing & QA ∙ 12 days 13 hours back ∙ 9 proposals |