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 get directory one level up?
Options
A. cd
B. cd ..
C. cd/
D. chdir
E. None of the above
Correct Answer
cd ..
Unix problems
Search Results
1. Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file?
Options
A. ls -F -x
B. ls -l
C. ls ~ x
D. Ip
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: ls -F -x
2. The commonly used UNIX commands like date, ls, cat, etc. are stored in
Options
A. /dev directory
B. /bin and /usr/bin directories
C. /tmp directory
D. /unix directory
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: /bin and /usr/bin directories
3. Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory?
Options
A. copy wb ../misc collect ../misc mon ../misc
B. cp wb collect mon ../misc
C. copy wb collect mon /misc
D. tar wb collect mon /misc
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: cp wb collect mon ../misc
4. Which of the following is not a filter?
Options
A. cat
B. grep
C. wc
D. sort
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: None of the above
5. Which command will be used with vi editor to replace text from cursor to right?
Options
A. r
B. R
C. s
D. S
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: R
6. Which set option is used with vi editor to display line numbers on screen?
Options
A. nm
B. nu
C. ic
D. li
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: nu
7. Which command is used to list all the files with extension .lst?
Options
A. ls -l *.lst
B. ls lst*
C. ls *.*
D. ls *[lst]
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: ls -l *.lst
8. Which is the earliest and most widely used shell that came with the UNIX system?
Options
A. C shell
B. Korn shell
C. Bourne shell
D. Smith shell
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: Bourne shell
9. Which command is used with vi editor to search a pattern in the forward direction?
Options
A. /
B. ?
C. //
D. ??
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: /
10. Which of the following commands can be used to get information about all users who are currently logged into the system?
Options
A. which
B. who
C. who am i
D. 1 /u
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: who
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