Shell grep Example

This Shell/Bash example uses safe sample files in a browser virtual shell. It is for learning command habits, not for accessing a real server.

Shell/Bash Compiler

Code Example

pwd
ls
cat README.txt
grep VulnTech README.txt
wc README.txt

Expected Output

/workspace
README.txt names.txt
...
VulnTech practice file
...

Practice Steps

  1. Open the Shell/Bash runner and paste the commands.
  2. Run them to inspect the sample files and grep matching lines.
  3. Change the grep term or add sort to compare output.
HOME LEARN COMMUNITY DASHBOARD