Skip to main content

Linux Redirection & Pipes

Features:

1. Ability to control input and output

Input redirection '<':

1. cat ':

1. cat 123.txt > onetwothree.txt

Note: Default nature is to:

1. Clobber the target file

2. Populate with information from input stream

Append redirection '>>':

1. cat 123.txt >> numbers.txt - creates 'numbers.txt' if it doesn't exist, or appends if it does

2. cat 456.txt >> numbers.txt

Pipes '|':

Features: Connects the output stream of one command to the input stream of a subsequent command

1. cat 123.txt | sort

2. cat 456.txt 123.txt | sort

3. cat 456.txt 123.txt | sort | grep 3

Comments

Popular posts from this blog

Freenom ICANN registrar accreditation suspended for cybersquatting

OpenTLD, its registrar business, has been told it cannot accept new registrations or inbound transfers from July 8 to October 6 or until it provides ICANN with a full list of the names it squatted. I believe it’s the first time ICANN has suspended a registrar for this reason. ICANN has found that OpenTLD has engaged in a pattern and practice of trafficking in or use of domain names identical or confusingly similar to a trademark or service mark of a third party in which the Registered Name Holder has no rights or legitimate interest   To avoid termination, it has to provide ICANN with a list of all of its trademark infringing names, agree to transfer them to the mark owners or delete them, and bunch of other stuff. Source Letter

Will 5G cause a Digital divide in society ?

How 5G make huge difference in future and its negative impact on you.