CuriousTab
Search
CuriousTab
Home
Aptitude
Computer
C Programming
C# Programming
C++ Programming
Database
Java Programming
Networking
Engineering
Biochemical Engineering
Biochemistry
Biotechnology
Chemical Engineering
Civil Engineering
Computer Science
Digital Electronics
Electrical Engineering
Electronics
Electronics and Communication Engineering
Mechanical Engineering
Microbiology
Technical Drawing
GK
Current Affairs
General Knowledge
Reasoning
Data Interpretation
Logical Reasoning
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Exams
AIEEE
Bank Exams
CAT
GATE
IIT JEE
TOEFL
Jobs
Analyst
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Discussion
Home
‣
Computer Science
‣
Unix
Comments
Question
Which of the following commands can be used to get information about all users who are currently logged into the system?
Options
A. which
B. who
C. who am i
D. 1 /u
E. None of the above
Correct Answer
who
Unix problems
Search Results
1. Which command is used with vi editor to search a pattern in the forward direction?
Options
A. /
B. ?
C. //
D. ??
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: /
2. Which is the earliest and most widely used shell that came with the UNIX system?
Options
A. C shell
B. Korn shell
C. Bourne shell
D. Smith shell
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: Bourne shell
3. Which command is used to list all the files with extension .lst?
Options
A. ls -l *.lst
B. ls lst*
C. ls *.*
D. ls *[lst]
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: ls -l *.lst
4. Which set option is used with vi editor to display line numbers on screen?
Options
A. nm
B. nu
C. ic
D. li
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: nu
5. Which of the following commands is used to get directory one level up?
Options
A. cd
B. cd ..
C. cd/
D. chdir
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: cd ..
6. Which option is used with the chmod command recursively to all files and sub-directories in a directory?
Options
A. -1
B. -i
C. -x
D. -R
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: -R
7. The command to count the number of files in the current directory by using pipes, is
Options
A. ls | wc
B. ls -l | wc -l
C. ls | wc -w
D. ls | ws -c
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: ls | wc -w
8. Which shell's wild-cards is used to match a single character?
Options
A. *
B. ?
C. [ijk]
D. [!ijk]
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: ?
9. Which command is used to list out all the hidden files along with the other files?
Options
A. ls -l
B. ls -x
C. ls -F
D. ls -a
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: ls -a
10. Which of the following files contains information related to password aging?
Options
A. Shadow
B. password
C. profile
D. All the three
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: password
Comments
There are no comments.
Enter a new Comment
Save
More in Computer Science:
Artificial Intelligence
Automation System
Computer Fundamentals
Computer Hardware
Database Systems
Digital Computer Electronics
Disk Operating System (DOS)
Electronic Principles
Language Processors
Linux
Management Information Systems
Networking
Object Oriented Programming Using C++
Operating Systems Concepts
System Analysis and Design
Unix
Windows 2000 Server
Windows NT