I know that \ is an escape character, but when I write \ in bash, I have something like this:
System-Product-Name:~$ \ > So bash waits for some instructions? When I use
System-Product-Name:~$ \ > ls It is working. But when I use
System-Product-Name:~$ cd Wideo \ > ls bash: cd: too many arguments So backslash is working like a pipe | ? I don't think so.
And when I use this command:
find . -name "FILENAME" -exec rm {} \; Why do I need to terminate it? I thought that the command find finds proper files and in exec removes them from the path where it found them. Without that, I have information that -exec doesn't have any arguments, I don't get it. Why I can't just use
find . -name "FILENAME" -exec rm {} ?
I have only that information about exec in man find:
exec Show diagnostic information relating to -exec, -execdir, -ok and -okdir
So why do I need to terminate when I use exec? For example when I use
find . -name "FILENAME" I don't need to terminate.
\mean in bash and find?" – Even in your example withfindthe backslash means much to the shell but nothing tofind, asfinddoes not get it. See what happens whenfinddoes get it.