Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


in unix echo is used for

Answers were Sorted based on User's Feedback



in unix echo is used for..

Answer / khemnath chauhan

echo command is particularly use for displaying the
statement
echo "statement"
OR
echo statement

Is This Answer Correct ?    44 Yes 5 No

in unix echo is used for..

Answer / tubecharger

In unix, echo is used to display whatever is following it
onto the terminal or screen. Special characters get handled
differently and are processed by the shell with their
special meaning. If special characters are to be displayed
using echo, then they must be preceded by a back-slash or
put in quotes or double quotes or a combination of all of
these depending on what you are trying to do.
For example:
example 1:
echo hello world
displays
hello world

example 2:
echo "Hello there!"
displays
Hello there!
(and here the special character ! is quoted so that it's
special meaning is ignored.)

example 3:
set message = "this is a message."
echo $message
displays
this is a message.

echo on - by itself does not turn on and off echoing of
commands to the terminal. echo on simply types "on" at the
terminal.

echo string >> filename may work on some systems but the
conventional way of doing this is using the cat command:
cat "hello world" > filename

Refer to the man page on csh, bash or sh for more details on
the echo command.

Is This Answer Correct ?    20 Yes 2 No

in unix echo is used for..

Answer / shaishaw

echo is used for
........................
1> Displaying the message
$ echo "xyz"
xyz

2> Displaying the content of the variable
$ x=5
$ echo x=$x;
x=5

Is This Answer Correct ?    14 Yes 0 No

in unix echo is used for..

Answer / rajib mallick

echo command is used for displaying contents of environment
variables, messages and statements as well.

Is This Answer Correct ?    15 Yes 5 No

in unix echo is used for..

Answer / rahul

in unix echo is used to display the text

ex; echo "oracle"

result :oracle

Is This Answer Correct ?    8 Yes 2 No

in unix echo is used for..

Answer / bikas

The echo command is a built-in command of shell.
Its purpose is to output its arguments on to standard output..

Is This Answer Correct ?    4 Yes 0 No

in unix echo is used for..

Answer / sangu

echo is also used to append the data or overwrite the data
for the existing file.

eg1:
echo "string" > filename --- overwrite the data in the
file

eg2:
echo "string" >> filename --- append the string in the
file.

Is This Answer Correct ?    8 Yes 6 No

in unix echo is used for..

Answer / lokesh210

It is just like printf in C language.

Is This Answer Correct ?    0 Yes 1 No

in unix echo is used for..

Answer / satheesh

Used to write text on a screen.........

Is This Answer Correct ?    3 Yes 6 No

in unix echo is used for..

Answer / swetcha

The echo command echoes its arguments

Another important use of the echo command is to toggle
echoing of commands on and off in batch files.

echo on turns on echoing of commands
echo off turns off echoing of commands


Is This Answer Correct ?    6 Yes 19 No

Post New Answer

More Unix Commands Interview Questions

How do you repeat a command in terminal?

0 Answers  


What is the nmap command?

0 Answers  


what is the command to print last 8 lines of any text file.

10 Answers  


Explain iostat, vmstat and netstat.

3 Answers   CTS, Wipro,


which command is used to identify the type of the file?

3 Answers  


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

0 Answers  


why unix commands can be divided into internal and external commands?

3 Answers   Informatica,


How do you find files in Unix?

2 Answers  


How to display no of records in oracle using unix command?

0 Answers  


Which command is used to delete all files in the current directory and all its sub-directories?

0 Answers  


What difference between cmp and diff commands?

0 Answers  


Differentiate cmp command from diff command.

0 Answers  


Categories