Skip to content

Linux User and File management Course

enki-hq edited this page Mar 29, 2020 · 6 revisions

User and File management Course Overview

Table of Contents

Content

Below you can find the ordered content of the topic, in a linear progression

The linear progression of content aims to cover all content, course by course, workout by workout as follows:

  • first course is the only core one, denoted by its manifest
  • the next course is denoted by the first item of the next array in each course manifest
  • each course has its order of workouts designated by the sections field in the same aforementioned manifest

Insights:

no name content aspects standards PQ RQ Quiz done
1 customizing-bash-via-bashrc 👶 introduction
💪 workout
2 what-are-environment-variables 👶 introduction
💪 workout
3 understanding-the-path-environment-variable 👶 introduction
💪 workout
4 manipulating-environment-variables 👶 introduction
💪 workout
5 manipulating-environment-variables-ii 👶 introduction
💪 workout
6 manipulating-environment-variables-iii 👶 introduction
💪 workout
7 manipulating-environment-variables-iv 👶 introduction
💪 workout
8 adding-directories-to-your-path 👶 introduction
💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 the-directory-tree 👶 introduction
💪 workout
2 matching-multiple-files-with-wildcards 👶 introduction
💪 workout
3 using-which-to-find-executables 👶 introduction
💪 workout
4 using-find-to-search-by-filename 👶 introduction
💪 workout
5 using-find-to-search-by-file-size 👶 introduction
💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 set-file-permissions-for-users 👶 introduction
2 more-about-chmod 👶 introduction

Exercises:

⚠️ There are no insights in this workout.

Game:

name type aspects standards done
sudo-fu tetris 💪 workout

Insights:

no name content aspects standards PQ RQ Quiz done
1 deleting-non-empty-directories 💪 workout
👶 introduction
2 using-touch-to-alter-files-modification-time 💪 workout
👶 introduction
3 wrap-text-with-fold 💪 workout
4 truncate-files-with-cat-instead-of-rm 💪 workout
5 deleting-files-in-a-secure-manner 💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

5. shell

Insights:

no name content aspects standards PQ RQ Quiz done
1 what-is-a-shell 👶 introduction
💪 workout
2 the-basics-of-environment-variables 👶 introduction
💪 workout
3 quick-cd-tips 💪 workout
4 terminal-based-browser 🔮 obscura
💪 workout
5 rapidly-invoke-an-editor-to-write-a-long-complex-or-tricky-command 🔮 obscura
💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 the-standard-streams-stdin-stdout-and-stderr 👶 introduction
💪 workout
2 the-basics-of-the-pipe-operator 👶 introduction
💪 workout
3 input-and-output-redirection-with-and 👶 introduction
💪 workout
4 the-basics-of-command-substitution 👶 introduction
💪 workout
5 appending-output-with 👶 introduction
💪 workout
6 difference-between-redirection-and-pipe 👶 introduction
💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 adding-new-users-with-useradd 👶 introduction
💪 workout
2 changing-user-passwords-with-passwd 👶 introduction
💪 workout
3 linux-user-management 👶 introduction
💪 workout
4 usermod-recipes 💪 workout
👶 introduction
5 running-a-command-as-another-local-user 👶 introduction
💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 users-and-groups-on-linux 👶 introduction
💪 workout
2 file-ownership 👶 introduction
💪 workout
3 changing-file-ownership-with-chown 👶 introduction
💪 workout
4 changing-file-permissions-with-chmod 👶 introduction
💪 workout
5 changing-group-membership-with-usermod 👶 introduction
💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 quick-bash-shortcuts 💪 workout
2 clear-the-terminal-instantly 💪 workout
3 retrieve-previous-arguments 💪 workout
4 useful-aliasing-in-bash 💪 workout
5 find-any-unix-linux-command 💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 conditional-command-execution-operator 👶 introduction
💪 workout
2 else-statements-using-the-operator 👶 introduction
💪 workout
3 sequential-execution-using-the-statement-separator 👶 introduction
💪 workout
4 the-test-built-in 👶 introduction
💪 workout
5 compound-commands 👶 introduction
💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 easy-way-of-sharing-files 💪 workout
2 finding-file-with-regexes 💪 workout
3 identify-files-using-the-file-command 💪 workout
4 working-with-gz-files 💪 workout
5 preserving-permissions-and-structure-with-rsync 💪 workout
🦑 deep

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 understanding-umask 👶 introduction
💪 workout
2 the-setgid-permission 👶 introduction
💪 workout
3 the-setuid-permission 👶 introduction
💪 workout
4 the-sticky-bit-permission 👶 introduction
💪 workout
5 making-a-file-unalterable-with-chattr 🔮 obscura
💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 su-vs-sudo 👶 introduction
2 get-file-permissions-in-octal-form 👶 introduction
3 granting-root-access-to-a-user 💪 workout
👶 introduction
4 run-previous-command-as-root 👶 introduction
5 executing-commands-with-sudo-without-password 💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

