I understand that a Here Document will redirect all of the lines between the beginning marker for the here document and the ending marker into the command specified just as if the text were coming from standard input.
I am trying to understand the Here Document with this example:
I have attempted to make this a Here Document:
When I execute the menu file, I am not able to input a choice. Am I missing something here?
Hey all,
I've been trying to find a document. The document is a list of all supported hardware that Solaris 7 supports. If anyone knows where this can be found thx in advanced. I've tried looking through the docs.sun.com site and can't find what I am after.
It's just a list of hardware... (1 Reply)
I do not know how valid this post is, but here it is.
I was writing a script for testing some development code that I had written. It involved many echo statements to redirect the output into a log file.
Given the large number of echo statements, I took to this solution
cat <<EOF >>... (2 Replies)
Hello,
I want to know the use of the here document with the << operator.
Tried to go through some books but the concept was not clear.
Please can any1 expalin me this with a simple example.
Thanks,
Rahul. (6 Replies)
Plz can somebody give me the shell and perl scripting documents,i need to start the scrpts learning.now i know about the linux commands,but need help in putting the same in the scripting with do,if,while and also using diffrent commands in the scrpipts,pls help.. (3 Replies)
Can we use a here document inside a here document?
Something like this
ssh user@remotehost << REMOTE
sudo vserver vsernamename enter << VSERVER
perform actions on vserver.
VSERVER
REMOTE (6 Replies)
Hi, I am new to Unix. I've started with a book "Unix for Dummies".
Please help, any websites with extensive amount of practice exercises are needed. I need to practice! Also I would appreciate any books that are good for beginners. Thanks to all! (1 Reply)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
<HTML><HEAD><TITLE>Personal Web Page</TITLE></HEAD>
<BODY BGCOLOR="WHITE"><H3>
<CENTER>My Personal Page<HR>... (0 Replies)
I have code like
var="1"
echo << EOF
export `var="2"`
EOF
echo $var
The value of var is printed here is 1 but it should be 2
Any error there?
---------- Post updated at 11:44 AM ---------- Previous update was at 10:33 AM ----------
Also tried
var="1"
echo var << EOF
echo... (1 Reply)
Discussion started by: adisky123
1 Replies
LEARN ABOUT DEBIAN
imon
IMON(1) Linux System Administration IMON(1)NAME
imon - watch ISDN activities
SYNOPSIS
imon [ -q] [-p phonebook]
DESCRIPTION
imon is a ncurses based utility for watching ISDN activity.
OPTIONS -q If this option is given, the facility of terminatig the program by pressing 'Q' is disabled and the signals SIGHUP and SIGINT are
caught. This option is intended for starting imon from within an rc script with redirecting input/output to some otherwise unused
virtual console at boot time.
-p phonebook
is used to supply imon with a phonebook file. The format of a phonebook file is very simple: Every line has two elements separated by
a TAB. The first element is a phone number which can contain wildcards. The second element is a descriptive string. For each active
connection, this string is shown instead the phone number. Pressing 'S' toggles between display of strings and phone numbers. Pressing
'R' rereads the phonebook file in case of changes during program execution.
AUTHOR
Fritz Elfert <fritz@isdn4linux.de>
SEE ALSO ttyI(4), isdnctrl(8), isdninfo(4).
isdn4k-utils-3.25 1999/09/06 IMON(1)