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 special shell variables is used to process number of the current shell?
Options
A. $!
B. $$
C. $0
D. $*
E. None of the above
Correct Answer
$$
Unix problems
Search Results
1. Which of the following command is used to count just the number of lines contained in a file?
Options
A. wc -l
B. wc -c
C. wc -w
D. wc -r
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: wc -l
2. Which of are following internal commands is used in mail to forward mail to user in user-list?
Options
A. r user-list
B. m user-list
C. d user-list
D. e user-list
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: m user-list
3. Which of the following keys is used to delete the character beneath the cursor?
Options
A. x
B. X
C. dd
D. D
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: x
4. Which of the following command is used to go to home directory?
Options
A. cd..
B. cd/
C. cd
D. cd HOME.
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: cd
5. Which option is used with cmp command to give a detailed list of the byte number and the differing bytes in octal for each character that differs in both the files?
Options
A. -l
B. -d
C. -r
D. -b
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: -l
6. Which of the following signs is used to back up over typing errors in vi?
Options
A. @
B. #
C. $
D. !
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: #
7. Which command is used to move all files to the bin sub-directory of the parent directory?
Options
A. mv *.* /bin/
B. mv * /bin/*
C. mv * ../bin
D. mv * ../bin *.*
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: mv * ../bin
8. Which command allows you to view your file 24 lines at a time?
Options
A. more
B. pg
C. cat
D. lp
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: pg
9. You can append to a file instead of overwriting by using the
Options
A. > symbols
B. >> symbols
C. < symbols
D. << symbols
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: >> symbols
10. The UNIX file system stores a data in physical blocks of
Options
A. 1024 bytes
B. 2048 bytes
C. 512 bytes
D. 256 bytes
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: 512 bytes
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