Basic idea of stream in software engineering implies existence of a data source and some destination entity to which the stream should output processed data. Simple bash example below should demonstrate how to get a list of all files with .js
extension in a current working directory:
ls -la | grep ".js$"