operating systems Online Quiz - 68
Description: operating systems Online Quiz - 68 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: operating systems |
A user types history command and gets the following output
141 cd .tcs
142 ll tcs.lst
143 pwd
144 vi tcs.lst
145 ll -lrt | awk '{ print $NF }'
146 echo "Test"
147 ps -ef | grep lsnr
148 grep a *
149 ls
150 echo $PWD
Refering to the scenario above, which one of the following is not a method for recovering the pwd command
"A user types history command and gets the following output 141 cd .tcs 142 ll tcs.lst 143 pwd 144 vi tcs.lst 145 ll -lrt | awk '{ print $NF }' 146 echo ""Test"" 147 ps -ef | grep lsnr 148 grep a * 149 ls 150 echo $PWD Refering to the scenario above, which one of the following is not a method for recovering the pwd command"
Consider the script let i=2 while (( i <= ($l - 1) )); do if (( ($l % i ) == 0 )); then print $? break; fi let i=i+1 done What is the program all about and what are the possible outputs
Consider the following case echo * We know that the output will be the list of all the files in current directory or equivalent to ls output. Which of the following command gives the ouput as * for the above script.
#! /bin/ksh for i in 1 2 3 4 ......... 50 # loop from 1 to 50 do let i=i+1 done echo $i What is the output of the above script.
Crown margin mode can be done using which command?
Which key allows to append the script in next line
Command that is used to find text matches from a file?
Command to find out what kind of a Unix system you are on ?
Command to find how long a user is logged in ?
The numeric permission "400" stands for?