find . -type l says missing argument

Posted by Sebi on Ask Ubuntu See other posts from Ask Ubuntu or by Sebi
Published on 2012-05-31T09:20:34Z Indexed on 2012/05/31 10:50 UTC
Read the original article Hit count: 709

Filed under:
|
|
|

I want to find all symbolic links in the current directory and below. Therefore, I used:

find . -type l

Running that clears the screen showing "Pattern not found (press RETURN)" at the bottom of the screen. After pressing return, I get:

find: missing argument to `-type'

Here some system details:

  • Ubuntu 10.04 LTS 64Bit
  • zsh 4.3.10 (x86_64-unknown-linux-gnu)
  • happens also in Screen version 4.00.03jw4 (FAU) 2-May-06
  • find (GNU findutils) 4.4.2

So how do I search for symbolic links so that I can grep in their names?

© Ask Ubuntu or respective owner

Related posts about shell

Related posts about symbolic-link