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
The cp command uses:
Options
A. standard input file
B. standard output file
C. both input and output file
D. neither standard input nor standard output file
E. None of the above
Correct Answer
neither standard input nor standard output file
Unix problems
Search Results
1. While working with mail command, which command is used to save mail in a separate file?
Options
A. s
B. r
C. w
D. d
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: s
2. Which command is used to remove a file?
Options
A. remove
B. rm
C. mv
D. del
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: rm
3. Which of the following commands is used to display the directory attributes rather than its contents?
Options
A. ls -l -d
B. ls -l
C. ls -x
D. ls -F
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: ls -l -d
4. Which command is used to display and create files?
Options
A. cat
B. vi
C. ed
D. lyrix
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: cat
5. Which command is used to copy all files having the string chap and any two characters after that to the progs directory?
Options
A. cp chap?? progs
B. cp chap* progs
C. cp chap[12] /progs/*.*
D. cp chap?? /progs/*
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: cp chap?? progs
6. Which of the following is not a communication command.
Options
A. write
B. mesg
C. mail
D. grep
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: grep
7. Which command is used to display the characteristics of a process?
Options
A. pid
B. du
C. ps
D. au
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: ps
8. 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
9. 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
10. 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
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