- < infile cat | cat > outfile → bash
./pipex infile cat cat outfile → pipex
- <infile ls -l | wc -l >outfile → bash
./pipex infile "ls -l" "wc -l" outfile → pipex
- <infile grep a | wc -w >outfile → bash
./pipex infile "grep a" "wc -w" outfile → pipex
- <infile tr a b | tr c d > outfile → bash
./pipex infile "tr a b" "tr c d" outfile → pipex
- <infile tr a b | tr o '\n' > outfile → bash
./pipex infile "tr a b" "tr o \n" outfile → pipex
- <infile /bin/ls | wc -l > outfile → bash “ruta absoluta”
./pipex infile "/bin/ls" "wc -l" outfile → pipex “ruta absoluta”
- <infile echo hola mundo | cat > outfile → bash
./pipex infile "echo hola mundo" cat outfile → pipex
- env -i <infile lls | wc > outfile → bash
env -i ./pipex infile "ls" "wc" outfile → pipex “quitar env”
- env -i <infile /bin/ls | wc > outfile → bash
env -i ./pipex infile "/bin/ls" "wc" outfile → pipex “quitar env y usar ruta absoluta”