iMitchhh
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ## Flashback in lesson 2 – Back to lesson 1 • Why do we talk about GNU/Linux? • Describe in your own words: what is a kernel? • What is the difference between Open Source and Free? • How is the ‘Administrator’ user called? (uid?) • What does MBR stand for and how does it work? • What are the limitations of MBR? (Solution?) • What is swap en what is it used for? • How is the first disk of the SCSI-bus called in linux? (1st partition of that disk?) • Tell something about these concepts: package, repository, dependency • Explain the bootprocess of a linux-based server. • Which command can be used to manipulate packages? (search, install, remove, …) • What is the difference between “apt update” and “apt upgrade”? • Which protocol makes the link between MAC address and IP address? • Which command gives you the current ARP-table? • What are the 5 layers of the TCP/IP network model? • How do you find the MAC-address of a network interface? • What does swapiness mean? • What is meant with the term Linux ‘distribution’? ## Flashback in lesson 3 Back to lesson 2 • Using which command can you request the current working directory? • What is meant with the term ‘runlevel’ in linux? • What is single user mode? • What is / are the most common runlevel(s) under linux? • Where on the filesystem can you find devices of your linux system? • What is the home directory of the user root? • Describe the required steps to add a disk to a linux virtual machine. • Why is it important that a partition is correctly aligned? • How do you make sure with the tool parted that your partition is correctly aligned? • What command do we use to create a filesystem in a partition? • What do you need to do to have a mounted filesystem available even after reboot? • Tell something about the proc filesystem • Where can you put temporary files in a linux system? • What should you be aware of when using /tmp? • How can you quickly search through your previously used commands? • What can you use a bind mount for? • What is swap and what is it used for? • What are the limitations of MBR? • Explain in your own words: what is a file descriptor? (lab) ## Flashback in lesson 4 Back to lesson 3 • What is meant by the term journalling for filesystems? • Why is journalling used with filesystems? • Give 2 examples of filesystems under linux that use journalling. • How can you find out which kernel modules are currently loaded? • Which command can you use to load a kernel module? And which to 'unload' a kernel module? • How many disks do you need at least to build a RAID10 system? Why? • What is meant by a 'Copy On Write' filesystem? • What are the advantages of a CoW filesystem? • What are snapshots (in the context of storage systems)? • What are the disadvantages of a CoW filesystem? • Why do you still need backup when you have RAID1 and have snapshots? • How can you find out which 'type' is a file? There are no extensions. • What is an inode? • What is the difference between a softlink and a hard link? • At the output of the command ls -la: Which values can the first character of the line have and what do they mean? • At the output of the command ls -la: Which possible values can the 3 groups of 3 characters have to describe the rights? • With what command can you 'change' the 'owner' of a file or directory? • With which command can you 'change' the rights of a file or directory? • What does number 5 mean when you use it to determine file system permissions? • What does number 7 mean when you use that to determine file system rights? Explain why. • Which command do you use to cut structured input at a specific location? • Which command do you use to display the first 16 lines of a text file? • Which command do you use to display the last 12 lines of a text file? • How can you find out how long it has been since a linux system was rebooted? • Which command can you use to find out all the modified files from the last 24 hours? • Which command can you use to get an overview of all daemons that are currently active in your system? ## Flashback in lesson 5 Back to lesson 4 • What does ‘piping’ mean? • What is a prerequisite for using the command ‘uniq’ ? • What is the difference between the following 2 commands? • Which are the 2 output streams in linux, and what do they contain? • What is ‘exit code’? • Why is the exit code useful? • What different values can the exit code be? • What is the exit code for success? • How do you request the exit code? • How do you turn a command into a job? • How do you pause a job? • What command shows the list of all running or paused jobs? • How do you re-activate a paused job? • What does the command ‘screen’ do? • What is meant by the term ‘signal’? • How do you send a signal to a process? • How do you specify which process? • Give 2 examples of signals. • Is a systemload of 23 problematic? Explain. • What process has PID 1? • Where do you know this process from? ## Flashback in lesson 6 Back to lesson 5 • In what file can you find the hashes of passwords? • What command do you use to remove a user? • How can you change the password of a different user than your own user? • How do you add an existing user to an existing group? • How do you give someone sudo rights? • Give 2 differences between telnet and ssh. • There are 2 types of tunnels you can create with SSH? Which are that? • With which tool can you get information about who owns domain names, IP addresses, ... on the internet? • With which command do you gain insight into the open files of a process? • Can you disable and enable CPUs in a multi-processor Linux system on-the-fly (so without a reboot)? • How can you find out which users are all logged in to your system? • How do you get information about the CPU (or CPUs) that are in a Linux system? • With which command can you send a message to all users at the same time on a system? • Which Linux tool can you use to calculate IP addresses, subnets, ...? • What are the 5 layers of the network model? • Can you run multiple services on 1 server? • How do we identify different instances of layer 2? • What is a firewall? • Name 3 categories of firewalls. • What is known as kernel space? • What is the opposite of kernel space? • Explain: conntrack • On which layer of the network model does routing take place? ## Flashback in lesson 7 Back to lesson 6 • How do you request the route table? • With which command do you check how much free disk space there is? • With which command do you check which filesystems are mounted where? • With which command can you request the MAC address of a network interface? • With which command do you request the table that makes the link between IP address and MAC address? • Wireshark is a tool for capturing network traffic. Which CLI tool can capture network traffic in Linux? • With which command do you get an overview of all processes and how much CPU, memory, ... these take up? • What is the systemload? • How can you request which services listen on which ports? • What is the most commonly used filesystem under linux? • What is journalling? • What does copy-on-write mean? • What is meant with a multi-homed system? • How can you verify if a multi-homed system can send traffic from one NIC to another? • What does the target ‘MASQUERADE’ do in iptables? • How many tables does iptables have? Also give the name of the 2 most commonly used ones. • How many chains are there in iptables? Which ones do you find in the FILTER-table? • How many netfilter-hooks are there in the linux kernel? • Give 3 ‘states’ of a connection. • What does ‘DORA’ stand for in the context of DHCP? • Where on the filesystem can you find the system-wide host-specific configuration files? • What is meant with ‘split brain’? • Which port(s) does DNS listen on? • What is the name of the type of resource record in DNS that links a name to an IP address (forward lookup). • With which command can you perform DNS queries and get (many) details? ## Flashback in lesson 8 Back to lesson 7 • Give 3 loadbalancing algorithms. • What is a potential risk with (W)LC? • What are things you can configure for a healthcheck? • What are the 3 ‘building blocks’ of a haproxy config? • Give 3 levels of loadbalancing with haproxy. • What does stickiness mean? • How can you get an overview of the health of your haproxy setup? • What is the difference between High Availability & Load Balancing? • How can you find you what type of file (textfile, binary, …) something is? • What command do you need to change access rights of a file? • What command do you need to change the owner and/or group of a file? • What are the 2 output streams in linux? • How can you interfere with / influence the 2 output streams? • Give at least 3 ways to get an overview of running processes on your system. • How can you find out what the parent of a process is? • What is being passed to the parent of a process? • What is a signal? • How can you send a signal to a process? • How do you arrange for a filesystem which you mounted to become available after reboot? • What is swap and what is it used for? • What are the restrictions of MBR?

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully