$find --version
find (GNU findutils) 4.8.0
$ find. - printf '%P\n' | sed1d
If it's bash,
shopt-s dotglob; find*
shopt-s dotglob
also expands files and directories that begin with *
in the current directory.If you don't need it, you don't need it.
To remove shopt-udotglob
, use shopt-udotglob
.
You asked the same question on teratail.
This is not recommended by teratail, so please take appropriate action.
Help|teratail
© 2024 OneMinuteCode. All rights reserved.