name type aspects standards done
know-your-rights fillTheGap 💪 workout

Insights:

no name content aspects standards PQ RQ Quiz done
1 bash-history-reverse-search 💪 workout
2 keep-useful-commands-in-your-shell-history-with-tags 💪 workout
3 execute-a-command-without-saving-it-in-history 💪 workout
4 terminal-incognito-mode 💪 workout
5 clear-bash-history 💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 using-xargs-to-build-commands 👶 introduction
💪 workout
2 progress-of-data-through-a-pipe-with-pv 👶 introduction
💪 workout
3 duplicate-pipe-content-with-tee 💪 workout
4 shebang-explained 👶 introduction
💪 workout
5 the-2-1-redirection 👶 introduction
💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Insights:

no name content aspects standards PQ RQ Quiz done
1 get-to-know-your-commands-with-type 💪 workout
2 fast-file-indexing-with-updatedb-and-locate 💪 workout
3 best-password-generation-utilities 💪 workout
4 random-password-generator 💪 workout
5 find-the-unknown-process-preventing-deleting-of-files 💪 workout

Exercises:

⚠️ There are no insights in this workout.

Game:

⚠️ There is no game in this workout.

Standards

✅ - At least one insight covers this

❌ - Nothing covers this

🛠️ - This standard has no objectives yet

❌ Manage files via the command line

  1. ❌ Traverse the file system with cd
  2. ❌ Analyze directories with ls
  3. ❌ Create files with touch
  4. ❌ Create directories with mkdir
  5. ❌ Move or rename files with mv
  6. ❌ Copy files with cp
  7. ❌ Delete files with rm
  8. ❌ Delete directories with rmdir
  9. ❌ Output a file's contents to stdout with cat
  10. ❌ Append to a file
  11. ❌ Watch a file with tail
  12. ❌ Distinguish relative file paths from absolute file paths

❌ Configure your shell

  1. ❌ Change the colors of your terminal
  2. ❌ Add data to your terminal's line
  3. ❌ Change your display name
  4. ❌ Change your shell
  5. ❌ Add startup scripts and environment variables by modifying shell lifecycle configuration scripts

❌ Set and use environment variables

  1. ❌ Inspect environment variables in your shell
  2. ❌ Set environment variables manually
  3. ❌ Set environment variables with a shell script, like .bash_rc
  4. ❌ Use environment variables in a shell command
  5. ❌ Use environment variables in a shell script

❌ Direct program input and output using stdin, stdout, pipes and redirection

  1. ❌ Distinguish the purpose and output of the standard streams
  2. ❌ Redirect stdout to a file
  3. ❌ Use the stdout of one program as the stdin for another program with a pipe
  4. ❌ Direct stdout and stderr to different places
  5. ❌ Tail a stderr and stdout log in two terminal windows
  6. ❌ Use pipes to direct data through multiple programs

