UNIT I – Introduction
1. Unix Structure & File System:
- Hierarchical file system: root (/), home directories, bin, etc, dev, tmp.
- Files and directories organized in a tree structure.
2. Essential Commands:
- pwd, cd, ls, cp, mv, rm, mkdir, rmdir, touch, man, clear.
3. Directory and File Commands:
- Directory: mkdir, rmdir, cd, ls.
- File: cat, cp, mv, rm, touch.
4. General Purpose Utilities:
- echo, date, cal, who, uname, wc, sort, head, tail.
5. Bourne Shell:
- Basic shell for command interpretation.
- Prompt symbol: $
6. Shell Wildcards:
- * : matches zero or more characters.
- ? : matches exactly one character.
- [] : matches a range of characters.
7. Simple Filters:
- grep, wc, sort, uniq.
8. Regular Expressions:
- Used with grep, sed.
- ., *, ^, $, [ ] for pattern matching.
9. Grep Family:
- grep: basic pattern search.
- egrep: extended grep (supports +, ?, |).
- fgrep: fast grep (for fixed strings).
10. Advanced Filters:
- sed: stream editor for modifying files.
- awk: pattern scanning and processing language.
11. Process:
- ps, top, kill, bg, fg, jobs, nice, nohup.
12. Communication and Scheduling:
- write, wall, mail.
- cron, at, batch for job scheduling.