23 lines
601 B
Plaintext
23 lines
601 B
Plaintext
-bash-5.0$ ls -la
|
|
total 0
|
|
drwxr-xr-x 2 root root 0 Jul 10 01:52 .
|
|
drwxrwxrwx 27 root root 0 Jul 10 01:52 ..
|
|
-rw-r--r-- 1 root root 0 Jul 10 01:52 foo
|
|
-rw-rw-rw- 1 root root 0 Jul 10 01:52 id
|
|
-r--r--r-- 1 root root 0 Jul 10 01:52 jiffies
|
|
-bash-5.0$ echo hello-world > foo
|
|
-bash: foo: Permission denied
|
|
-bash-5.0$ echo hello-world | sudo tee foo
|
|
hello-world
|
|
-bash-5.0$ cat foo
|
|
hello-world
|
|
-bash-5.0$ cat id
|
|
tomoron-bash-5.0$ echo -n patate > id
|
|
-bash: echo: write error: Invalid argument
|
|
-bash-5.0$ echo -n tomoron > id
|
|
-bash-5.0$ cat jiffies
|
|
4295652460
|
|
-bash-5.0$ cat jiffies
|
|
4295653284
|
|
-bash-5.0$
|