All Questions
5 questions
6
votes
3
answers
1k
views
What does \ mean in bash and find?
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:~$ \
&...
2
votes
2
answers
869
views
Difference between GNU find -not and GNU find -prune -o -print
This answer on opening all files in vim except [condition]:
https://unix.stackexchange.com/a/149356/98426
gives an answer similar to this:
find . \( -name '.?*' -prune \) -o -type f -print
(I adapted ...
0
votes
1
answer
352
views
Can anyone help me figure out what this "find" command with curly braces is saying? [duplicate]
I found some old notes where someone suggest I run the following command to set some file permissions:
find /perl/lib/ -type f -exec chmod o+r \{\} \;
Would you happen to know what the \{\} part of ...
3
votes
2
answers
220
views
Is the synopsis section of the man page for the find command wrong?
So, I have been trying to get into the habit of first looking at man pages before starting to google when I forget how to run a certain command.
I was looking at the man page for the find command ...
3
votes
1
answer
852
views
Meaning of the double dash in options [closed]
I've read that all multi-character command options must be preceded by a double dash (--). But many flags for the find command (e.g. -name or -type) are preceded by only one dash. Why is that?