71
Which of the following commands is used to get directory one level up?
A)
cd
B)
cd ..
C)
cd/
D)
chdir
E)
None of the above
Answer & Solution
Answer: Option
B
72
Which of the following commands is used to count the total number of lines, words, and characters contained in a file.
A)
count p
B)
wc
C)
wcount
D)
countw
E)
None of the above
Answer & Solution
Answer: Option
B
73
Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories?
A)
rm *
B)
rm -r *
C)
rm all
D)
rm *.*
E)
None of the above
Answer & Solution
Answer: Option
B
74
Which of the following commands is used to change the working directory?
A)
cd
B)
changedir
C)
chdir
D)
cdir
E)
None of the above
Answer & Solution
Answer: Option
A
75
Which of the following commands is used to view your file 24 lines at a time?
A)
pg
B)
cat
C)
lp
D)
/p
E)
None of the above
Answer & Solution
Answer: Option
A
76
Which shell's wild-cards is used to match a single character?
A)
*
B)
?
C)
[ijk]
D)
[!ijk]
E)
None of the above
Answer & Solution
Answer: Option
B
77
In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.
A)
.exrc
B)
.profile
C)
lastlogin
D)
.mbox
E)
None of the above
Answer & Solution
Answer: Option
B
78
Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory?
A)
copy wb ../misc collect ../misc mon ../misc
B)
cp wb collect mon ../misc
C)
copy wb collect mon /misc
D)
tar wb collect mon /misc
E)
None of the above
Answer & Solution
Answer: Option
B
79
The command chmod 761 note is equivalent to
A)
chmod 167 note
B)
chmod u=rwx, g=rw, o=x note
C)
chmo a =761 note
D)
chmod 4=7, g=6,0 =1 note
E)
None of the above
Answer & Solution
Answer: Option
B
80
The commonly used UNIX commands like date, ls, cat, etc. are stored in
A)
/dev directory
B)
/bin and /usr/bin directories
C)
/tmp directory
D)
/unix directory
E)
None of the above
Answer & Solution
Answer: Option
B