Question: I am entirely new to Linux as I just installed the dual boot of Windows 10 and Fedora. And the problem I ran into is that in the network setting, there is no option for WiFi? I did intensive Google search and yield no good result. None of the installing packages from the terminal seemed to work... Maybe I should switch to a different distro?

image after running `lspci`: [image](http://s8.postimg.org/c75gufhud/IMG_20151204_114038738.jpg)

Answer: 
The command you are looking for is `xargs`. Typically you would use it like this:

```
find . -name src -print0 | xargs -I{} -0 echo {}

```

or for your explicit question:

```
find . -name src -print0 | xargs -I{} -0 cd {}

```
What you can do is declare shell function , and pass each result of find to a while loop, which will call that function per directory.

```
#!/bin/bash
function f 
{

  echo "THIS IS " $(pwd)
  ls
}

find . -maxdepth 1 -type d -name "bin" -printf "%P\n" | while read DIRNAME;
do

  cd $DIRNAME
  f
done

```

Here's a sample run:

```
$ ./findAndFunction.sh                                                                               
THIS IS  /home/xieerqi/bin
autostart-script.sh  c  java  perl  python  README.md  sergrep  shell

```