answersLogoWhite

0

This can be done any number of ways in the Unix operating system. Using 'sed', you can use the address range to limit what you are printing, such as:

sed -e '1,5p' < filename

To just list lines 1 - 5 of a file, or the AWK or Perl scripting languages to do the same type of thing.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What command in a script would print on the screen the first variable past to that script?

Well the question is not particularly specific. I assume that we are talking about shell and in this example I would refer to "bash" shell. #!/bin/bash echo $1 this simple script will print first parameter passed to it.


How do youdisplay the particular lines in unix with awk command?

In AWK, once you have a successful selector then the action could be to print the resulting line (if thats what you wish to do). For example, /a test/ { print ; } would match (and print) all lines containing "a test"


What actors and actresses appeared in How to Draw Comics from Script to Print - 2004?

The cast of How to Draw Comics from Script to Print - 2004 includes: Danny Fingeroth as himself


Is it illegal to print a script off the inter net?

no


Where can you print the acting script for Camp Rock?

camprock.com/scriptfinder.org


What does sys.argv do on python?

sys.argv is a way to access command line arguments in Python. sys.argv is an array of all the command line parameters, where the first value is the name of the file being run. For example, let's say you have a python script named example.py that looks like this: import sys print(sys.argv) This script will simply print the command line parameters in an array. If, for example, you run the script from a command line as python example.py param1 param2 the output will be ['example.py', 'param1', 'param2']


What is an example of Japanese woodblock print characteristic that Edgar Degas incorporated in 'Four Dancers'?

The use of strong diagonal lines


Every page of the book had exactly 50 lines of print on it the entrie book had 21 300 lines of print in it How many pages did the book have together?

If every page of the book had exactly 50 lines of print on it, and the entire book had 21,300 lines of print in it, then there are 426 pages altogether.


What is opposite of cursive script?

The opposite of cursive script is print or block lettering, where each letter is formed separately and not connected to neighboring letters.


Does the script shack send you real and full scripts?

If you're looking for copies of scripts used on the sets of movies that were handled by eitehr actors or crew, then no that is not what script shack sends you. All they do is print out the script, bind it, and send it to you.


What is an example of an indent code?

An example of an indent code can be seen in programming languages like Python, where indentation is used to define the structure of the code. For instance: def greet(name): if name: print(f&quot;Hello, {name}!&quot;) else: print(&quot;Hello, World!&quot;) In this example, the lines inside the if statement are indented to indicate that they belong to that block of code.


Can a print also be called an impression?

Under certain circumstances yes, but the two words are not always exchangeable. Example of a valid exchange. The lion's foot made a print in the wet mud The lion's foot made an impression in the wet mud. Example of an invalid exchange. He made a great impression on her .... (OK) He made a great print on her ......... (Not OK)