← Exit
Create a file named sample.txt with two lines, then display it and search for the word 'test'
Microsoft Windows [Version 10.0.19045.0] (c) Microsoft Corporation. All rights reserved. Type HELP for available commands.
C:\Users\Student>
🔧
Real-World Workflows
Practical scenarios and command combinations for everyday tasks
Practical: File Management Workflows
Practical: Text Processing & Search
0 of 3 steps
33%
Your Task
Create a file named sample.txt with two lines, then display it and search for the word 'test'
Command Reference
Command
TYPE & FIND
Syntax
TYPE sample.txt | FIND "test"
Examples
TYPE sample.txt | FIND "test"
- Find lines with 'test'
TYPE sample.txt
- Show full file
Need a hint?
Previous
Next
Practical: File Attributes & Permissions
🔧
Real-World Workflows
Practical scenarios and command combinations for everyday tasks
Practical: File Management Workflows
Practical: Text Processing & Search
0 of 3 steps
33%
Your Task
Create a file named sample.txt with two lines, then display it and search for the word 'test'
Command Reference
Command
TYPE & FIND
Syntax
TYPE sample.txt | FIND "test"
Examples
TYPE sample.txt | FIND "test"
- Find lines with 'test'
TYPE sample.txt
- Show full file
Need a hint?
Previous
Next
Practical: File Attributes & Permissions