Open main menu

CDOT Wiki β

Changes

OPS235 Lab 3 - CentOS7

9 bytes added, 08:28, 8 April 2015
no edit summary
|- valign="top"
|
{{Admon/tip|Bash Shell Scripting Tips:|<br><ul><li>'''The Here Document'''<br><br>A neat little trick involving a special type of redirection of stdin ( &lt;&lt; ) that allows input to be redirected to a command from within the command. A character (like +) is used to mark the boundary of stdin. It is important that the ending boundary only contains a line with that matching character (like +); otherwise the stdin will continue to be read! This command is a convenience way to display multiple lines on that screen, but this command can be used with any Linux command that accept stdin.<br><br><u>Examples (try in a shell script)</u><br><br></li><li>'''Using sed to Manipulate Text'''<br><br>x<br><br></li><li>'''<u>Examples (try in a shell script)</u>'''<br><br></li></ul>}}
|}
13,420
edits