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 command is used to remove a directory?
Options
A. rd
B. rmdir
C. dldir
D. rdir
E. None of the above
Correct Answer
rmdir
Unix problems
Search Results
1. Which command is used to terminate a process?
Options
A. shutdown
B. haltsys
C. cancel
D. kill
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: kill
2. Which of the following keys is used to move the cursor to the end of the paragraph.
Options
A. }
B. {
C. |
D. $
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: }
3. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use
Options
A. tty ^c
B. stty intr \^c
C. stty echoe
D. stty echo \^a
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: stty intr \^c
4. Which command is used to make all files and sub-directories in the directory (progs) executable by all users?
Options
A. chmod -R a+x progs
B. chmod -R 222 progs
C. chmod -1 a+x progs
D. chmod -x a+x progs
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: chmod -R a+x progs
5. Which command will be used with vi editor to insert text to left of cursor?
Options
A. s
B. S
C. a
D. i
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: i
6. Which command is used to sort the lines of data in a file in reverse order
Options
A. sort
B. sh
C. st
D. sort -r
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: sort -r
7. Which symbol is used to separate more than one command in the same command line?
Options
A. $
B. #
C. :
D. ;
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: ;
8. The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is
Options
A. tee
B. tr
C. sort
D. grep
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: tee
Explanation:
The tee command reads standard input, then writes its content to standard output and simultaneously copies it into the specified file(s) or variables.
9. Which of the following files will displayed by this command cat *ch*
Options
A. patch
B. catch
C. .ch
D. All of the above
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: All of the above
10. Which of the following keys is used to replace a single character with new text?
Options
A. S
B. s
C. r
D. C
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: s
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