LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-30-2012, 12:04 AM   #1
suboss87
Member
 
Registered: Dec 2010
Posts: 31

Rep: Reputation: 0
Question Input and output redirection


In the below statement I don't know clearly how it works, I request please anyone let me explain the concept how it works...

########################################################

Quote:
cat > /etc/sysctl.conf << EOF

# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
 
Old 08-30-2012, 12:09 AM   #2
SIG_SEGV
Member
 
Registered: Jul 2012
Location: Banglore, INDIA
Distribution: Fedora-Core
Posts: 70

Rep: Reputation: 11
I hope this single page explains better than me....http://linuxcommand.org/wss0030.php
 
1 members found this post helpful.
Old 08-30-2012, 01:56 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
The above link is pretty clear ; in your example, you're missing the terminating EOF
 
1 members found this post helpful.
Old 08-30-2012, 05:06 AM   #4
suboss87
Member
 
Registered: Dec 2010
Posts: 31

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by chrism01 View Post
The above link is pretty clear ; in your example, you're missing the terminating EOF
Hi Chris,
You are right, I was in confusion..Now its cleared.

Regards,
Subash
 
  


Reply


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
LXer: Exercise #9: Output/Input Redirection With awk LXer Syndicated Linux News 0 02-22-2011 01:41 AM
Live Boot redirection input/output errors Rush_898 Linux - General 1 02-29-2008 02:38 PM
help with input output redirection Hard_Working_ Programming 2 05-07-2007 12:11 PM
question about input output redirection in c haydari Programming 3 04-16-2007 08:52 AM
Output & input redirection serotonincy Programming 3 04-12-2004 09:28 AM


All times are GMT -5. The time now is 05:18 AM.

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