answersLogoWhite

0

#!/bin/sh

echo "6.0221415 * 10²³"

#!/bin/sh

echo "6.0221415 * 10 ^ 23"

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 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.


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.


Write a shell script to count the number of times is appears in a given text file?

You don't need a shell script to do this; use the 'grep' command with the '-c' option to count the number of occurrences of some pattern.


What is the command to execute a shell script?

If the shell script is readable and executable then to execute it just type the name of the shell script file. Otherwise, you can explicity call a shell interpreter to run the file as a shell script, i.e., ksh myfile


Write a shell script to Print a table of any number?

Improve $vi multable.sh echo "enter the value of n:" read n i=1 for((i=1;i<=10;i++)) do echo " $n * $i = `expr $n \* $i`" done


Can you execute a shell script if you do not have read permission for the file containing the script?

No, the shell needs both execute and read permissions to run the script.


Write a shell script that counts a number of unique word contained in the alphabetical order line by line?

use python, shell is stupid


Write a shell script to show that user is logged in or not?

You don't need a shell script for that; use either 'whoami' or 'id'


Parse log files-shell script?

There are following shell scripts available at the below mentioned url -1. Shell Script for Log4j Log Analysis and exception reporting2. Log Monitoring Shell Script - email upon errorsHope that's what you are looking for.


Shell script to reverse rows and columns of a matrix?

awk 'BEGIN {FS=OFS=":"} {temp=$1; $1=$2; $2=temp} {print}' File1.txt


Write a program in shell script to display odd number from 0 to 100?

seq 1 2 99