Week_1_-_Advanced_Linux_and_Scripting
Week_1_-_Advanced_Linux_and_Scripting
**Advanced Linux**
- Filesystem hierarchy: Linux organizes files in a tree-like structure starting with the root directory
(/).
Key directories include /bin (binary files), /etc (configuration files), /var (variable data), and /home
(user directories).
- Permissions: Permissions define who can read, write, or execute a file. Use `chmod` to change
permissions.
- System monitoring: Commands like `top` and `htop` show active processes, while `iostat`
**Shell Scripting**
```bash
#!/bin/bash
df -h
```
- Common tools: `awk` processes text files, `grep` searches patterns, and `sed` edits streams of
text.
```python
import os
print(processes)
```