Unix File Operation Commands
Common Unix commands for file and directory operations: ls, find, grep, awk, sed, and tar with examples and usage notes.
Common Unix commands for file and directory operations: ls, find, grep, awk, sed, and tar with examples and usage notes.
| Command | Description | Example |
|---|---|---|
| ls | List directory contents | ls -la /home |
| find | Search for files in directory hierarchy | find . -name "*.php" |
| grep | Search text using patterns | grep -r "function" src/ |
| awk | Pattern scanning and processing language | awk '{print $1}' file.txt |
| sed | Stream editor for filtering and transforming text | sed 's/old/new/g' file.txt |
| tar | Archive files | tar -czf archive.tar.gz folder/ |
The static files are identical to what the API returns, but with no rate limit and no server round trip. Use the API when you want a query and a content type; use the files when you want to cache one document.
curl "https://yjtoon.com/api/dataset/file-operations?format=toon"
const res = await fetch( "https://yjtoon.com/static-data/dataset/file-operations.toon" ); const toon = await res.text();
Rate limit: 120 requests per minute per IP, no key and no signup. API reference →