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
‣
Linux
Comments
Question
What command is used to count the number of files in the current directory by using pipes?
Options
A. ls | ws - c
B. ls | wc - w
C. ls | wc - l
D. ls | wc
E. None of the above
Correct Answer
ls | wc - l
Linux problems
Search Results
1. What command is used to remove a file?
Options
A. del
B. mv
C. rm
D. remove
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: rm
2. Which of the following tool is used to partition your hard drive?
Options
A. mkfs
B. fdisk
C. fsck
D. mount
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: fdisk
3. Which of the following is not a filter command?
Options
A. sort
B. wc
C. grep
D. cat
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: cat
4. The location for subdirectories for local programs and executables for user and administrative commands, is:
Options
A. /usr
B. /tmp
C. /opt
D. /mnt
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: /usr
5. What command is used to query for a specific package with RPM?
Options
A. rpm -q
B. rpm -a
C. rpm -d
D. rpm -1
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: rpm -q
6. What command is used with vi editor to move the cursor to the left?
Options
A. h
B. k
C. j
D. i
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: h
7. Which daemon is used for the Apache server?
Options
A. apached
B. httpd
C. html
D. shttp
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: httpd
8. The command chmod 761 letter is equivalent to
Options
A. chmod 4=7, g = 6, o = 1 letter
B. chmod a = 761 letter
C. chmod u = rwx, g = rw, o = x letter
D. chmod 167 letter
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: chmod u = rwx, g = rw, o = x letter
9. What command is used to print a file?
Options
A. lp
B. pg
C. prn
D. print
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: lp
10. What command is used to list the jobs currently in print queues?
Options
A. lpq
B. lpr
C. lprm
D. lpc
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: lpq
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