first commit

This commit is contained in:
Boris
2024-01-15 20:14:10 +00:00
commit 8c81ee28b7
3106 changed files with 474415 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
## Lecture 1 (12.00)
- People use base10 because they have 10 fingers
- Computers use base2 because they have 1 finger
## Lecture 2 (15.00)
### Binary Denary Conversion
#### Convert to Binary
- 9 = 00001001
- 45 = 00101101
- 171 = 10101011
- 238 = 11101110
#### Convert to Denary
- 00010001 = 17
- 00110101 = 53
- 10011010 = 154
- 10110111 = 183
### Basic Linux Commands
- **ls** (list)
- **cd** (navigate directory)
- **~** - home directory
- **/** (root system directory)
- **rmdir** (remove directory)
- **mkdir** (make directory)
- **cp** (copy)
- **mv** (move)
- **rm** (remove)
- **pwd** (print working directory)
#### **vi** (visual editor)
- not hype, use for assessments only
#### **nano** (fork Of Pico editor)
- hype, use everywhere outside of assessments
## Workshop 1 (11:00)
```sh
boris@george-thinkpad:~/OneDrive/Computer Science Year 1/Computer Systems Internals & Linux/Week 1$ vi vi-file.txt
boris@george-thinkpad:~/OneDrive/Computer Science Year 1/Computer Systems Internals & Linux/Week 1$ cat vi-file.txt
This is a file created with Vi / ViM
boris@george-thinkpad:~/OneDrive/Computer Science Year 1/Computer Systems Internals & Linux/Week 1$ nano nano-file.txt
boris@george-thinkpad:~/OneDrive/Computer Science Year 1/Computer Systems Internals & Linux/Week 1$ cp vi-file.txt copy-of-vi.txt
boris@george-thinkpad:~/OneDrive/Computer Science Year 1/Computer Systems Internals & Linux/Week 1$ cp -i nano-file.txt copy-of-vi.txt
cp: overwrite 'copy-of-vi.txt'? no
boris@george-thinkpad:~/OneDrive/Computer Science Year 1/Computer Systems Internals & Linux/Week 1$ mv copy-of-vi.txt renamed-file.txt
boris@george-thinkpad:~/OneDrive/Computer Science Year 1/Computer Systems Internals & Linux/Week 1$ rm -i renamed-file.txt
rm: remove regular file 'renamed-file.txt'? y
boris@george-thinkpad:~/OneDrive/Computer Science Year 1/Computer Systems Internals & Linux/Week 1$ pwd
/home/boris/OneDrive/Computer Science Year 1/Computer Systems Internals & Linux/Week 1
```

View File

@@ -0,0 +1 @@
This is a text file created with nano

View File

@@ -0,0 +1 @@
This is a file created with Vi / ViM