One Day One Cmd

Place for playing with commands…

Day 25 : pipe

ODOC:pipe(|).A pipe channels the output of one program to the input of another program.Use the vertical bar: | called as \’pipe\’ char.[\'rev\' = reverse the sting]…

ODOC:pipe the output of \’echo\’ into the program \’rev\’.eg:\$echo Happy | rev .Ans: yppaH. i.e.It will do both echo and rev program simultaneously using pipe:-)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: