Skip to content

Commit 95cbe0a

Browse files
author
Vladimir Kotal
committed
add unlink example
1 parent 64b2404 commit 95cbe0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user-access.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
a file. See the example below. \emsl{Unix systems do not have delete-like
254254
operation for a file}, the file is deleted automatically once it is no longer
255255
referenced from a directory structure and the file is not presently open by any
256-
process.
256+
process (see \example{unlink/unlink.c}).
257257

258258
\begin{verbatim}
259259
$ whoami
@@ -263,9 +263,9 @@
263263
$ ls -l janp-dir
264264
total 0
265265
-rw-r--r-- 1 root root 0 Mar 23 12:11 root_wuz_here.txt
266-
$ rm janp-dir/root_wuz_here.txt
266+
$ rm janp-dir/root_wuz_here.txt
267267
rm: janp-dir/root_wuz_here.txt: override protection 644 (yes/no)? yes
268-
$ ls janp-dir/root_wuz_here.txt
268+
$ ls janp-dir/root_wuz_here.txt
269269
janp-dir/root_wuz_here.txt: No such file or directory
270270
\end{verbatim}
271271

0 commit comments

Comments
 (0)