From 1e505562322cc0a66261fa2d3333ea00417be7c6 Mon Sep 17 00:00:00 2001 From: Adam Olech Date: Thu, 11 Nov 2021 14:30:51 +0100 Subject: Add all files --- extract-data-from-abs-guide/files/file.txt | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 extract-data-from-abs-guide/files/file.txt (limited to 'extract-data-from-abs-guide/files/file.txt') diff --git a/extract-data-from-abs-guide/files/file.txt b/extract-data-from-abs-guide/files/file.txt new file mode 100644 index 0000000..591ae4f --- /dev/null +++ b/extract-data-from-abs-guide/files/file.txt @@ -0,0 +1,51 @@ +# TEMPLATE: if [ {} "$f" ] + -h + file is a symbolic link + + -L + file is a symbolic link + + -S + file is a socket + + -t + file (descriptor) is associated with a terminal device + + -r + file has read permission (for the user running the test) + + -w + file has write permission (for the user running the test) + + -x + file has execute permission (for the user running the test) + + -g + set-group-id (sgid) flag set on file or directory + + -u + set-user-id (suid) flag set on file + + -k + sticky bit set + + -O + you are owner of file + + -G + group-id of file same as yours + + -N + file modified since it was last read + + f1 -nt f2 + file f1 is newer than f2 + + f1 -ot f2 + file f1 is older than f2 + + f1 -ef f2 + files f1 and f2 are hard links to the same file + + ! + "not" -- reverses the sense of the tests above (returns true if condition absent). -- cgit v1.2.1