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 is used to change the working directory?
Options
A. cd
B. changedir
C. chdir
D. cdir
E. None of the above
Correct Answer
cd
Unix problems
Search Results
1. 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
2. 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
3. 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: ?
4. 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
5. 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
6. Which command is used to change directory to the name beginning with a 'p'?
Options
A. cd p
B. cd p?
C. cd p*
D. cd [p]
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: cd p*
7. In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.
Options
A. .exrc
B. .profile
C. lastlogin
D. .mbox
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: .profile
8. The chmod ugo+rw note command can be represented in octal notation as
Options
A. chmod 555 note
B. chmod 666 note
C. chmod 444 note
D. chmod 333 note
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: chmod 666 note
9. Which of the following commands is used to absolutely assign all permissions to the owner, read and write permissions to the group and only executable permission to the others of the file note?
Options
A. chmod 761 note
B. chmod 671 note
C. chmod 167 note
D. chmod 4=rwx, g=rw note
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: chmod 761 note
10. If a file has read and write permissions for the owner, then the octal representation of the permissions will be
Options
A. 1
B. 6
C. 5
D. 3
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: 6
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