Files
workout/answers/Unix.md
Antranig Vartanian a2d0d3f216 init
2023-03-14 16:34:51 +04:00

18 lines
289 B
Markdown

# Unix Answers
## Single commands
1. `find . -name '*.txt'`
2. `touch empty`
3. `ls -l empty`
4. `id`
5. `date`
## Piping commands together
1. `find . -name '*.txt' > /tmp/txtfiles`
2. `echo 'hello there!' >> empty`
3. `vim empty`
4. `cat empty`
5. `grep -n lo empty`
6. `date | vim -`