❌ Manage users and their permissions

  1. ❌ Create and remove users
  2. ❌ Identify the system artifacts of a user account
  3. ❌ Manage the passwords of users
  4. ❌ Grant and revoke system privileges to users
  5. ❌ Create and remove groups
  6. ❌ Add or remove users from groups
  7. ❌ Grant and revoke system privileges to groups
  8. ❌ Use system administration tools like w to monitor user activity

❌ Manage files and their permissions

  1. ❌ Evaluate the read, write and execution permissions of a file using POSIX-compliant permissions
  2. ❌ Grant or restrict read, write, and execute permissions to users and groups
  3. ❌ Determine the appropriate permissions for a file
  4. ❌ Manage the ownership of a file

❌ Write shell expressions

  1. ❌ Use simple unix programs such as expr to operate on numerical values
  2. ❌ Use simple unix programs such as cat and grep to operate on string values
  3. ❌ Compose simple unix programs to produce strings or numerical values

Aspects

Given the insights are tagged with aspects, we can filter over the linear content progression and create learning sub-paths.

These sub-path progressions will most likely not cover all content, but they will ensure and enforce an unified learning experience, tailor for the user wish.

For example, a user might be interested in new additions and updates of a language, rather than introduction lessions. Note that these sub-paths don't take games into consideration

👶 Introduction

If you are being introduced to the topic for the first time

Insights:

  1. customizing-bash-via-bashrc
  2. what-are-environment-variables
  3. understanding-the-path-environment-variable
  4. manipulating-environment-variables
  5. manipulating-environment-variables-ii
  6. manipulating-environment-variables-iii
  7. manipulating-environment-variables-iv
  8. adding-directories-to-your-path
  9. the-directory-tree
  10. matching-multiple-files-with-wildcards
  11. using-which-to-find-executables
  12. using-find-to-search-by-filename
  13. using-find-to-search-by-file-size
  14. set-file-permissions-for-users
  15. more-about-chmod
  16. deleting-non-empty-directories
  17. using-touch-to-alter-files-modification-time
  18. what-is-a-shell
  19. the-basics-of-environment-variables
  20. the-standard-streams-stdin-stdout-and-stderr
  21. the-basics-of-the-pipe-operator
  22. input-and-output-redirection-with-and
  23. the-basics-of-command-substitution
  24. appending-output-with
  25. difference-between-redirection-and-pipe
  26. adding-new-users-with-useradd
  27. changing-user-passwords-with-passwd
  28. linux-user-management
  29. usermod-recipes
  30. running-a-command-as-another-local-user
  31. users-and-groups-on-linux
  32. file-ownership
  33. changing-file-ownership-with-chown
  34. changing-file-permissions-with-chmod
  35. changing-group-membership-with-usermod
  36. conditional-command-execution-operator
  37. else-statements-using-the-operator
  38. sequential-execution-using-the-statement-separator
  39. the-test-built-in
  40. compound-commands
  41. understanding-umask
  42. the-setgid-permission
  43. the-setuid-permission
  44. the-sticky-bit-permission
  45. su-vs-sudo
  46. get-file-permissions-in-octal-form
  47. granting-root-access-to-a-user
  48. run-previous-command-as-root
  49. using-xargs-to-build-commands
  50. progress-of-data-through-a-pipe-with-pv
  51. shebang-explained
  52. the-2-1-redirection

⚠️ There are no exercises tagged with this aspect in user-and-file-management. :warning: There are no games tagged with this aspect in user-and-file-management.

💪 Workout

Theory put into practice/that’s how you achieve X points

