answersLogoWhite

0


Best Answer

The output would be 'shell shell' (without the quotes, of course)

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the output of the command 'echo shell shell'?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the purpose of using echo command?

The echo command echoes out any of the command line arguments given to it. It is commonly used in shell scripts to echo what portions of the shell script are doing.


What command do you type in Linux to determine the shell you are using?

echo $SHELL


How do you take a single line of input from the user in a shell script?

In "bash" shell it can be achieved with command "read" #!/bin/bash echo "Hi There, what is your name?" read name echo $name


Why do you use echo command for shell programs?

echo is often used as an easy way of printing text, or displaying the value of a system variable.


How can you append the output of a command to a file?

Use the append I/O redirection operator: >> An example would be: echo "Put this at the end of the file" >> aFile Which takes the output of 'echo' and puts/appends it to the end of the file aFile.


How do you display the values in shell script?

Use the builtin 'echo' or 'print' command followed by the shell variable name, which will substitute the value when printed/displayed.


When the shell finds met a character in the command line what does it do?

The shell interpreter must substitute or convert all metacharacters in the command line before the command parameters are given to a program. Once all metacharacters have been removed and replaced by their equivalents the program is then executed.


What is use of echo command in dos?

The echo command is used to print a statement by default to the screen. example: echo Good Morning output: Good Morning note: quotes are not used and will be displayed in the output if used other examples: echo off/on - turns echo on or off, otherwise commands are visible on the screen. Useful for bat files. @echo off - the @ hides the line it precedes so use this for the first line. echo. - displays a blank line echo text > myfile.txt - writes to target location (myfile.txt), overwiting it if it exists. echo text >> myfile.txt - appends to the target (myfile.txt)


How do you print a line on screen shell script?

That would depend on what shell you're using. Most seem to have a command similar to "echo x" which will print x to the terminal.


What does the batch file command GOTO do?

It jumps to the line after the indicated label. For example, this batch... @ECHO OFF ECHO apple GOTO BANANA ECHO sauce :BANANA ECHO ice cream ... would generate the following output: apple ice cream


What is the Command to display the default shell in unix?

There isn't a concept of a 'default' shell in Unix; you may have a login shell specified by the system administrator for use when you log in. Although it isn't a fool-proof way to find your shell, you could use the command: echo $SHELL or use the 'finger' command to see what your default login shell environment is. You could also 'grep' for your information in the password file because the last field is your login environment shell.


What Windows shell script operator allows you to redirect the output of a command to a text file?

">" redirects all output to a file, overwriting any preexisting content.