[ Thanks to An Anonymous Reader for
this link. ]
“5. Inverting the match.
Shows the files or directories whose name are not MyCProgram.c
.Since the maxdepth is 1, this will look only under current
directory.“# find -maxdepth 1 -not -iname “MyCProgram.c”
.
./MybashProgram.sh
./create_sample_files.sh
./backup
./Program.c“6. Finding Files by its inode Number.
Every file has an unique inode number, using that we can identify
that file. Create two files with similar name. i.e one file with a
space at the end.“# touch “test-file-name”
# touch “test-file-name “
[Note: There is a space at the end]“# ls -1 test*
test-file-name
test-file-name”