Add Linux questions

This commit is contained in:
abregman 2019-12-19 13:57:31 +02:00
parent 12c86d891a
commit a1e45cfc49

View File

@ -2,7 +2,7 @@
:information_source:  This repository contains questions on various DevOps and SRE related topics :information_source:  This repository contains questions on various DevOps and SRE related topics
:bar_chart:  There are currently **658** questions :bar_chart:  There are currently **662** questions
:books:  To learn more about DevOps check the resources in [DevOpsBit.com](https://devopsbit.com) :books:  To learn more about DevOps check the resources in [DevOpsBit.com](https://devopsbit.com)
@ -1026,6 +1026,10 @@ Hardware -> Kernel -> <u>Daemons</u>, System Libraries, Server Display.
<summary>Describe how to make a certain process/app a service</summary><br><b> <summary>Describe how to make a certain process/app a service</summary><br><b>
</b></details> </b></details>
<details>
<summary>How do you kill a process in D state?</summary><br><b>
</b></details>
##### Debugging ##### Debugging
<details> <details>
@ -1169,6 +1173,10 @@ related to the file like its size, owner, permissions, etc.
<summary>How to check which disks are currently mounted?</summary><br><b> <summary>How to check which disks are currently mounted?</summary><br><b>
</b></details> </b></details>
<details>
<summary>You run mount command but you get no output. How would you check what mounts you have on your system?</summary><br><b>
</b></details>
<details> <details>
<summary>What is the difference between a soft link and hard link?</summary><br><b> <summary>What is the difference between a soft link and hard link?</summary><br><b>
@ -1377,6 +1385,12 @@ ind /some_dir -iname \*.yml -print0 | xargs -0 -r sed -i "s/1/2/g"
You can use the commands <code>top</code> and <code>free</code> You can use the commands <code>top</code> and <code>free</code>
</b></details> </b></details>
<details>
<summary>You run ls and you get "/lib/ld-linux-armhf.so.3 no such file or directory". What is the problem?</summary><br><b>
The ls executable is built for an incompatible architecture.
</b></details>
<details> <details>
<summary>How would you split a 50 lines file into 2 files of 25 lines each?</summary><br><b> <summary>How would you split a 50 lines file into 2 files of 25 lines each?</summary><br><b>
@ -4651,6 +4665,14 @@ It consits of:
<summary>What is HTTPS?</summary><br><b> <summary>What is HTTPS?</summary><br><b>
</b></details> </b></details>
<details>
<summary>Explain HTTP Cookies</summary><br><b>
HTTP is stateless. To share state, we can use Cookies.
TODO: explain what is actually a Cookie
</b></details>
<details> <details>
<summary>When you publish a project, you usually publish it with a license. What types of licenses are you familiar with and which one do you prefer to use?</summary><br><b> <summary>When you publish a project, you usually publish it with a license. What types of licenses are you familiar with and which one do you prefer to use?</summary><br><b>
</b></details> </b></details>