Question
Find the average number of TV sold by P, R and
S. Read the following instruction carefully and answer the questions given below: The table given below shows the number of TV and Refrigerators sold by five different shopkeepers in the month of July.Solution
Required average = (100 + 75 + 80)/3 = 255/3 = 85
Which command is used to search for a pattern in files?
Which command is used to find the number of lines, words, and characters in a file?
Which command is used to combine the contents of multiple files?
Which construct allows embedding a block of text in shell scripts as input?
In shell scripting, which operator is used for string comparison?
Which command is used to make a shell script executable?
Which symbol is used in shell scripting to reference a positional parameter, e.g., the first argument passed to a script?
In a POSIX shell script, which construct correctly tests whether variable x is an empty string?
In shell scripting, which symbol represents all files in the current directory?
In bash, what does trap 'echo Exit' EXIT do?