Without pipes

I think this scenario doesn’t have real application, but it’s part of an excersice.

We usually use pipes or redirections to pass an output from a command to another. But, there is an option if you can’t use pipes or redirections.

Why do you don’t have pipes or redirections?, actually I don’t know, but just to know.

$ find / -type f -mtime -1 ! -user root -exec ls -lh {} \;

It’s possible to use -exec to run commands using the command’s output.

0 comentarios en “Without pipesAñade los tuyos →

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *