Skip to content

Commit

Permalink
Update Linux checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
abregman committed Nov 15, 2019
1 parent 9c98d20 commit 0b12cb4
Showing 1 changed file with 82 additions and 26 deletions.
108 changes: 82 additions & 26 deletions resources/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,62 +7,119 @@
Check your Linux educational progress with the following list:

- [ ] **File System Hierarchy**
- [ ] `/`
- [ ] `/` (aka root)
- [ ] `/bin` and `/sbin`
- [ ] `/opt`
- [ ] `/usr`
- [ ] `/var`
- [ ] `/home`
- [ ] `/etc`
- [ ] `/proc`
- [ ] `/tmp`

- [ ] Check yourself
- [ ] Test
- [ ] What is '/'?
- [ ] What is stored in '/bin'?
- [ ] What is stored in '/bin'? what about `/etc`?
- [ ] What '/home' is usually used for?
- [ ] What type of files can you find in '/var'?
- [ ] What is unique about `/tmp`?

- [ ] **Navigation**
- [ ] `pwd` - where am I?

- [ ] cd
- [ ] relative vs. absolute paths
- [ ] What will happen when running 'cd -'?
- [ ] Commands
- [ ] `pwd` - where am I?
- [ ] `cd` - change directory
- [ ] relative vs. absolute paths

- [ ] Check yourself
- [ ] Test
- [ ] How to check your current path?
- [ ] Where `cd ..` will take you?
- [ ] What would be the effect of running `cd .`?
- [ ] What will happen when running 'cd -'?

- [ ] **Files**
- [ ] Commands
- [ ] touch
- [ ] rm
- [ ] how to remove a directory?
- [ ] Types of files
- [ ] Regular
- [ ] Directory
- [ ] Socket
- [ ] Block
- [ ] Link

- [ ] `ls` - list files and directories
- [ ] `-a` for listing hidden files
- [ ] `-l` for list formt
- [ ] `-t` order by time
- [ ] `-F` better distinguish between regular files and directories

- [ ] Check yourself
- [ ] Commands
- [ ] `ls` - list files and directories
- [ ] `-a` for listing hidden files
- [ ] `-l` for list formt
- [ ] `-t` order by time
- [ ] `-F` better distinguish between regular files and directories
- [ ] `touch` - creating files (original intention is updating timestamp)
- [ ] nice to know: `touch file{1..5}`
- [ ] `rm` - remove files
- [ ] `-r` for recursive
- [ ] `-f` to force removal, no questions asked
- [ ] `mkdir` - create directories
- [ ] `-p` - for creating multiple nested directories
- [ ] `rmdir` - remove directories
- [ ] `echo` - display a line of text
- [ ] `cat` - concatenate files (common usage: read a file)
- [ ] `mv` - move files directories (also rename files and directories)
- [ ] `cp` - copy a file
- [ ] `-r` for recursive (copy a directory)

- [ ] Test
- [ ] How to list hidden files?
- [ ] What `cd ..` will do?
- [ ] How to create an empty new file?
- [ ] How to remove a directory?
- [ ] How to rename a file?
- [ ] How to copy an entire directory with all its files?

- [ ] **I/O redirection**
- [ ] Commands
- [ ] `man` - manual for commands
- [ ] `which` - get full path for given command
- [ ] `whatis` - one-line manual page descriptions

- [ ] **Network**
- [ ] netstat
- [ ] **I/O redirection**
- [ ] File Descriptor
- [ ] stdin 0 (input) <
- [ ] stdout 1 (output) >
- [ ] stderr 2 (error) 2>
- [ ] Append >>

- [ ] Test
- [ ] How to redirect output?
- [ ] What would be the result of the following command `blop 2> file`?

- [ ] Text Editor (one is enough)
- [ ] vim
- [ ] `i` to start typing
- [ ] `:wq` to exit (or `shit+zz`)
- [ ] nano
- [ ] emacs
- [ ] atom
- [ ] sublime

- [ ] Test (mainly for vim)
- [ ] How to remove an entire line?
- [ ] How to copy 5 lines?
- [ ] How to jump to the end of the line
- [ ] How to remove one word
- [ ] How to jump to the end of the file

- [ ] **Users**
- [ ] Commands
- [ ] useradd
- [ ] usermod
- [ ] userdel
- [ ] who

- [ ] Nice to know commands
- [ ] lastlog
- [ ] Check yourself

- [ ] Test
- [ ] how to add a new user?
- [ ] should you be using your user or root?

- [ ] **Network**
- [ ] netstat

- [ ] **Monitoring and performence commands**
- [ ] top
- [ ] stat
Expand All @@ -84,7 +141,6 @@ Check your Linux educational progress with the following list:

## Learn Linux


Name | Comments
:------|:------:
[Linux Journey](https://linuxjourney.com) | Written guides + exercises + quiz
Expand Down

0 comments on commit 0b12cb4

Please sign in to comment.