Insights:

  1. customizing-bash-via-bashrc
  2. what-are-environment-variables
  3. understanding-the-path-environment-variable
  4. manipulating-environment-variables
  5. manipulating-environment-variables-ii
  6. manipulating-environment-variables-iii
  7. manipulating-environment-variables-iv
  8. adding-directories-to-your-path
  9. the-directory-tree
  10. matching-multiple-files-with-wildcards
  11. using-which-to-find-executables
  12. using-find-to-search-by-filename
  13. using-find-to-search-by-file-size
  14. deleting-non-empty-directories
  15. using-touch-to-alter-files-modification-time
  16. wrap-text-with-fold
  17. truncate-files-with-cat-instead-of-rm
  18. deleting-files-in-a-secure-manner
  19. what-is-a-shell
  20. the-basics-of-environment-variables
  21. quick-cd-tips
  22. terminal-based-browser
  23. rapidly-invoke-an-editor-to-write-a-long-complex-or-tricky-command
  24. the-standard-streams-stdin-stdout-and-stderr
  25. the-basics-of-the-pipe-operator
  26. input-and-output-redirection-with-and
  27. the-basics-of-command-substitution
  28. appending-output-with
  29. difference-between-redirection-and-pipe
  30. adding-new-users-with-useradd
  31. changing-user-passwords-with-passwd
  32. linux-user-management
  33. usermod-recipes
  34. running-a-command-as-another-local-user
  35. users-and-groups-on-linux
  36. file-ownership
  37. changing-file-ownership-with-chown
  38. changing-file-permissions-with-chmod
  39. changing-group-membership-with-usermod
  40. quick-bash-shortcuts
  41. clear-the-terminal-instantly
  42. retrieve-previous-arguments
  43. useful-aliasing-in-bash
  44. find-any-unix-linux-command
  45. conditional-command-execution-operator
  46. else-statements-using-the-operator
  47. sequential-execution-using-the-statement-separator
  48. the-test-built-in
  49. compound-commands
  50. easy-way-of-sharing-files
  51. finding-file-with-regexes
  52. identify-files-using-the-file-command
  53. working-with-gz-files
  54. preserving-permissions-and-structure-with-rsync
  55. understanding-umask
  56. the-setgid-permission
  57. the-setuid-permission
  58. the-sticky-bit-permission
  59. making-a-file-unalterable-with-chattr
  60. granting-root-access-to-a-user
  61. executing-commands-with-sudo-without-password
  62. bash-history-reverse-search
  63. keep-useful-commands-in-your-shell-history-with-tags
  64. execute-a-command-without-saving-it-in-history
  65. terminal-incognito-mode
  66. clear-bash-history
  67. using-xargs-to-build-commands
  68. progress-of-data-through-a-pipe-with-pv
  69. duplicate-pipe-content-with-tee
  70. shebang-explained
  71. the-2-1-redirection
  72. get-to-know-your-commands-with-type
  73. fast-file-indexing-with-updatedb-and-locate
  74. best-password-generation-utilities
  75. random-password-generator
  76. find-the-unknown-process-preventing-deleting-of-files

⚠️ There are no exercises tagged with this aspect in user-and-file-management. Games:

  1. sudo-fu
  2. know-your-rights

🦑 Deep

Prerequisite knowledge consisting of 2 or more 👶/💪 workouts

Insights:

  1. preserving-permissions-and-structure-with-rsync

⚠️ There are no exercises tagged with this aspect in user-and-file-management. :warning: There are no games tagged with this aspect in user-and-file-management.

✨ New

Recently added/gained traction feature

⚠️ There are no insights tagged with this aspect in user-and-file-management. :warning: There are no exercises tagged with this aspect in user-and-file-management. :warning: There are no games tagged with this aspect in user-and-file-management.

🔮 Obscura

Stories, obscure details that don’t specifically relate to a learning objective

Insights:

  1. terminal-based-browser
  2. rapidly-invoke-an-editor-to-write-a-long-complex-or-tricky-command
  3. making-a-file-unalterable-with-chattr

⚠️ There are no exercises tagged with this aspect in user-and-file-management. :warning: There are no games tagged with this aspect in user-and-file-management.

✅ All content has been tagged with aspects.

Clone this wiki locally