« Questions Sysadmin » : différence entre les versions
(Page créée avec « = Questions = Les questions ci-dessous sont issues de [https://github.com/trimstray/test-your-sysadmin-skills cette page]. Je vais me contenter pour l'instant des questi... ») |
Aucun résumé des modifications |
||
Ligne 6 : | Ligne 6 : | ||
== Junior == | == Junior == | ||
=== Systeme === | === Systeme === | ||
Give some examples of Linux distribution. What is your favorite distro and why? | |||
What are the differences between Unix, Linux, BSD, and GNU? | Debian, Ubuntu, RHEL... I prefer Debian based distros since they're the most common, the ones i know best. Most commonly supported. | ||
What is a CLI? Tell me about your favorite CLI tools, tips, and hacks. | What are the differences between Unix, Linux, BSD, and GNU? | ||
What is your favorite shell and why? | Unix is (was) a proprietary OS that inspired a slew of other OS, including GNU/Linux. Linux is a kernel. BSD is another UNIX OS. GNU is the OS that comes with Linux and is derived in distros. | ||
How do you get help on the command line? *** | What is a CLI? Tell me about your favorite CLI tools, tips, and hacks. | ||
Your first 5 commands on a *nix server after login. | Command Line Interface. Ctrl + R to search, Ctrl + A / E, Using terminator, tmux, etc | ||
What do the fields in ls -al output mean? | What is your favorite shell and why? | ||
How do you get a list of logged-in users? | Bash. Most common, i'll find the most resources on it. Is always preinstalled (no need to add anything else), redirections are fairly simple to understand | ||
What is the advantage of executing the running processes in the background? How can you do that? | How do you get help on the command line? *** | ||
Before you can manage processes, you must be able to identify them. Which tools will you use? *** | Using man | ||
Running the command as root user. It is a good or bad practices? | Your first 5 commands on a *nix server after login. | ||
How to check memory stats and CPU stats? | date | ||
What is load average? | history | ||
Where is my password stored on Linux/Unix? | systemctl | ||
How to recursively change permissions for all directories except files and for all files except directories? | w | ||
Every command fails with command not found. How to trace the source of the error and resolve it? | df -h | ||
You typing CTRL + C but your script still running. How do you stop it? *** | What do the fields in ls -al output mean? | ||
What is grep command? How to match multiple strings in the same line? | perms, i don't know (number of links), propr. user, propr group, size in bytes, modtime, name | ||
Explain the file content commands along with the description. | How do you get a list of logged-in users? | ||
SIGHUP, SIGINT, SIGKILL, and SIGTERM POSIX signals. Explain. | w | ||
What does kill command do? | What is the advantage of executing the running processes in the background? How can you do that? | ||
What is the difference between rm and rm -rf? | Using tmux / Ctrl + Z ? I can do something else in the meantime. But I prefer opening two shells anyway. | ||
How do I grep recursively? Explain on several examples. *** | WRONG Use &. For example : wget https://url-to-download.com/download.tar.gz & | ||
archive.tgz has ~30 GB. How do you list content of it and extract only one file? | Before you can manage processes, you must be able to identify them. Which tools will you use? *** | ||
Execute combine multiple shell commands in one line. | Running the command as root user. It is a good or bad practices? | ||
What symbolic representation can you pass to chmod to give all users execute access to a file without affecting other permissions? | How to check memory stats and CPU stats? | ||
How can I sync two local directories? | What is load average? | ||
Many basic maintenance tasks require you to edit config files. Explain ways to undo the changes you make. | Where is my password stored on Linux/Unix? | ||
You have to find all files larger than 20MB. How you do it? | How to recursively change permissions for all directories except files and for all files except directories? | ||
Why do we use sudo su - and not just sudo su? | Every command fails with command not found. How to trace the source of the error and resolve it? | ||
How to find files that have been modified on your system in the past 60 minutes? | You typing CTRL + C but your script still running. How do you stop it? *** | ||
What are the main reasons for keeping old log files? | What is grep command? How to match multiple strings in the same line? | ||
What is an incremental backup? | Explain the file content commands along with the description. | ||
What is RAID? What is RAID0, RAID1, RAID5, RAID6, RAID10? | SIGHUP, SIGINT, SIGKILL, and SIGTERM POSIX signals. Explain. | ||
How is a user’s default group determined? How would you change it? | What does kill command do? | ||
What is your best command line text editor for daily working and scripting? *** | What is the difference between rm and rm -rf? | ||
Why would you want to mount servers in a rack? | How do I grep recursively? Explain on several examples. *** | ||
archive.tgz has ~30 GB. How do you list content of it and extract only one file? | |||
Execute combine multiple shell commands in one line. | |||
What symbolic representation can you pass to chmod to give all users execute access to a file without affecting other permissions? | |||
How can I sync two local directories? | |||
Many basic maintenance tasks require you to edit config files. Explain ways to undo the changes you make. | |||
You have to find all files larger than 20MB. How you do it? | |||
Why do we use sudo su - and not just sudo su? | |||
How to find files that have been modified on your system in the past 60 minutes? | |||
What are the main reasons for keeping old log files? | |||
What is an incremental backup? | |||
What is RAID? What is RAID0, RAID1, RAID5, RAID6, RAID10? | |||
How is a user’s default group determined? How would you change it? | |||
What is your best command line text editor for daily working and scripting? *** | |||
Why would you want to mount servers in a rack? |
Version du 15 mars 2021 à 15:30
Questions
Les questions ci-dessous sont issues de cette page. Je vais me contenter pour l'instant des questions Junior / Sysadmin, essayer d'y répondre, et voir celles auxquelles je ne peux pas répondre.
Junior
Systeme
Give some examples of Linux distribution. What is your favorite distro and why?
Debian, Ubuntu, RHEL... I prefer Debian based distros since they're the most common, the ones i know best. Most commonly supported.
What are the differences between Unix, Linux, BSD, and GNU?
Unix is (was) a proprietary OS that inspired a slew of other OS, including GNU/Linux. Linux is a kernel. BSD is another UNIX OS. GNU is the OS that comes with Linux and is derived in distros.
What is a CLI? Tell me about your favorite CLI tools, tips, and hacks.
Command Line Interface. Ctrl + R to search, Ctrl + A / E, Using terminator, tmux, etc
What is your favorite shell and why?
Bash. Most common, i'll find the most resources on it. Is always preinstalled (no need to add anything else), redirections are fairly simple to understand
How do you get help on the command line? ***
Using man
Your first 5 commands on a *nix server after login.
date history systemctl w df -h
What do the fields in ls -al output mean?
perms, i don't know (number of links), propr. user, propr group, size in bytes, modtime, name
How do you get a list of logged-in users?
w
What is the advantage of executing the running processes in the background? How can you do that?
Using tmux / Ctrl + Z ? I can do something else in the meantime. But I prefer opening two shells anyway. WRONG Use &. For example : wget https://url-to-download.com/download.tar.gz &
Before you can manage processes, you must be able to identify them. Which tools will you use? *** Running the command as root user. It is a good or bad practices? How to check memory stats and CPU stats? What is load average? Where is my password stored on Linux/Unix? How to recursively change permissions for all directories except files and for all files except directories? Every command fails with command not found. How to trace the source of the error and resolve it? You typing CTRL + C but your script still running. How do you stop it? *** What is grep command? How to match multiple strings in the same line? Explain the file content commands along with the description. SIGHUP, SIGINT, SIGKILL, and SIGTERM POSIX signals. Explain. What does kill command do? What is the difference between rm and rm -rf? How do I grep recursively? Explain on several examples. *** archive.tgz has ~30 GB. How do you list content of it and extract only one file? Execute combine multiple shell commands in one line. What symbolic representation can you pass to chmod to give all users execute access to a file without affecting other permissions? How can I sync two local directories? Many basic maintenance tasks require you to edit config files. Explain ways to undo the changes you make. You have to find all files larger than 20MB. How you do it? Why do we use sudo su - and not just sudo su? How to find files that have been modified on your system in the past 60 minutes? What are the main reasons for keeping old log files? What is an incremental backup? What is RAID? What is RAID0, RAID1, RAID5, RAID6, RAID10? How is a user’s default group determined? How would you change it? What is your best command line text editor for daily working and scripting? *** Why would you want to mount servers in a rack?