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 File that contains a set of instructions which are performed when a user logs in, is
Options
A. .exrc
B. .profile
C. .autoexec
D. autoexec.bat
E. None of the above
Correct Answer
.profile
Unix problems
Search Results
1. Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?
Options
A. who | tee user.lst
B. who > user.lst
C. who >> user.lst
D. who < user.lste
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: who | tee user.lst
2. Which of the following commands is not the vi Input mode command?
Options
A. rch
B. R
C. S
D. j
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: j
3. Which command is used to link the files?
Options
A. lk
B. ln
C. cp
D. tar
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: ln
4. Which of the following commands is used to remove files?
Options
A. erase
B. delete
C. rm
D. dm
E. . None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: rm
5. Which command is used with file named 'note' to remove the executable permission from the user and assign read permission to the group and others?
Options
A. chmod u-x, go+r note
B. chmod go+r, u+x note
C. chmod g-x, uo+r note
D. chmod go+x, u-x note
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: chmod u-x, go+r note
6. Which command is used to assign only read permission to all three categories of the file 'note'?
Options
A. chmod go+r note
B. chmod a-rw
C. chmod ugo=r note
D. chmod u+r,g+r,o-x note
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: chmod ugo=r note
7. The octal representation 652 indicates
Options
A. Execute permission for the owner
B. Write permission for others
C. Read and write permission of groups
D. All of the above
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: Write permission for others
8. The command used to remove the directory is;
Options
A. rmdir
B. rd
C. remove
D. rdir
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: rmdir
9. The cat command is used to
Options
A. capture a file
B. display a file
C. print a file
D. copy a file
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: display a file
10. Which of the following shell's wildcards are used to match any number of characters including none?
Options
A. [ijk]
B. [!ijk]
C. ?
D. *
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: *
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