Closed Alicia-bites closed 2 years ago
amarchan@e1r4p3:~/Documents/test_env$ echo one > file1 amarchan@e1r4p3:~/Documents/test_env$ echo two > file2 amarchan@e1r4p3:~/Documents/test_env$ echo ONEBIS >> file1 > file2 > file1 amarchan@e1r4p3:~/Documents/test_env$ cat file1 ONEBIS amarchan@e1r4p3:~/Documents/test_env$ cat file2
$: echo one > file1 $: echo two > file2 $: echo ONEBIS >> file1 > file2 > file1 Error: Permission denied: file1 $: cat file1 one $: cat file2 two
ONEBIS should be in file1 and NOTHING should be in file2.
BASH
MINISHELL
ONEBIS should be in file1 and NOTHING should be in file2.