answersLogoWhite

0

In unix echo prints

Updated: 12/20/2022
User Avatar

Jinkakiran

Lvl 1
14y ago

Best Answer

Echo repeats whatever you put on the command line.

echo This is a test

will echo to the screen:

This is a test

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In unix echo prints
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference between echo and ' ' in unix?

Echo is a program. '' is not a program. '' does not perform any action. Echo returns what you type. '' does not.


How do you redirect a displayed line used by echo command to a file in UNIX?

echo "This is my text" > myfile.txt


What is the Unix command to display your login name on the screen?

There are many ways to do this: whoami id echo $USER echo $LOGNAME


What is echo cat in Linux?

Any word typed in a terminal after echo is printed to the screen. Therefore, echo cat simply prints cat.


Write a unix program to print print a pattern?

echo 'print a pattern'


What command prints text to the screen in Linux?

echo "This is my text."


What is the command echo in unix mean?

it is a command in unix and unix like operating systems that places a string on the computer terminal.It is typically used in shell scripts and bath files screen or a file.


What is esac for UNIX?

'esac' is the end identifier for the 'case' selection statement. For example, case $i in Y|y) echo said yes ;; N|n) echo said no ;; *) echo $i is a bad answer esac


Unix program for adding of two numbers?

$vi sum.sh echo "enter the 1st no." read num1 echo "enter the 2nd no." read num2 sum= 'expr $num1 + $num2' echo "sum of the numbers is $sum"


Program for finding the greatest of three numbers in unix?

echo "enter the 3 numbers" read a b c if [ $a -gt $b ]&&[ $a -gt $c ] then echo "$a is big" elif [ $b -gt $c] then echo "$b is big" else echo "$c is big" fi


Write a program to calculate the sum of two numbers in unix?

$vi sum.sh echo "enter the 1st no." read num1 echo "enter the 2nd no." read num2 sum= 'expr $num1 + $num2' echo "sum of the numbers is $sum"


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