Search
.Management Sciences
Category: Basic of linux unix
Which command is used to list out all the hidden files along with the other files ?
0
A. ls -l
B. ls -x
C. ls -F
D. ls -a
Which of the following commands is used to change the working directory ?
A. cd
B. changedir
C. chdir
D. cdir
What command is used to count just the number of characters in a file ?
A. wc – r
B. wc – w
C. wc – c
D. wc – 1
What command is used to sort the lines of data in a file in alphabetical order ?
A. sort – r
B. st
C. sh
D. sort
Which command is used to count just the number of characters in a file?
A. wc – 1
B. wc -c
C. wc -w
D. wc -r
Which of the following files contains information related to password aging ?
A. Shadow
B. password
C. profile
D. All the three
Which command is used to display all the lines with the string ‘sales’ from the file empl.lst ?
A. cut sales empl.lst
B. /sales > empl.lst
C. grep sales empl.lst
D. cat | /sales > empl.lst
In which directory can you store system user default files used for creating user directories ?
A. /usr/tmp
B. /etc/default
C. /etc/skel
D. /etc/users
Recent Comments