Software Engineering Mcqs

The special shell variable $* is used________________?

(A) to exit status of ast command executed.

(B) to process number of the current shell

(C) to list the positional parameters

(D) to name the command being executed

Submitted By: Ali Uppal


Submitted By: Ali Uppal


Submitted By: Ali Uppal


Which of the following commands is used to remove files ?

(A) erase

(B) delete

(C) rm

(D) dm

Submitted By: Ali Uppal


Which command is used to assign only read permission to all three categories of the file ‘note’ ?

(A) chmod go+r note

(B) chmod a-rw

(C) chmod ugo=r note

(D) chmod u+r,g+r,o-x note

Submitted By: Ali Uppal


Submitted By: Ali Uppal


Which of the following commands is used to rename a file ?

(A) rename

(B) remove

(C) mv

(D) ren

Submitted By: Ali Uppal


The second set of the three permissions (r-) indicates that______________?

(A) group has read permission only

(B) other has read permission only

(C) owner has read permission only

(D) group has write permission only

Submitted By: Ali Uppal


Submitted By: Ali Uppal


Which command is used to remove a file ?

(A) remove

(B) rm

(C) mv

(D) del

Submitted By: Ali Uppal