LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2016, 05:18 AM   #1
anindyameister
Member
 
Registered: Oct 2012
Posts: 47

Rep: Reputation: Disabled
Need explanation for multiple I/O redirection operators.


Ok, so I'm obviously a shell newbie, so please forgive me if this is a stupid question. As it goes, I've understood the basic I/O redirection but need some explanation about 2 or 3 operators grouped together that I've seen people use. I'll try to explain my level of understanding this way-

1. ">" = Redirect Output
2. "<" = Redirect Input
3. "<<" = Here document used in conjunction with a label
4. ">>" = ???
5. "<<<" = ???
6. ">>>" = ???

Please understand my ignorance and explain the situation to me.
 
Old 01-18-2016, 05:34 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,442

Rep: Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774
have you checked man bash already (look for redirection)
http://www.tldp.org/LDP/abs/html/io-redirection.html
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html
 
Old 01-18-2016, 05:44 AM   #3
anindyameister
Member
 
Registered: Oct 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
So I figured out the ">>" operator to be "append output", but the "<<<" and ">>>" are not mentioned. I'll keep reading. Thanks.
 
Old 01-18-2016, 06:26 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,442

Rep: Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774
<<< is a here string (see man page)
>>> does not exist
 
  


Reply

Tags
bash, redirection


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the difference between redirection operators and pipes in linux ? stetas Linux - Newbie 2 12-05-2013 02:37 PM
Bash syntax help: WHILE loop with multiple comparison operators dz-015 Linux - Software 4 04-21-2009 11:13 AM
Multiple field sort (quick explanation) bioinformatics_guy Linux - Newbie 3 01-12-2009 09:09 AM
Redirection operators ( > , >> ) in linux aravinda78 Linux - General 2 12-12-2008 08:30 AM
need explanation of multiple user/group Q's a2tech Linux - Newbie 1 07-27-2005 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration