init
This commit is contained in:
18
answers/Unix.md
Normal file
18
answers/Unix.md
Normal file
@ -0,0 +1,18 @@
|
||||
# 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 -`
|
||||
Reference in New Issue
Block a user