in Education by
write a shell script to generate all combination of 1 2 and 3 Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Answer: Write a program to generate all combinations of 1, 2 and 3 using for loops. Explanation: # SS26 # Shell script to generate all combinations of 1 2 3 # Usage: SS26 clear for in 1 2 3 do for j in 1 2 3 do for k in 1 2 3 do echo i j $k done done done

Related questions

0 votes
    write a shell script to generate all combination of 1 2 and 3 Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
0 votes
    write a shell script to obtain any numbers of argument and print them in the reverse order? Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    Write a shell seript that determines the period for which a specified user is working on the system. Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    Write a program to generate the following series: 11,22,33,44……………….upto 10 terms. (Note:- it’s is based on Qbasic64) Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Write a program to generate first 20 terms of Fibonacci series and store them in single dimension array. Display ... from the array Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    In shell script, How can I set 0 as default value to parameter. param2=0 ${2:-0} and ${2 ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    In shell script, How can I set 0 as default value to parameter. param2=0 ${2:-0} and ${2 ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    In shell script, How can I set 0 as default value to parameter. param2=0 ${2:-0} and ${2 ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 23, 2022 in Education by JackTerrance
0 votes
    Write a script in python to check whether your age is “major” or “minor” Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Windows will automatically generate a domain-wide __________ security certificate for any user who encrypts a file for the first time. Select the correct answer from above options...
asked Dec 29, 2021 in Education by JackTerrance
0 votes
    numbers. 4. (a) When running a particular program with N memory accesses, a computer with a cache and paged ... the system ? cribe Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    I want to run a python script from a shell script. I have been able to run it from the "command ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 26, 2022 in Education by JackTerrance
...