Look at this example:

$ ls -l /home/kossak/.asdf/shims/gettext
-rw-rw-r-- 1 kossak kossak 0 Feb  6 13:51 /home/kossak/.asdf/shims/gettext
$ find ~/.asdf/shims -name 'gettext' -or -name 'gettext.sh'
$ find ~/.asdf/shims -name 'gettext' -or -name 'gettext.sh' -delete
$ find ~/.asdf/shims -name 'gettext' -or -name 'gettext.sh'

Why gettext file is not being deleted?

I'm using:

$ find --version
find (GNU findutils) 4.7.0-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD) CBO(level=2)

$ fish --version
fish, version 2.7.1

$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description:    Linux Mint 18.3 Sylvia
Release:        18.3
Codename:       sylvia

marked as duplicate by ilkkachu, Mr Shunz, Stephen Kitt linux Feb 6 at 13:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.