From 151b384ce54a49673854ca4a331f8efdce7ea387 Mon Sep 17 00:00:00 2001 From: abregman Date: Fri, 4 Oct 2019 19:33:39 +0300 Subject: [PATCH] Add a couple of Linux questions --- README.md | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7de1c0d..ea78a04 100644 --- a/README.md +++ b/README.md @@ -41,9 +41,8 @@ ###### Intermediate -- What type of jobs there are? -- How do you notify users on build results? - - Can also be asked like that: what ways there are to notify users on build results? +- What type of jobs there are? what is the advantage of each type? +- What ways are you familiar with to notify users on build results? ###### Advanced @@ -81,15 +80,39 @@ - True or False? object are cached for the life of TTL - ## Network Network questions can be found [here](https://github.com/bregman-arie/computer-networking/blob/master/interview_questions/README.md) - ## Linux +##### beginner + +* Explain what each of the following commands does and given an example on how to use it + * ls + * rm + * rmdir (can you achieve the same result by using `rm`?) + * grep + * wc + * df + +* How to change the permissions of a file? + +* What does the following permissions mean?: + * 777 + * 644 + * 750 + +* How to add a new user to the system without providing him the ability to log-in into the system? + +* What commands are you using for troubleshooting issues? specifically: + * Disk issues + * Memory, CPU issues + * Networking issues + +* What is a Linux kernel module and how do you load a new module? + * What is the different between a soft link and hard link? ``` @@ -100,7 +123,7 @@ soft links can be created between different file systems while hard link can be created only within the same file system. ``` -* How to run a process in background and why to do that in the first place? +* How to run a process in the background and why to do that in the first place? ``` You can achieve that by specifying & at end of the command. As to Why? since some commands/processes can take a lot of time to finish