answersLogoWhite

0

echo 'print a pattern'

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Program to print the greatest number in unix?

There is no such thing as 'the greatest number'. Here is a program in unix to prove it: echo 'for (i=1; i>=0; i= i*2) print i,"\n";' | bc if you want to actually see the output use it this way: echo 'for (i=1; i>=0; i= i*2) print i,"\n";' | bc | less -S


Define the term cat in unix?

'cat' is short for concatenation; it is a Unix utility program to print the contents of 1 or more files on the standard output. It is similar to the 'type' command in Windows.


Write a shell program in unix which dispay a following pattern 1 01 101 0101 10101?

#!/usr/bin/bash echo 1 01 101 0101 10101


What are two traditional UNIX commands used to send print jobs to a printer?

The lp and lpr commands are the traditional commands used to print jobs on UNIX.


Is the kernel in a unix os a program?

The kernel is the central control program of Unix and the majority of other operating systems.


Is Unix is a type of utility program?

No, Unix is an operating system program. A utility program cannot run by itself; it runs under an operating system.


Unix script to calculate average of n numbers given by user?

You really don't want to do this in a shell script - scripting languages in Unix typically do not handle or work with floating values, only integers. A better way would be to write a program to do this that works under Unix, such as a 'C" program. See the related link for an example


How can you debug a C program in Unix?

You can debug C programs using gdb on Unix.


How do you write a c program for diff command that we use in unix?

Too difficult to answer here. I would find the source code and use that (if you really had to). Might require a 'port' to another operating system if it wasn't Unix based.


What is portablity in terms of unix?

Unix is inherently portable; this means that a program, script, or process may be moved from Unix system to Unix system with little effort or change (hence - portable).


How do you run a Unix program?

By typing its name into the shell


Definition of a program in UNIX?

Something what the computer executes.