0% found this document useful (0 votes)
4 views1 page

Unix Unit1 Notes

The document provides an overview of Unix structure, file system, and essential commands, including directory and file commands. It covers utilities, shell features, wildcards, filters, regular expressions, and process management. Additionally, it discusses communication methods and job scheduling in Unix.

Uploaded by

nameenarajan305
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Unix Unit1 Notes

The document provides an overview of Unix structure, file system, and essential commands, including directory and file commands. It covers utilities, shell features, wildcards, filters, regular expressions, and process management. Additionally, it discusses communication methods and job scheduling in Unix.

Uploaded by

nameenarajan305
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

You might also like