-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added devops tasks. To upload the tar file as release later
- Loading branch information
1 parent
029f020
commit b0955bc
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,25 @@ | ||
# recruitment_2016 | ||
Tasks for people applying for the recruitment process. | ||
|
||
#### Tasks for DevOps | ||
|
||
## Task 1 | ||
|
||
Make a `bash` script, which does the following tasks in this order | ||
|
||
- Unzip the `.gz` file | ||
- Delete all the `pycache files`. | ||
- Remove the comments in all the files present. And by comments we mean `python` comments | ||
- Replace the occurence of the word **Tasdik Rahman** in all the files with **Your name** | ||
|
||
## Task 2 | ||
|
||
You are given a log file inside inside the `logs` directory. | ||
|
||
Write a script which parses the log file for the date `Jan 21` in a line and then in that line searches for the words | ||
|
||
- `ERROR` | ||
- `SUCCESS` | ||
- `INFO` | ||
|
||
and store(append) those lines into seperate files. i.e a line with `ERROR` should be stored in the file `error.txt` and so on. |